body {
  background-color: #e6e6e6;
  font-family: "Google Sans", sans-serif;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

@media (min-width: 1440px) {
  .container {
    padding: 0;
    width: 1420px;
  }
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 140px;
}

nav {
  display: flex;
  gap: 30px;
}

.burger-menu {
  display: none;
}

.menu-item {
  font-size: 15px;
  font-weight: 400;
}

.menu-item a {
  text-decoration: none;
  color: #1d1d1f;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.menu-item a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: #563121;
  border-radius: 1px;
  transition: width 0.3s ease;
}

.menu-item a:hover {
  color: #563121;
}

.menu-item a:hover::after {
  width: 100%;
}

.menu-item a.active {
  color: #563121;
}

.menu-item a.active::after {
  width: 100%;
}

.menu-button {
  font-size: 14px;
  font-weight: 400;
}

.menu-button a {
  text-decoration: none;
  color: #563121;
  border: 1px solid #563121;
  padding: 10px 20px;
  border-radius: 99px;
  transition: all 0.3s ease;
}

.menu-button a:hover {
  background-color: #563121;
  color: #fff;
}

.hero {
  margin-top: 40px;
  margin-bottom: 140px;
}

.hero h1 {
  font-size: 46px;
  font-weight: 600;
  color: #1d1d1f;
}

.hero-controls--buttons {
  display: flex;
  gap: 30px;
}

/* ── Hero buttons ── */
.hero-btn {
  display: inline-block;
  text-decoration: none;
  font-size: 18px;
  padding: 10px 60px;
  border: 1px solid #563121;
  border-radius: 99px;
  transition: all 0.3s ease;
  text-align: center;
}

.hero-btn--primary {
  background-color: #563121;
  color: #fff;
}

.hero-btn--primary:hover {
  background-color: #412215;
  border-color: #412215;
}

.hero-btn--outline {
  background-color: transparent;
  color: #563121;
}

.hero-btn--outline:hover {
  background-color: #563121;
  color: #fff;
}

.hero-controls {
  display: flex;
  gap: 140px;
  align-items: center;
}

.hero-controls--quote {
  font-size: 18px;
  color: #1d1d1f;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.hero--img {
  margin-top: 40px;
  height: 380px;
  overflow: hidden;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.4s ease;
}

.hero--img:hover {
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.12);
}

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

section {
  margin-bottom: 140px;
}

.main-top-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.main-tp-left--big {
  height: 520px;
  position: relative;
  padding: 20px;
  padding-top: 40px;
  background-color: #fff;
  box-sizing: border-box;
  border-radius: 20px;
}

.main-tp-left {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.main-tp-left--small {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

.main-tp-left-nav-item {
  font-size: 16px;
}

.main-tp-left-nav-item a {
  text-decoration: none;
  color: #1d1d1f;
}

.main-tp-left-nav-item a:hover {
  color: #000;
}

.main-button {
  position: absolute;
  bottom: 30px;
  left: 20px;
}

.main-button a {
  text-decoration: none;
  color: #563121;
  box-sizing: border-box;
  padding: 10px 20px;
  border: 1px solid #563121;
  border-radius: 40px;
  background-color: #fff;
}

.main-button a:hover {
  background-color: #563121;
}

.main-button a:hover {
  color: #fff;
}

.main-panels-small {
  position: relative;
  padding: 20px;
  padding-top: 40px;
  background-color: #563121;
  border-radius: 20px;
}

.main-panels-small .main-button a {
  border: none;
}

.main-panels-small .main-button a:hover {
  background-color: #412215;
}

.main-panels-small-item a {
  text-decoration: none;
  color: #fff;
}

.main-panels-small-item a:hover {
  color: #ececec;
}

.main-tp-right {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

.main-tp-right--top {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.main-tp-right--big {
  background-color: #fff;
  position: relative;
  border-radius: 20px;
  padding: 20px;
  padding-top: 40px;
}

.main-tp-right--big .main-panels-big-nav-item a {
  color: #1d1d1f;
}

.main-tp-right--big .main-panels-big-nav-item a:hover {
  color: #000;
}

.main-panels-big-nav-item {
  display: flex;
  flex-wrap: wrap;
  column-gap: 14px;
}

.main-panels-big-nav-item a {
  text-decoration: none;
  color: #1d1d1f;
}

.main-panels-big-nav-item a:hover {
  text-decoration: none;
  color: #000;
}

.main-bottom-panels {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 276px;
  gap: 20px;
}

.main-bp-left {
  padding: 20px;
  padding-top: 40px;
  background-color: #fff;
  border-radius: 20px;
  position: relative;
}

.main-bp-right {
  padding: 20px;
  padding-top: 40px;
  background-color: #563121;
  border-radius: 20px;
  position: relative;
}

.main-bp-left .main-panels-big-nav-item a {
  color: #1d1d1f;
}

.main-bp-left .main-panels-big-nav-item a:hover {
  color: #000;
}

.main-panels-big-nav-item a {
  text-decoration: none;
  color: #fff;
}

.main-bp-right .main-panels-big-nav-item a:hover {
  text-decoration: none;
  color: #ececec;
}

.main-bp-right .main-button a {
  border: none;
}

.main-bp-right .main-button a:hover {
  background-color: #412215;
}

.services h2 {
  font-size: 40px;
  font-weight: 600;
  color: #1d1d1f;
}

.main h2 {
  font-size: 40px;
  font-weight: 600;
  color: #1d1d1f;
}

.services-controls {
  display: flex;
  justify-content: space-between;
}

.services-controls-quote {
  width: 400px;
}

.services-controls--arrows {
  display: flex;
  gap: 20px;
}

.arrows {
  width: 50px;
  height: 50px;
  border-radius: 99px;
  border: 2px solid #563121;
  display: flex;
  justify-content: center;
  align-items: center;
}

.arrows:hover {
  background-color: #bb8771;
  color: #fff;
}

.services-slider-outer {
  overflow: hidden;
  border-radius: 20px;
  margin-top: 20px;
}

.services-slider {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.services-slider-bottom {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 20px;
}

.slider-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #e8d5cc;
  cursor: pointer;
  transition: width 0.4s ease, background 0.4s ease;
  flex-shrink: 0;
}

.slider-dot.active {
  background: #563121;
  width: 28px;
}

.slider-progress-wrap {
  flex: 1;
  height: 2px;
  background: #e8d5cc;
  border-radius: 1px;
  overflow: hidden;
}

.slider-progress-bar {
  height: 100%;
  background: #563121;
  width: 0%;
  border-radius: 1px;
}

.slider-counter {
  font-size: 14px;
  color: #563121;
  font-weight: 500;
  white-space: nowrap;
  min-width: 40px;
  text-align: right;
}

/* ── Services slider — cards ── */
.services-slider-item {
  flex: 0 0 100%;
  height: 440px;
  background: linear-gradient(135deg, #f5ece7 0%, #e8d5cc 60%, #d8c4b8 100%);
  border-radius: 24px;
  position: relative;
  box-sizing: border-box;
  padding: 50px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.services-slider-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(86, 49, 33, 0.12);
}

.services-slider-bg-img {
  position: absolute;
  bottom: -6px;
  right: 0;
  z-index: 1;
}

.services-slider-bg-img img {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.services-slider-item:hover .services-slider-bg-img img {
  transform: scale(1.04) translateY(-4px);
}

.services-slider--name {
  position: absolute;
  z-index: 2;
}

.services-slider--name span {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 99px;
  color: #563121;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 12px rgba(86, 49, 33, 0.08);
  letter-spacing: 0.02em;
}

.services-slider--text {
  margin-top: 60px;
  font-size: 26px;
  font-weight: 500;
  width: 320px;
  line-height: 1.35;
  color: #1d1d1f;
  z-index: 2;
  position: relative;
}

.services-slider--button {
  z-index: 2;
  position: relative;
}

.services-slider--button a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background-color: #563121;
  color: #fff;
  border-radius: 99px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(86, 49, 33, 0.2);
  letter-spacing: 0.02em;
}

.services-slider--button a:hover {
  background-color: #412215;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(86, 49, 33, 0.3);
}

/* ── Services TILE GRID ── */
.services-tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.services-tile-card {
  position: relative;
  background: linear-gradient(135deg, #f5ece7 0%, #e8d5cc 60%, #d8c4b8 100%);
  border-radius: 24px;
  padding: 36px 40px;
  min-height: 340px;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.services-tile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(86, 49, 33, 0.1);
}

.services-tile-info {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.services-tile-name span {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 18px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 99px;
  color: #563121;
  border: 1px solid rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}

.services-tile-title {
  font-size: 22px;
  font-weight: 500;
  color: #1d1d1f;
  line-height: 1.35;
  max-width: 260px;
}

.services-tile-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background-color: #563121;
  color: #fff;
  border-radius: 99px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(86, 49, 33, 0.18);
  align-self: flex-start;
  margin-top: auto;
}

.services-tile-btn:hover {
  background-color: #412215;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(86, 49, 33, 0.28);
}

.services-tile-photo {
  position: absolute;
  bottom: -6px;
  right: 0;
  z-index: 1;
  max-width: 55%;
  max-height: 85%;
}

.services-tile-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom right;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.services-tile-card:hover .services-tile-photo img {
  transform: scale(1.04) translateY(-3px);
}

/* ── Service page detail ── */
.service-page-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.service-page-text {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
}

.service-page-card {
  background: linear-gradient(160deg, #f5ece7 0%, #e8d5cc 50%, #d8c4b8 100%);
  border-radius: 24px;
  position: relative;
  padding: 44px;
  box-sizing: border-box;
  min-height: 520px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(86, 49, 33, 0.06);
}


.service-page-card-text {
  font-size: 36px;
  font-weight: 500;
  color: #1d1d1f;
  text-align: left;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.service-page-card-img {
  width: 100%;
}

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

.services-page-card-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  max-width: 90%;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  z-index: 1;
}

.services-page-card-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px 20px 0 0;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-page-card:hover .services-page-card-img img {
  transform: scale(1.03);
}

/* ── Service page text areas — glassmorphism ── */
.service-page-text-area {
  padding: 32px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 20px rgba(86, 49, 33, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-page-text-area:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(86, 49, 33, 0.08);
}

.service-page-text-area h3 {
  position: relative;
  padding-left: 16px;
}

.service-page-text-area h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #563121, #8b5e4b);
}

.service-page-text-area:last-child {
  margin-bottom: 0;
}

.ceo {
  margin-top: 120px;
}

.ceo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-sizing: border-box;
  gap: 60px;
}

.ceo-grid-item {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  box-sizing: border-box;
  height: 520px;
}

.ceo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.ceo-tiles {
  box-sizing: border-box;
}

.ceo-tiles--big {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #fff;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ceo-tiles--big:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(86, 49, 33, 0.08);
}

.ceo-tiles--small {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 20px;
}

.ceo-tiles--small-item {
  display: flex;
  background-color: #fff;
  border-radius: 20px;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ceo-tiles--small-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(86, 49, 33, 0.08);
}

.ceo-tiles img {
  width: 60px;
  height: 60px;
}

.ceo-tiles p {
  font-size: 14px;
  font-weight: 400;
  color: #1d1d1f;
}

.ceo--name {
  font-size: 40px;
  font-weight: 600;
  color: #1d1d1f;
}

.ceo--discrpt {
  font-size: 18px;
  font-weight: 400;
  color: #1d1d1f;
  margin: 0;
  padding: 0;
  padding-left: 20px;
}

.reviews {
  margin-top: 120px;
}

.reviews h2 {
  font-size: 40px;
  color: #1d1d1f;
  font-weight: 600;
  width: 540px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.reviews-grid--item {
  padding: 40px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.reviews-grid--item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(86, 49, 33, 0.07);
}

.reviews-button {
  padding-top: 20px;
  display: flex;
  justify-content: center;
}

.reviews-button a {
  background-color: #563121;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 99px;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(86, 49, 33, 0.18);
}

.reviews-button a:hover {
  background-color: #412215;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(86, 49, 33, 0.25);
}

.reviews-grid--item-date {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #1d1d1f;
}

.reviews-grid--item-name {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 40px;
  color: #1d1d1f;
}

.reviews-grid--item-text {
  font-size: 16px;
  font-weight: 400;
  color: #1d1d1f;
}

.feedback {
  margin-top: 20px;
}

.feedback-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 40px;
  background-color: #d4cac1;
  border-radius: 20px;
}

.feedback-grid--item p {
  padding: 0;
  margin: 0;
  font-size: 26px;
  font-weight: 400;
  color: #1d1d1f;
}

.feedback-input {
  width: 100%;
  box-sizing: border-box;
  padding: 15px 20px;
  margin-bottom: 20px;
  border: none;
  border-radius: 8px;
  background-color: #e6d7cf;
  font-family: "Google Sans", sans-serif;
  font-size: 16px;
  color: #1d1d1f;
  outline: none;
}

.feedback-input::placeholder {
  color: #999999;
  font-size: 16px;
}

.feedback-textarea {
  min-height: 100px;
  resize: vertical;
}

.feedback-grid--item-button {
  margin-top: 10px;
}

.feedback-grid--item-button a,
.feedback-grid--item-button button {
  display: inline-block;
  padding: 10px 40px;
  background-color: #563121;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 99px;
  font-size: 16px;
  font-weight: 400;
  font-family: "Google Sans", sans-serif;
  cursor: pointer;
}

.feedback-grid--item-button a:hover,
.feedback-grid--item-button button:hover {
  background-color: #412215;
}

.callback {
  margin-top: 120px;
}

.callback-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 20px;
}

.callback-form h2 {
  font-size: 40px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0;
}

.callback-form--subtitle {
  font-size: 16px;
  font-weight: 400;
  color: #1d1d1f;
  margin: 0;
}

.callback-form--inputs {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 20px;
}

.callback-input {
  width: 100%;
  box-sizing: border-box;
  padding: 15px 20px;
  border: 1px solid #d4cac1;
  border-radius: 8px;
  background-color: #fff;
  font-family: "Google Sans", sans-serif;
  font-size: 16px;
  color: #1e1e1e;
  outline: none;
}

.callback-input::placeholder {
  color: #999999;
  font-size: 16px;
}

.callback-input:focus {
  border-color: #563121;
  box-shadow: 0 0 0 3px rgba(86, 49, 33, 0.1);
}

.callback-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.callback-checkbox-input {
  width: 20px;
  height: 20px;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.callback-checkbox-label {
  font-size: 14px;
  color: #1d1d1f;
  cursor: pointer;
  user-select: none;
  line-height: 1.4;
}

.callback-button {
  padding: 15px 40px;
  background-color: #563121;
  color: #fff;
  border: none;
  border-radius: 99px;
  font-size: 16px;
  font-weight: 400;
  font-family: "Google Sans", sans-serif;
  cursor: pointer;
  align-self: flex-start;
  margin-top: auto;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(86, 49, 33, 0.18);
}

.callback-button:hover {
  background-color: #412215;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(86, 49, 33, 0.25);
}

.callback-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
}

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

.callback-form {
  padding: 40px;
  background-color: #fff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  gap: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.map {
  margin-top: 120px;
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
  background-color: #563121;
  border-radius: 20px;
}

.map-grid--info {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr 1fr;
  gap: 10px;
}

.map-grid--info-title {
  font-size: 40px;
  font-weight: 600;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-grid--info-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.map-grid--info-inner-item {
  background-color: #694536;
  padding: 20px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.map-grid--info-icon {
  width: 20px;
  height: 20px;
  margin-bottom: 30px;
}

.map-container {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 20px;
  overflow: hidden;
}

.map-grid--info-text {
  font-size: 18px;
  font-weight: 400;
  color: #fff;
}

.map-grid--info-bottom {
  background-color: #694536;
  padding: 20px;
  border-radius: 20px;
}

footer {
  margin-top: 120px;
  padding-top: 100px;
  background-color: #e8d5cc;
  padding-bottom: 40px;
  border-radius: 40px 40px 0 0;
}

.footer-menu-item {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-menu-item a {
  font-size: 16px;
  font-weight: 400;
  color: #1d1d1f;
  text-decoration: none;
}

.footer-sides {
  display: flex;
  justify-content: space-between;
}

.footer-side-right {
  width: 500px;
}

.footer-side-right p {
  font-size: 16px;
  font-weight: 400;
  color: #1d1d1f;
  padding: 0;
  margin: 0;
}

.footer-side-left {
  display: flex;
  gap: 60px;
}

.footer-bottom p {
  font-size: 16px;
  font-weight: 400;
  color: #1d1d1f;
  padding: 0;
  margin: 0;
  margin-bottom: 20px;
}

.footer-bottom p a {
  font-size: 16px;
  font-weight: 400;
  color: #1d1d1f;
  text-decoration: none;
}

.footer-menu-item {
  color: #1d1d1f;
}

.footer-bottom {
  margin-top: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 20px;
}

.footer-credits {
  margin-left: auto;
  display: flex;
  gap: 16px;
}

.footer-credits p {
  margin: 0;
  padding: 0;
}

.footer-credits p a {
  font-size: 13px;
  font-weight: 400;
  color: #999;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-credits p a:hover {
  color: #563121;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
}

.team-grid--item {
  padding: 20px;
  background-color: #fff;
  border-radius: 20px;
}

.team-grid--item-img {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 20px;
}

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

.single-page--title {
  font-size: 40px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0;
  margin-bottom: 40px;
}

/* ===================== BEFORE / AFTER PAGE ===================== */

.ba-page {
  margin-top: 0;
}

/* ── Filter chips ── */
.ba-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.ba-chip {
  padding: 10px 24px;
  border: 1px solid #563121;
  border-radius: 99px;
  background: transparent;
  color: #563121;
  font-family: "Google Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.ba-chip:hover {
  background-color: rgba(86, 49, 33, 0.08);
}

.ba-chip.active {
  background-color: #563121;
  color: #fff;
  border-color: #563121;
}

.ba-chip.active:hover {
  background-color: #412215;
}

/* ── Cards grid ── */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ba-card {
  background-color: #e8d5cc;
  border-radius: 20px;
  padding: 20px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  animation: ba-fadeIn 0.5s ease forwards;
}

@keyframes ba-fadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ba-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(86, 49, 33, 0.1);
}

/* ── Comparison slider ── */
.ba-compare {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
}

.ba-compare-img {
  position: absolute;
  inset: 0;
}

.ba-compare-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

.ba-compare-before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.ba-compare-after {
  z-index: 1;
}

/* Slider handle */
.ba-compare-slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 3;
  width: 4px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ba-compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
}

.ba-compare-handle {
  position: relative;
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: col-resize;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ba-compare-handle:hover,
.ba-dragging .ba-compare-handle {
  transform: scale(1.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.ba-compare-handle svg {
  width: 24px;
  height: 24px;
}

/* Labels */
.ba-compare-labels {
  position: absolute;
  bottom: 12px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  z-index: 5;
  pointer-events: none;
}

.ba-label {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 14px;
  border-radius: 99px;
  letter-spacing: 0.02em;
}

/* Card metadata */
.ba-card-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 20px;
  border: 1px solid #563121;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 400;
  color: #563121;
}

.ba-card-desc {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 400;
  color: #1d1d1f;
  line-height: 1.5;
}

/* ===================== MEDIA (СМИ О НАС) PAGE ===================== */

.media-page {
  margin-top: 0;
}

/* ── Timeline container ── */
.media-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

/* Gradient connecting line */
.media-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg,
      transparent 0%,
      #c4b0a4 5%,
      #563121 30%,
      #563121 70%,
      #c4b0a4 95%,
      transparent 100%);
  border-radius: 2px;
}

/* Glow behind the line */
.media-timeline::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 30px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center,
      rgba(86, 49, 33, 0.06) 0%,
      transparent 70%);
  pointer-events: none;
}

/* ── Timeline item ── */
.media-timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 70px;
  gap: 60px;
}

.media-timeline-item:last-child {
  margin-bottom: 0;
}

/* Alternating: odd items — date left, card right */
.media-timeline-item:nth-child(odd) {
  flex-direction: row;
  justify-content: flex-start;
  padding-right: calc(50% + 30px);
  padding-left: 0;
}

/* Even items — date right, card left (reversed) */
.media-timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  justify-content: flex-start;
  padding-left: calc(50% + 30px);
  padding-right: 0;
}

/* ── Animated dot on the line ── */
.media-timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #563121;
  border: 3px solid #e6e6e6;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 0 rgba(86, 49, 33, 0.35);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

/* Pulse ring behind dot */
.media-timeline-item::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: tl-pulse 3s ease-in-out infinite;
  background: rgba(86, 49, 33, 0.15);
}

@keyframes tl-pulse {

  0%,
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.5;
  }

  50% {
    transform: translateX(-50%) scale(2.6);
    opacity: 0;
  }
}

/* Dot grow on hover */
.media-timeline-item:hover::before {
  box-shadow: 0 0 0 6px rgba(86, 49, 33, 0.15);
  transform: translateX(-50%) scale(1.2);
}

/* ── Date badge ── */
.media-timeline-date {
  font-size: 14px;
  font-weight: 500;
  color: #563121;
  white-space: nowrap;
  background: rgba(86, 49, 33, 0.08);
  padding: 6px 18px;
  border-radius: 99px;
  border: 1px solid rgba(86, 49, 33, 0.15);
  letter-spacing: 0.04em;
  position: absolute;
  top: 16px;
}

/* Position date on opposite side of card */
.media-timeline-item:nth-child(odd) .media-timeline-date {
  right: 0;
  left: auto;
  transform: translateX(calc(100% + 44px));
}

.media-timeline-item:nth-child(even) .media-timeline-date {
  left: 0;
  right: auto;
  transform: translateX(calc(-100% - 44px));
}

/* ── Card container ── */
.media-timeline-card {
  width: 100%;
  background: #f5ece7;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 4px 24px rgba(86, 49, 33, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.media-timeline-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 40px rgba(86, 49, 33, 0.1),
    0 0 0 1px rgba(86, 49, 33, 0.06);
}

/* ── Card image ── */
.media-timeline-card-img {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  text-decoration: none;
}

.media-timeline-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
}

.media-timeline-card-img:hover img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

/* Overlay with title */
.media-timeline-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 25%,
      rgba(0, 0, 0, 0.15) 50%,
      rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  pointer-events: none;
  transition: background 0.4s ease;
}

.media-timeline-card-img:hover .media-timeline-card-overlay {
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 20%,
      rgba(0, 0, 0, 0.1) 45%,
      rgba(0, 0, 0, 0.75) 100%);
}

.media-timeline-card-overlay span {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* ── Card footer — source + link ── */
.media-timeline-card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 0 4px;
}

.media-timeline-source {
  display: inline-block;
  padding: 7px 18px;
  border: 1px solid rgba(86, 49, 33, 0.3);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 400;
  color: #563121;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.media-timeline-card:hover .media-timeline-source {
  border-color: #563121;
  background: rgba(255, 255, 255, 0.8);
}

.media-timeline-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(86, 49, 33, 0.3);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.media-timeline-link:hover {
  background-color: #563121;
  border-color: #563121;
  transform: scale(1.1) rotate(-5deg);
}

.media-timeline-link:hover svg path {
  stroke: #fff;
}

.media-timeline-link svg path {
  transition: stroke 0.3s ease;
}


/* ===================================================================
   MOBILE RESPONSIVE — PREMIUM DESIGN
   =================================================================== */

/* ── Глобальные плавные переходы ── */
* {
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

a,
button,
.arrows,
.menu-item,
.menu-button,
.reviews-grid--item,
.ceo-tiles--big,
.ceo-tiles--small-item,
.main-tp-left--big,
.main-panels-small,
.main-tp-right--big,
.main-bp-left,
.main-bp-right,
.feedback-grid--item-button a,
.services-slider--button a,
.reviews-button a,
.callback-button {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Планшеты (≤1024px) ── */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .header-container {
    height: 100px;
  }

  nav {
    gap: 15px;
  }

  .menu-item,
  .menu-button {
    font-size: 12px;
  }

  .menu-button a {
    padding: 8px 15px;
  }

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

  .hero-controls {
    gap: 60px;
  }

  .ceo-grid {
    gap: 30px;
  }

  .services h2 {
    font-size: 38px;
  }
}

/* ── Мобильные устройства (≤768px) ── */
@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 16px;
  }

  /* ─── Header ─── */
  .header-container {
    height: 70px;
    position: relative;
  }

  .header-logo img {
    height: 32px;
  }

  /* ─── Бургер меню ─── */
  .burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
    border-radius: 12px;
    background-color: rgba(86, 49, 33, 0.06);
    transition: background-color 0.3s ease;
  }

  .burger-menu:active {
    background-color: rgba(86, 49, 33, 0.15);
  }

  .burger-menu span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #563121;
    border-radius: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  }

  .burger-menu span:nth-child(1) {
    top: 14px;
  }

  .burger-menu span:nth-child(2) {
    top: 21px;
    transition: opacity 0.2s ease;
  }

  .burger-menu span:nth-child(3) {
    top: 28px;
  }

  .burger-menu.active {
    background-color: rgba(86, 49, 33, 0.1);
  }

  .burger-menu.active span:nth-child(1) {
    transform: translateX(-50%) rotate(45deg);
    top: 21px;
  }

  .burger-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.active span:nth-child(3) {
    transform: translateX(-50%) rotate(-45deg);
    top: 21px;
  }

  /* ─── Навигация (мобильное меню) ─── */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  nav.active {
    opacity: 1;
    visibility: visible;
  }

  .menu-item {
    font-size: 20px;
    font-weight: 500;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
  }

  nav.active .menu-item {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  nav.active .menu-item:nth-child(1) {
    transition-delay: 0.05s;
  }

  nav.active .menu-item:nth-child(2) {
    transition-delay: 0.08s;
  }

  nav.active .menu-item:nth-child(3) {
    transition-delay: 0.11s;
  }

  nav.active .menu-item:nth-child(4) {
    transition-delay: 0.14s;
  }

  nav.active .menu-item:nth-child(5) {
    transition-delay: 0.17s;
  }

  nav.active .menu-item:nth-child(6) {
    transition-delay: 0.20s;
  }

  nav.active .menu-item:nth-child(7) {
    transition-delay: 0.23s;
  }

  nav.active .menu-item:nth-child(8) {
    transition-delay: 0.26s;
  }

  nav.active .menu-item:nth-child(9) {
    transition-delay: 0.29s;
  }

  nav.active .menu-item:nth-child(10) {
    transition-delay: 0.32s;
  }

  .menu-item a {
    display: block;
    padding: 14px 0;
    color: #1d1d1f;
    font-size: 20px;
    letter-spacing: -0.01em;
  }

  .menu-item a:active {
    color: #563121;
  }

  .menu-button {
    width: 80%;
    max-width: 300px;
    text-align: center;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
  }

  nav.active .menu-button {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease 0.38s, transform 0.4s ease 0.38s;
  }

  .menu-button a {
    display: block;
    padding: 16px 0;
    font-size: 17px;
    font-weight: 500;
    background-color: #563121;
    color: #fff !important;
    border-color: #563121;
    border-radius: 16px;
  }

  .menu-button a:active {
    background-color: #412215;
    transform: scale(0.97);
  }

  /* ─── Hero ─── */
  .hero {
    margin-top: 16px;
    margin-bottom: 48px;
  }

  .hero h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
  }

  .hero-controls {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .hero-controls--buttons {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 12px;
  }

  .hero-btn {
    display: block;
    flex: 1;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 16px;
    text-align: center;
  }

  .hero-btn:active {
    transform: scale(0.97);
  }

  .hero-controls--quote {
    font-size: 15px;
    color: #86868b;
    line-height: 1.5;
  }

  .hero--img {
    height: 220px;
    margin-top: 24px;
    border-radius: 16px;
  }

  /* ─── Main (Каталог услуг) ─── */
  .main-top-panels {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .main-tp-left {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .main-tp-left--big {
    height: auto;
    min-height: auto;
    padding: 24px;
    padding-bottom: 72px;
    border-radius: 16px;
  }

  .main-tp-left-nav {
    gap: 10px !important;
  }

  .main-tp-left-nav-item {
    font-size: 15px;
    line-height: 1.5;
  }

  .main-tp-left--small {
    grid-template-rows: auto;
    gap: 12px;
  }

  .main-panels-small {
    padding: 24px;
    padding-bottom: 72px;
    border-radius: 16px;
  }

  .main-panels-small-item a {
    font-size: 15px;
  }

  .main-tp-right {
    grid-template-rows: auto;
    gap: 12px;
  }

  .main-tp-right--top {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .main-tp-right--top-logo {
    display: none;
  }

  .main-tp-right--big {
    height: auto;
    min-height: auto;
    padding: 24px;
    padding-bottom: 72px;
    border-radius: 16px;
  }

  .main-panels-big-nav-item {
    display: flex;
    flex-wrap: wrap;
    column-gap: 12px;
    row-gap: 4px;
    align-items: flex-start;
  }

  .main-panels-big-nav-item a {
    font-size: 15px;
    line-height: 1.6;
  }

  .main-bottom-panels {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
    margin-top: 12px;
  }

  .main-bp-left,
  .main-bp-right {
    padding: 24px;
    padding-bottom: 72px;
    border-radius: 16px;
  }

  .main-button {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    width: auto;
  }

  .main-button a {
    display: block;
    text-align: center;
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 500;
  }

  .main-button.white a:active,
  .main-button a:active {
    transform: scale(0.97);
  }

  /* ─── Services (Акции) ─── */
  .services {
    margin-top: 48px;
  }

  .services h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  .services-controls {
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
  }

  .services-controls--arrows {
    gap: 12px;
  }

  .arrows {
    width: 44px;
    height: 44px;
    border-width: 1.5px;
  }

  .arrows:active {
    background-color: #563121;
    transform: scale(0.92);
  }

  .arrows:active img {
    filter: brightness(10);
  }

  .services-controls-quote {
    width: 100%;
    font-size: 14px;
    line-height: 1.6;
    color: #86868b;
  }

  .services-slider-outer {
    border-radius: 16px;
    margin-top: 16px;
  }

  .services-slider-item {
    height: 320px;
    padding: 24px;
    border-radius: 16px;
  }

  .services-slider--name span {
    font-size: 14px;
    padding: 8px 16px;
  }

  .services-slider--text {
    font-size: 20px;
    font-weight: 500;
    width: 65%;
    margin-top: 48px;
    line-height: 1.3;
  }

  .services-slider--button a {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 14px;
  }

  .services-slider--button a:active {
    transform: scale(0.95);
  }

  .services-slider-bg-img {
    bottom: -6px;
    right: -10px;
  }

  .services-slider-bg-img img {
    height: 280px;
    object-fit: contain;
  }

  /* ─── Services Tile Grid ─── */
  .services-tile-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services-tile-card {
    min-height: 280px;
    padding: 28px;
    border-radius: 18px;
  }

  .services-tile-title {
    font-size: 18px;
    max-width: 60%;
  }

  .services-tile-btn {
    padding: 9px 20px;
    font-size: 13px;
  }

  .services-tile-photo {
    max-width: 50%;
  }

  .slider-nav {
    gap: 12px;
    margin-top: 16px;
  }

  .slider-dot {
    width: 6px;
    height: 6px;
  }

  .slider-dot.active {
    width: 24px;
  }

  /* ─── CEO ─── */
  .ceo {
    margin-top: 64px;
  }

  .ceo-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ceo-grid-item {
    height: auto;
    border-radius: 16px;
  }

  .ceo-grid-item:first-child {
    height: 360px;
  }

  .ceo--name {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

  .ceo--discrpt {
    font-size: 15px;
    padding-left: 0;
    margin-bottom: 20px;
    line-height: 1.5;
    color: #86868b;
  }

  .ceo--discrpt p {
    margin: 0 0 4px;
  }

  .ceo-tiles {
    margin-top: 8px;
  }

  .ceo-tiles--big {
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 12px;
    gap: 12px;
  }

  .ceo-tiles--big p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
  }

  .ceo-tiles--small {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .ceo-tiles--small-item {
    padding: 16px;
    border-radius: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .ceo-tiles--small-item p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
  }

  .ceo-tiles img {
    width: 44px;
    height: 44px;
  }

  /* ─── Reviews ─── */
  .reviews {
    margin-top: 64px;
  }

  .reviews h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    width: 100%;
    margin-bottom: 20px;
  }

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

  .reviews-grid--item {
    padding: 24px;
    border-radius: 16px;
  }

  .reviews-grid--item-date {
    font-size: 13px;
    font-weight: 600;
    color: #86868b;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .reviews-grid--item-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
  }

  .reviews-grid--item-text {
    font-size: 15px;
    line-height: 1.6;
    color: #4a4a4a;
  }

  .reviews-button {
    padding-top: 16px;
  }

  .reviews-button a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 500;
    box-sizing: border-box;
  }

  .reviews-button a:active {
    transform: scale(0.97);
  }

  /* ─── Feedback ─── */
  .feedback {
    margin-top: 12px;
  }

  .feedback-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
    border-radius: 16px;
  }

  .feedback-grid--item p {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.01em;
  }

  .feedback-input {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 15px;
    margin-bottom: 12px;
  }

  .feedback-textarea {
    min-height: 100px;
  }

  .feedback-grid--item-button {
    margin-top: 4px;
  }

  .feedback-grid--item-button a {
    display: block;
    text-align: center;
    padding: 14px 40px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 500;
  }

  .feedback-grid--item-button a:active {
    transform: scale(0.97);
  }

  /* ─── Callback ─── */
  .callback {
    margin-top: 64px;
  }

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

  .callback-form {
    padding: 28px 24px;
    border-radius: 20px;
    gap: 16px;
    background: #fff;
    box-shadow: 0 2px 20px rgba(86, 49, 33, 0.06);
  }

  .callback-form h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .callback-form--subtitle {
    font-size: 14px;
    color: #86868b;
    line-height: 1.5;
  }

  .callback-form--inputs {
    gap: 14px;
  }

  .callback-input {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 15px;
  }

  .callback-checkbox-label {
    font-size: 13px;
    line-height: 1.4;
  }

  .callback-button {
    width: 100%;
    padding: 16px 40px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
  }

  .callback-button:active {
    transform: scale(0.97);
    background-color: #412215;
  }

  .callback-photo {
    height: 280px;
    border-radius: 20px;
    aspect-ratio: auto;
  }

  /* ─── Map ─── */
  .map {
    margin-top: 64px;
  }

  .map-grid {
    grid-template-columns: 1fr;
    padding: 16px;
    border-radius: 20px;
    gap: 16px;
  }

  .map-grid--info {
    grid-template-rows: auto;
    gap: 12px;
  }

  .map-grid--info-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    padding: 12px 0;
  }

  .map-grid--info-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .map-grid--info-inner-item {
    padding: 16px;
    border-radius: 14px;
  }

  .map-grid--info-icon {
    margin-bottom: 16px;
  }

  .map-grid--info-text {
    font-size: 15px;
    line-height: 1.5;
  }

  .map-grid--info-bottom {
    padding: 16px;
    border-radius: 14px;
  }

  .map-container {
    min-height: 260px;
    border-radius: 14px;
  }

  /* ─── Footer ─── */
  footer {
    margin-top: 64px;
    padding-top: 48px;
    padding-bottom: 32px;
    border-radius: 28px 28px 0 0;
  }

  .footer-sides {
    flex-direction: column;
    gap: 36px;
  }

  .footer-side-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-side-left .footer-menu:last-child {
    grid-column: 1 / -1;
  }

  .footer-menu-item {
    font-size: 14px;
    margin-bottom: 14px;
  }

  .footer-menu-item a {
    font-size: 14px;
    line-height: 1.4;
  }

  .footer-side-right {
    width: 100%;
  }

  .footer-side-right p {
    font-size: 13px;
    line-height: 1.6;
    color: #86868b;
  }

  .footer-bottom {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(29, 29, 31, 0.1);
  }

  .footer-bottom p {
    font-size: 13px;
    color: #86868b;
    margin-bottom: 8px;
  }

  .footer-bottom p a {
    font-size: 13px;
    color: #563121;
  }

  /* ─── Team Page ─── */
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .team-grid--item {
    padding: 12px;
    border-radius: 16px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
  }

  .team-grid--item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(86, 49, 33, 0.1);
  }

  .team-grid--item-img {
    height: 200px;
    border-radius: 14px;
  }

  .team-grid--item-info-name h3 {
    font-size: 15px;
    margin: 12px 0 4px;
  }

  .team-grid--item-info-discrpt p {
    font-size: 13px;
    color: #86868b;
    margin: 0;
  }

  .single-page--title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
  }

  /* ─── Before / After Page ─── */
  .ba-filters {
    gap: 8px;
    margin-bottom: 24px;
  }

  .ba-chip {
    padding: 8px 16px;
    font-size: 13px;
  }

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

  .ba-card {
    padding: 16px;
    border-radius: 16px;
  }

  .ba-compare {
    border-radius: 12px;
    aspect-ratio: 4 / 3;
  }

  .ba-compare-handle {
    width: 36px;
    height: 36px;
  }

  .ba-compare-handle svg {
    width: 20px;
    height: 20px;
  }

  .ba-label {
    font-size: 12px;
    padding: 3px 10px;
  }

  .ba-card-tag {
    font-size: 13px;
    padding: 6px 16px;
    margin-top: 12px;
  }

  .ba-card-desc {
    font-size: 14px;
    margin-top: 8px;
  }

  /* ─── Media (СМИ о нас) Page ─── */
  .media-timeline {
    padding-left: 0;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .media-timeline::before,
  .media-timeline::after {
    display: none;
  }

  .media-timeline-item {
    margin-bottom: 32px;
    flex-direction: column !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 0;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .media-timeline-item::before,
  .media-timeline-item::after {
    display: none;
  }

  .media-timeline-date {
    position: static !important;
    transform: none !important;
    width: auto;
    text-align: left;
    font-size: 13px;
    margin-bottom: 12px;
    align-self: flex-start;
  }

  .media-timeline-card {
    max-width: 100%;
    width: 100%;
    padding: 14px;
    border-radius: 16px;
    min-width: 0;
    box-sizing: border-box;
  }

  .media-timeline-card-img {
    border-radius: 12px;
    aspect-ratio: 16 / 10;
  }

  .media-timeline-card-overlay {
    padding: 16px;
  }

  .media-timeline-card-overlay span {
    font-size: 13px;
  }

  .media-timeline-source {
    font-size: 12px;
    padding: 6px 14px;
  }

  .media-timeline-link {
    width: 32px;
    height: 32px;
  }

  .media-timeline-link svg {
    width: 14px;
    height: 14px;
  }

  /* ─── Service Page ─── */
  .service-page-card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-page-card {
    min-height: 360px;
    padding: 24px;
    border-radius: 16px;
  }

  .service-page-card-text {
    font-size: 24px;
    font-weight: 600;
  }

  .service-page-text {
    grid-template-rows: auto;
    gap: 12px;
  }

  .service-page-text-area {
    padding: 20px;
    border-radius: 16px;
  }

  .service-page-text-area h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px;
  }

  .service-page-text-area p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 8px;
  }

  /* ─── Skeleton на мобильных ─── */
  .skeleton-overlay nav {
    display: none;
  }

  .skeleton-overlay .hero h1 .sk:first-child {
    width: 280px !important;
    height: 38px !important;
  }

  .skeleton-overlay .hero h1 .sk:last-child {
    width: 220px !important;
    height: 38px !important;
  }

  .skeleton-overlay .hero-controls--buttons {
    flex-direction: row;
  }

  .skeleton-overlay .services h2 .sk {
    width: 280px !important;
    height: 36px !important;
  }

  .skeleton-overlay .ceo-grid-item:first-child {
    height: 360px;
  }

  .skeleton-overlay .reviews h2 .sk {
    width: 100% !important;
    height: 36px !important;
  }

  /* Скрываем team-grid лого на мобильных скелетонах */
  .skeleton-overlay .main-tp-right--top-logo {
    display: none;
  }
}

/* ── Маленькие мобильные (≤480px) ── */
@media (max-width: 480px) {

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

  .hero-controls--buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hero-btn {
    padding: 14px 16px;
    font-size: 15px;
  }

  .hero--img {
    height: 180px;
    border-radius: 14px;
  }

  .services h2,
  .ceo--name,
  .reviews h2,
  .callback-form h2,
  .map-grid--info-title {
    font-size: 24px;
  }

  .services-slider-item {
    height: 280px;
    padding: 20px;
    border-radius: 14px;
  }

  .services-slider--name span {
    font-size: 13px;
    padding: 6px 14px;
  }

  .services-slider--text {
    font-size: 18px;
    width: 60%;
    margin-top: 40px;
  }

  .services-slider-bg-img img {
    height: 230px;
    object-fit: contain;
  }

  .ceo-grid-item:first-child {
    height: 300px;
  }

  .ceo--name {
    font-size: 24px;
  }

  .ceo-tiles--small {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ceo-tiles--small-item {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .feedback-grid--item p {
    font-size: 18px;
  }

  .feedback-grid {
    padding: 20px;
  }

  .callback-form {
    padding: 24px 20px;
  }

  .callback-photo {
    height: 240px;
  }

  .map-grid {
    padding: 12px;
  }

  .map-container {
    min-height: 220px;
  }

  .footer-side-left {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-side-left .footer-menu:last-child {
    grid-column: auto;
  }

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

  .team-grid--item-img {
    height: 240px;
  }

  .single-page--title {
    font-size: 24px;
  }

  .service-page-card {
    min-height: 300px;
    padding: 20px;
  }

  .service-page-card-text {
    font-size: 20px;
  }

  .menu-item a {
    font-size: 18px;
    padding: 12px 0;
  }

  .skeleton-overlay .hero h1 .sk:first-child {
    width: 230px !important;
    height: 32px !important;
  }

  .skeleton-overlay .hero h1 .sk:last-child {
    width: 180px !important;
    height: 32px !important;
  }
}

/* ── Очень маленькие экраны (≤360px) ── */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 24px;
  }

  .container {
    padding: 0 12px;
  }

  .services-slider--text {
    font-size: 16px;
    width: 55%;
  }

  .services-slider-item {
    height: 260px;
    padding: 16px;
  }

  .ceo-grid-item:first-child {
    height: 260px;
  }

  .callback-form h2,
  .map-grid--info-title {
    font-size: 22px;
  }
}

/* ===================================================================
   ANIMATIONS — Scroll Reveal + Hover Effects
   =================================================================== */

/* ── Keyframes ── */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes revealScale {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes revealLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes revealRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floatSubtle {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* ── Базовый класс — скрытое состояние до появления ── */
.reveal {
  opacity: 0;
  will-change: transform, opacity;
}

/* ── Анимации при появлении ── */
.reveal.revealed {
  animation-duration: 0.8s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.reveal-up.revealed {
  animation-name: revealUp;
}

.reveal.reveal-fade.revealed {
  animation-name: revealFade;
}

.reveal.reveal-scale.revealed {
  animation-name: revealScale;
}

.reveal.reveal-left.revealed {
  animation-name: revealLeft;
}

.reveal.reveal-right.revealed {
  animation-name: revealRight;
}

/* ── Каскадная задержка для дочерних элементов ── */
.reveal-stagger>* {
  opacity: 0;
  will-change: transform, opacity;
}

.reveal-stagger.revealed>* {
  animation: revealUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.reveal-stagger.revealed>*:nth-child(1) {
  animation-delay: 0.00s;
}

.reveal-stagger.revealed>*:nth-child(2) {
  animation-delay: 0.08s;
}

.reveal-stagger.revealed>*:nth-child(3) {
  animation-delay: 0.16s;
}

.reveal-stagger.revealed>*:nth-child(4) {
  animation-delay: 0.24s;
}

.reveal-stagger.revealed>*:nth-child(5) {
  animation-delay: 0.32s;
}

.reveal-stagger.revealed>*:nth-child(6) {
  animation-delay: 0.40s;
}

.reveal-stagger.revealed>*:nth-child(7) {
  animation-delay: 0.48s;
}

.reveal-stagger.revealed>*:nth-child(8) {
  animation-delay: 0.56s;
}

/* ── Задержки для отдельных элементов ── */
.reveal-d1.revealed {
  animation-delay: 0.10s;
}

.reveal-d2.revealed {
  animation-delay: 0.20s;
}

.reveal-d3.revealed {
  animation-delay: 0.30s;
}

.reveal-d4.revealed {
  animation-delay: 0.40s;
}

.reveal-d5.revealed {
  animation-delay: 0.50s;
}

/* ── Hover-эффекты для карточек ── */
.main-tp-left--big,
.main-panels-small,
.main-tp-right--big,
.main-tp-right--top-logo,
.main-bp-left,
.main-bp-right {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.4s ease;
}

.main-tp-left--big:hover,
.main-panels-small:hover,
.main-tp-right--big:hover,
.main-bp-left:hover,
.main-bp-right:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(86, 49, 33, 0.12);
}

.reviews-grid--item {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.4s ease;
}

.reviews-grid--item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(86, 49, 33, 0.1);
}

.ceo-tiles--big,
.ceo-tiles--small-item {
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.35s ease;
}

.ceo-tiles--big:hover,
.ceo-tiles--small-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(86, 49, 33, 0.08);
}

/* ── Hover для стрелок слайдера ── */
.arrows:hover {
  background-color: #563121;
  border-color: #563121;
  transform: scale(1.05);
}

.arrows:hover img {
  filter: brightness(10);
}

/* ── Hover для кнопок ── */
.b-brown a:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(86, 49, 33, 0.3);
}

.b-white a:hover {
  transform: scale(1.03);
  background-color: #f9f5f3;
}

.reviews-button a:hover,
.feedback-grid--item-button a:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(86, 49, 33, 0.15);
}

.callback-button:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 24px rgba(86, 49, 33, 0.3);
}

/* ── Map info-карточки ── */
.map-grid--info-inner-item {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.map-grid--info-inner-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ── Accessibility: уважаем пользовательские настройки ── */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .reveal-stagger>* {
    opacity: 1 !important;
    animation: none !important;
  }

  .main-tp-left--big:hover,
  .main-panels-small:hover,
  .main-tp-right--big:hover,
  .main-bp-left:hover,
  .main-bp-right:hover,
  .reviews-grid--item:hover,
  .ceo-tiles--big:hover,
  .ceo-tiles--small-item:hover,
  .map-grid--info-inner-item:hover {
    transform: none;
  }
}

/* ===================== SKELETON ===================== */
.skeleton-overlay {
  position: fixed;
  inset: 0;
  background: #e6e6e6;
  z-index: 9999;
  overflow-y: auto;
  opacity: 1;
  transition: opacity 0.6s ease;
}

.skeleton-overlay.sk-out {
  opacity: 0;
  pointer-events: none;
}

@keyframes sk-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.sk {
  border-radius: 10px;
  background: linear-gradient(90deg,
      #d8cdc7 25%,
      #ece4e0 50%,
      #d8cdc7 75%);
  background-size: 400% 100%;
  animation: sk-shimmer 2s infinite ease-in-out;
  flex-shrink: 0;
}

.sk-light {
  border-radius: 10px;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.12) 25%,
      rgba(255, 255, 255, 0.28) 50%,
      rgba(255, 255, 255, 0.12) 75%);
  background-size: 400% 100%;
  animation: sk-shimmer 2s infinite ease-in-out;
  flex-shrink: 0;
}

/* Скелетон внутри оверлея использует реальные CSS-классы страницы для layout,
   поэтому дополнительные sk-* классы не нужны */
.skeleton-overlay h1,
.skeleton-overlay h2 {
  line-height: 1;
}

/* ── Prices Page ── */
.prices-section {
  padding: 80px 0;
}

.page-main-title {
  font-size: 40px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 60px;
  line-height: 1.2;
}

.prices-table-container {
  background-color: #fdfdfd;
  border: 1px solid #e8e3e0;
  border-radius: 20px;
  padding: 50px 60px;
  box-sizing: border-box;
  box-shadow: 0 10px 40px rgba(86, 49, 33, 0.03);
}

.prices-table-header {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 40px;
  margin-bottom: 20px;
}

.prices-table-header-right {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 20px;
}

.prices-table-header .prices-col-price-title {
  font-size: 14px;
  color: #1d1d1f;
  font-weight: 500;
  padding-left: 10px;
}

.prices-category {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 40px;
  margin-bottom: 60px;
}

.prices-category:last-child {
  margin-bottom: 0;
}

.prices-category-title {
  font-size: 18px;
  font-weight: 500;
  color: #563121;
  margin-top: 18px;
  /* align with first row text */
}

.prices-category-items {
  display: flex;
  flex-direction: column;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 10px;
  border-bottom: 1px solid #e8e3e0;
}

.price-row:last-child {
  border-bottom: none;
}

/* Special classes for specific layout needs */
.price-row.border-none {
  border-bottom: none;
  padding-bottom: 0px;
}

.price-row.mt-gap {
  margin-top: 10px;
}

.price-row.mt-gap-large {
  margin-top: 30px;
}

.price-name {
  font-size: 15px;
  font-weight: 400;
  color: #1d1d1f;
  line-height: 1.4;
  padding-right: 20px;
}

.price-value {
  font-size: 16px;
  font-weight: 500;
  color: #1d1d1f;
  white-space: nowrap;
  padding-left: 10px;
}

/* Mobile responsive for Prices page */
@media (max-width: 768px) {
  .page-main-title {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .prices-table-container {
    padding: 20px;
    border-radius: 16px;
  }

  .prices-table-header {
    display: none;
    /* Hide header on mobile for simpler view */
  }

  .prices-category {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  .prices-category-title {
    font-size: 18px;
    font-weight: 600;
    color: #563121;
    border-bottom: 2px solid #563121;
    padding-bottom: 10px;
  }

  .price-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 0;
  }

  .price-value {
    font-weight: 600;
  }
}

/* ==========================================================================
   DOCTOR PAGE
   ========================================================================== */

.doctor-page {
  padding: 40px 0 80px 0;
}

.doctor-breadcrumbs {
  font-size: 14px;
  color: #1d1d1f;
  margin-bottom: 30px;
}

.doctor-breadcrumbs a {
  color: #563121;
  text-decoration: none;
  transition: opacity 0.3s;
}

.doctor-breadcrumbs a:hover {
  opacity: 0.7;
}

.doctor-breadcrumbs span {
  color: #8c8c8c;
}

.doctor-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 30px;
  align-items: start;
}

/* Left Column */
.doctor-col-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.doctor-photo {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.doctor-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.doctor-actions {
  display: flex;
  gap: 15px;
}

.doctor-actions .hero-btn {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  font-size: 14px;
}

/* Right Column (Info Card) */
.doctor-info-card {
  background-color: #fdfdfd;
  border: 1px solid #e8e3e0;
  border-radius: 20px;
  padding: 40px 50px;
  box-sizing: border-box;
  box-shadow: 0 10px 40px rgba(86, 49, 33, 0.03);
}

.doctor-info-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.doctor-info-row:last-child {
  margin-bottom: 0;
}

.doctor-info-label {
  font-size: 14px;
  font-weight: 500;
  color: #1d1d1f;
}

.doctor-info-value {
  font-size: 15px;
  /* Увеличил базовый размер для лучшей читаемости */
  font-weight: 400;
  color: #1d1d1f;
  line-height: 1.6;
}

.doctor-info-value p {
  margin-bottom: 20px;
}

.doctor-info-value p:last-child {
  margin-bottom: 0;
}

.doctor-name {
  font-weight: 500;
  color: #563121;
}

/* Новые стили для улучшенной типографики */

.doctor-education-item {
  margin-bottom: 24px;
  /* Больше воздуха между записями */
}

.doctor-education-item:last-of-type {
  margin-bottom: 0;
}

.doctor-education-item strong {
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
  color: #563121;
  /* Акцентный цвет для дат/добавок */
}

.doctor-education-item span {
  display: block;
  line-height: 1.5;
  color: #4a4a4d;
  /* Чуть мягче черного */
}

.doctor-experience-text {
  line-height: 1.7;
  color: #4a4a4d;
}

.doctor-list {
  list-style: none;
  /* Убираем стандартные маркеры */
  padding-left: 0;
  margin: 0;
}

.doctor-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 12px;
  /* Воздух между пунктами */
  line-height: 1.5;
  color: #4a4a4d;
}

.doctor-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #563121;
  /* Акцентная точка */
  font-weight: bold;
}

.doctor-list li:last-child {
  margin-bottom: 0;
}

.doctor-divider {
  border: none;
  border-top: 1px solid #e8e3e0;
  /* Более тонкий и светлый цвет разделителя */
  margin: 35px 0;
}

/* Mobile responsive for Doctor page */
@media (max-width: 992px) {
  .doctor-grid {
    grid-template-columns: 1fr;
  }

  .doctor-col-left {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }

  .doctor-info-card {
    padding: 30px;
  }

  .doctor-info-row {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .doctor-actions {
    flex-direction: column;
  }

  .doctor-info-card {
    padding: 20px;
  }
}

/* =========================================
   MULTI-LEVEL SERVICES SECTION — PREMIUM
   ========================================= */

.services-hub-section {
  padding: 40px 0 80px 0;
}

/* ── Page Title ── */
.services-hub-section .page-main-title {
  font-size: 40px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.02em;
  line-height: 1.15;
  position: relative;
  display: inline-block;
  margin-bottom: 0;
}


/* ── Breadcrumbs — Premium ── */
.services-hub-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 14px;
  color: #8c8c8c;
  margin-bottom: 16px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 12px rgba(86, 49, 33, 0.04);
}

.services-hub-section .page-main-title {
  display: block;
  clear: both;
}

.services-hub-breadcrumbs a {
  color: #8c8c8c;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.services-hub-breadcrumbs a:hover {
  color: #563121;
}

/* Home icon for first link */
.services-hub-breadcrumbs .bc-home {
  display: inline-flex;
  align-items: center;
}

.services-hub-breadcrumbs .bc-home svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Chevron separator */
.services-hub-breadcrumbs .bc-sep {
  display: inline-flex;
  align-items: center;
  margin: 0 8px;
  color: #c4b0a4;
}

.services-hub-breadcrumbs .bc-sep svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Current page (last item) */
.services-hub-breadcrumbs .bc-current {
  color: #1d1d1f;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

/* ── 2-Column Layout ── */
.services-hub-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  margin-top: 44px;
  align-items: start;
}

/* ── Sidebar Navigation — Glassmorphism ── */
.services-sidebar {
  position: sticky;
  top: 100px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(86, 49, 33, 0.06);
  transition: box-shadow 0.4s ease;
}

.services-sidebar:hover {
  box-shadow: 0 8px 36px rgba(86, 49, 33, 0.1);
}

.services-sidebar-menu {
  list-style: none;
  padding: 8px;
  margin: 0;
}

.services-sidebar-menu li {
  border-bottom: none;
  margin-bottom: 2px;
}

.services-sidebar-menu li:last-child {
  margin-bottom: 0;
}

.services-sidebar-menu a {
  display: block;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #6e6e73;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  border-radius: 12px;
  position: relative;
}

.services-sidebar-menu a:hover {
  background: rgba(86, 49, 33, 0.06);
  color: #563121;
  padding-left: 24px;
}

.services-sidebar-menu li.active a {
  background: linear-gradient(135deg, rgba(86, 49, 33, 0.1) 0%, rgba(139, 94, 75, 0.08) 100%);
  color: #563121;
  font-weight: 600;
  padding-left: 24px;
}

.services-sidebar-menu li.active a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #563121, #8b5e4b);
}

/* ── Category Cards Grid ── */
.services-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-category-card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  background: linear-gradient(145deg, #f5ece7 0%, #e8d5cc 100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
  aspect-ratio: 1 / 1;
  box-shadow: 0 4px 20px rgba(86, 49, 33, 0.06);
}

.service-category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(86, 49, 33, 0.15);
}

.service-category-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  inset: 0;
}

.service-category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
}

.service-category-card:hover .service-category-img img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.service-category-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  padding: 60px 24px 20px 24px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-sizing: border-box;
  z-index: 2;
  transition: padding-bottom 0.3s ease;
}

.service-category-card:hover .service-category-title {
  padding-bottom: 24px;
}

/* ── Price Table — Premium Card Design ── */
/* ── Service Procedure Cards ── */
.sp-procedures {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sp-section {
  position: relative;
}

.sp-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(86, 49, 33, 0.08);
}

.sp-section-accent {
  width: 4px;
  height: 28px;
  border-radius: 2px;
  background: linear-gradient(180deg, #563121, #a07460);
  flex-shrink: 0;
}

.sp-section-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #563121;
  line-height: 1.3;
}

.sp-section-count {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: #8b5e4b;
  background: rgba(86, 49, 33, 0.06);
  padding: 4px 12px;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Procedure Cards ── */
.sp-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sp-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 20px 24px;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 2px 8px rgba(86, 49, 33, 0.03);
  position: relative;
  overflow: hidden;
}

.sp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(86, 49, 33, 0.02) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  border-radius: 16px;
}

.sp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(86, 49, 33, 0.08);
  border-color: rgba(86, 49, 33, 0.1);
}

.sp-card:hover::before {
  opacity: 1;
}

.sp-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.sp-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
  line-height: 1.4;
  flex: 1;
}

.sp-card-price {
  font-size: 18px;
  font-weight: 700;
  color: #563121;
  white-space: nowrap;
  padding: 6px 18px;
  background: rgba(86, 49, 33, 0.06);
  border-radius: 99px;
  flex-shrink: 0;
  letter-spacing: -0.01em;
  transition: all 0.3s ease;
}

.sp-card:hover .sp-card-price {
  background: rgba(86, 49, 33, 0.1);
}

.sp-card-price::after {
  content: ' ₽';
  font-weight: 600;
  color: #8b5e4b;
}

.sp-card-desc {
  font-size: 14px;
  font-weight: 400;
  color: #6b6b6b;
  line-height: 1.55;
  margin: 0;
}

/* ── Simple price list (no sub-procedures) ── */
.sp-simple-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sp-simple-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid transparent;
}

.sp-simple-item:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(86, 49, 33, 0.05);
}

.sp-simple-name {
  font-size: 15px;
  font-weight: 400;
  color: #1d1d1f;
  line-height: 1.5;
  flex: 1;
}

.sp-simple-price {
  font-size: 16px;
  font-weight: 700;
  color: #563121;
  white-space: nowrap;
  padding: 5px 16px;
  background: rgba(86, 49, 33, 0.06);
  border-radius: 99px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.sp-simple-item:hover .sp-simple-price {
  background: rgba(86, 49, 33, 0.1);
}

.sp-simple-price::after {
  content: ' ₽';
  font-weight: 600;
  color: #8b5e4b;
}

/* ── Responsive — Services ── */
@media (max-width: 1100px) {
  .services-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {

  /* ── Mobile Breadcrumbs ── */
  .services-hub-breadcrumbs {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 16px;
    font-size: 13px;
    margin-bottom: 12px;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 85%, transparent 100%);
  }

  .services-hub-breadcrumbs::-webkit-scrollbar {
    display: none;
  }

  .services-hub-breadcrumbs .bc-sep {
    margin: 0 5px;
  }

  .services-hub-breadcrumbs .bc-current {
    max-width: 200px;
  }

  .services-hub-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services-sidebar {
    position: static;
    border-radius: 16px;
  }

  .services-sidebar-menu {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px;
    scrollbar-width: thin;
    scrollbar-color: #d4cac1 transparent;
  }

  .services-sidebar-menu::-webkit-scrollbar {
    height: 4px;
  }

  .services-sidebar-menu::-webkit-scrollbar-track {
    background: transparent;
  }

  .services-sidebar-menu::-webkit-scrollbar-thumb {
    background-color: #d4cac1;
    border-radius: 10px;
  }

  .services-sidebar-menu li {
    border-bottom: none;
    flex-shrink: 0;
    margin-bottom: 0;
    margin-right: 2px;
  }

  .services-sidebar-menu li:last-child {
    margin-right: 0;
  }

  .services-sidebar-menu a {
    padding: 12px 18px;
    white-space: nowrap;
    font-size: 14px;
  }

  .services-sidebar-menu li.active a::before {
    left: 8px;
    right: 8px;
    top: auto;
    bottom: 0;
    width: auto;
    height: 3px;
  }

  .services-hub-section .page-main-title {
    font-size: 32px;
  }

  .sp-card {
    padding: 18px 20px;
  }

  .sp-card-title {
    font-size: 15px;
  }
}

@media (max-width: 576px) {

  /* ── Mobile Breadcrumbs (small) ── */
  .services-hub-breadcrumbs {
    font-size: 12px;
    padding: 7px 14px;
    margin-bottom: 10px;
    border-radius: 20px;
  }

  .services-hub-breadcrumbs .bc-sep {
    margin: 0 3px;
  }

  .services-hub-breadcrumbs .bc-sep svg {
    width: 12px;
    height: 12px;
  }

  .services-hub-breadcrumbs .bc-home svg {
    width: 14px;
    height: 14px;
  }

  .services-hub-breadcrumbs .bc-current {
    max-width: 140px;
  }

  .services-category-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-category-card {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }

  .service-category-title {
    font-size: 13px;
    padding: 40px 20px 16px 20px;
  }

  .services-hub-section .page-main-title {
    font-size: 26px;
  }


  .sp-procedures {
    gap: 28px;
  }

  .sp-section-header {
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 12px;
  }

  .sp-section-accent {
    height: 22px;
  }

  .sp-section-title {
    font-size: 13px;
    flex: 1;
    min-width: 0;
  }

  .sp-section-count {
    font-size: 11px;
    padding: 3px 10px;
  }

  .sp-card {
    padding: 16px;
    border-radius: 14px;
  }

  .sp-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .sp-card-title {
    font-size: 15px;
  }

  .sp-card-price {
    font-size: 16px;
    padding: 5px 14px;
    align-self: flex-start;
  }

  .sp-card-desc {
    font-size: 13px;
  }

  .sp-simple-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 12px;
  }

  .sp-simple-name {
    font-size: 14px;
  }

  .sp-simple-price {
    font-size: 15px;
    padding: 4px 14px;
    align-self: flex-start;
  }
}

/* ── Contacts Page ── */
.contacts-page {
  padding-bottom: 120px;
}

.contacts-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: #563121;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 80px;
  min-height: 480px;
}

.contacts-card-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  color: #fff;
}

.contacts-card-title {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 30px;
  color: #fff;
}

.ci-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.ci-item,
.ci-bottom {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ci-bottom {
  margin-top: auto;
}

.ci-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e8d5cc;
}

.ci-text {
  font-size: 15px;
  line-height: 1.4;
  color: #ececec;
}

.contacts-card-map {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.requisites-title {
  margin-bottom: 30px;
}

.requisites-card {
  background-color: #fdfaf8;
  border: 1px solid #e8d5cc;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.req-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid #e8d5cc;
}

.req-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.req-row:first-child {
  padding-top: 0;
}

.req-col {
  font-size: 14px;
  line-height: 1.5;
  color: #1d1d1f;
}

.req-name {
  width: 45%;
  color: #4a4a4a;
}

.req-val {
  width: 50%;
  font-weight: 500;
}

@media (max-width: 900px) {
  .contacts-card {
    grid-template-columns: 1fr;
  }

  .contacts-card-map {
    height: 300px;
  }

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

  .req-row {
    flex-direction: column;
    gap: 8px;
  }

  .req-name,
  .req-val {
    width: 100%;
  }
}

/* ══════════════════════════════════════════════════
   Vacancies Page
   ══════════════════════════════════════════════════ */
.vacancies-section {
  padding-bottom: 0;
}

/* ── Hero banner ── */
.vac-hero {
  background: linear-gradient(135deg, #563121 0%, #8b5e4b 50%, #a77b6a 100%);
  border-radius: 24px;
  padding: 60px;
  position: relative;
  overflow: hidden;
  margin-bottom: 80px;
  min-height: 260px;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 40px rgba(86, 49, 33, 0.18);
}

.vac-hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.vac-hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 18px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 99px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.vac-hero-title {
  font-size: 36px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 16px;
}

.vac-hero-text {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 28px;
}

.vac-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 99px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.vac-hero-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.vac-hero-decor {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  height: 280px;
  opacity: 0.6;
  z-index: 1;
  animation: vac-float 8s ease-in-out infinite;
}

@keyframes vac-float {

  0%,
  100% {
    transform: translateY(-50%) rotate(0deg);
  }

  50% {
    transform: translateY(-50%) rotate(15deg);
  }
}

/* ── Section title ── */
.vac-section-title {
  font-size: 32px;
  font-weight: 600;
  color: #563121;
  margin: 0 0 30px;
  line-height: 1.3;
}

/* ── Benefits grid ── */
.vac-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.vac-benefit-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.vac-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(86, 49, 33, 0.08);
}

.vac-benefit-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #f5ece7, #e8d5cc);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #563121;
  flex-shrink: 0;
}

.vac-benefit-title {
  font-size: 17px;
  font-weight: 600;
  color: #1d1d1f;
  line-height: 1.3;
}

.vac-benefit-text {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

/* ── Vacancy cards (accordion) ── */
.vac-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 60px;
}

.vac-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(232, 213, 204, 0.6);
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.vac-card:hover {
  box-shadow: 0 8px 28px rgba(86, 49, 33, 0.06);
  border-color: rgba(86, 49, 33, 0.15);
}

.vac-card.open {
  border-color: rgba(86, 49, 33, 0.2);
  box-shadow: 0 12px 40px rgba(86, 49, 33, 0.08);
}

.vac-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease;
}

.vac-card-header:hover {
  background-color: rgba(245, 236, 231, 0.4);
}

.vac-card-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vac-card-title {
  font-size: 20px;
  font-weight: 600;
  color: #1d1d1f;
}

.vac-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.vac-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  background: linear-gradient(135deg, #f5ece7, #e8d5cc);
  border-radius: 99px;
  color: #563121;
  letter-spacing: 0.02em;
}

.vac-card-toggle {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(86, 49, 33, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #563121;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.vac-card.open .vac-card-toggle {
  background: #563121;
  color: #fff;
  transform: rotate(180deg);
}

/* Accordion body */
.vac-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vac-card.open .vac-card-body {
  max-height: 800px;
}

.vac-card-body-inner {
  padding: 0 32px 32px;
  border-top: 1px solid rgba(232, 213, 204, 0.5);
  padding-top: 24px;
}

.vac-card-section {
  margin-bottom: 20px;
}

.vac-card-section h4 {
  font-size: 15px;
  font-weight: 600;
  color: #563121;
  margin: 0 0 10px;
  padding-left: 14px;
  position: relative;
}

.vac-card-section h4::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #563121, #8b5e4b);
}

.vac-card-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vac-card-section ul li {
  font-size: 14px;
  line-height: 1.5;
  color: #4a4a4a;
  padding-left: 20px;
  position: relative;
}

.vac-card-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e8d5cc;
}

.vac-respond-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 32px;
  background: #563121;
  color: #fff;
  border-radius: 99px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(86, 49, 33, 0.2);
  margin-top: 8px;
}

.vac-respond-btn:hover {
  background: #412215;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(86, 49, 33, 0.3);
}

/* ── CTA block ── */
.vac-cta {
  background: linear-gradient(135deg, #f5ece7 0%, #e8d5cc 60%, #d8c4b8 100%);
  border-radius: 24px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 0;
  box-shadow: 0 4px 24px rgba(86, 49, 33, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.vac-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(86, 49, 33, 0.1);
}

.vac-cta-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0 0 8px;
}

.vac-cta-content p {
  font-size: 15px;
  line-height: 1.5;
  color: #666;
  margin: 0;
  max-width: 480px;
}

.vac-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: #563121;
  color: #fff;
  border-radius: 99px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(86, 49, 33, 0.2);
}

.vac-cta-btn:hover {
  background: #412215;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(86, 49, 33, 0.3);
}

/* ── Vacancies responsive ── */
@media (max-width: 1024px) {
  .vac-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .vac-hero-decor {
    width: 200px;
    height: 200px;
    right: 20px;
  }
}

@media (max-width: 768px) {
  .vac-hero {
    padding: 40px 28px;
    min-height: auto;
  }

  .vac-hero-title {
    font-size: 28px;
  }

  .vac-hero-decor {
    display: none;
  }

  .vac-benefits {
    grid-template-columns: 1fr;
  }

  .vac-section-title {
    font-size: 26px;
  }

  .vac-card-header {
    padding: 20px 24px;
  }

  .vac-card-body-inner {
    padding: 0 24px 24px;
    padding-top: 20px;
  }

  .vac-card-title {
    font-size: 18px;
  }

  .vac-cta {
    flex-direction: column;
    padding: 32px 28px;
    text-align: center;
    align-items: center;
  }

  .vac-cta-content p {
    max-width: 100%;
  }
}

/* ═══════════════════════════════════════════════════
   PROMOTIONS PAGE
   ═══════════════════════════════════════════════════ */
.promotions-page {
  padding: 0 0 80px;
}

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

.promo-card {
  background: linear-gradient(135deg, #f5ece7 0%, #e8d5cc 60%, #d8c4b8 100%);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(86, 49, 33, 0.1);
}

.promo-card-img {
  height: 240px;
  overflow: hidden;
}

.promo-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.promo-card:hover .promo-card-img img {
  transform: scale(1.04);
}

.promo-card-info {
  padding: 28px 32px;
}

.promo-card-title {
  font-size: 20px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 10px;
}

.promo-card-text {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 14px;
}

.promo-card-doctor {
  font-size: 13px;
  color: #563121;
  font-weight: 500;
}

.promo-card-doctor a {
  color: #563121;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.promo-card-doctor a:hover {
  border-bottom-color: #563121;
}

.promo-card-dates {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-size: 12px;
  color: #888;
}

.promo-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #563121;
  text-decoration: none;
  margin-top: 16px;
  transition: gap 0.3s;
}

.promo-card-link:hover {
  gap: 8px;
}

/* ── Promotion Detail Page ── */
.promo-detail {
  margin-top: 40px;
}

.promo-detail-img {
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 32px;
  max-height: 480px;
}

.promo-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-detail-body {
  max-width: 720px;
}

.promo-detail-text {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

/* ═══════════════════════════════════════════════════
   REVIEWS PAGE
   ═══════════════════════════════════════════════════ */
.reviews-page {
  padding: 0 0 80px;
}

.reviews-page .reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.review-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(86, 49, 33, 0.08);
}

.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.review-card-name {
  font-size: 18px;
  font-weight: 600;
  color: #1d1d1f;
}

.review-card-date {
  font-size: 13px;
  color: #999;
}

.review-card-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}

.review-card-stars svg {
  color: #c9a84c;
}

.review-card-text {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.feedback-section {
  background: linear-gradient(135deg, #f5ece7 0%, #e8d5cc 60%, #d8c4b8 100%);
  border-radius: 24px;
  padding: 48px;
  margin-top: 60px;
}

.feedback-section h2 {
  font-size: 28px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 24px;
}

.feedback-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feedback-form textarea {
  grid-column: 1 / -1;
}

.feedback-form input,
.feedback-form textarea {
  padding: 14px 20px;
  border: 1px solid rgba(86, 49, 33, 0.15);
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.3s;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
  outline: none;
  border-color: #563121;
}

.feedback-form textarea {
  min-height: 120px;
  resize: vertical;
}

.feedback-submit {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: #563121;
  color: #fff;
  border: none;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  justify-self: start;
}

.feedback-submit:hover {
  background: #412215;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(86, 49, 33, 0.3);
}

/* ═══════════════════════════════════════════════════
   MEDIA / SMI PAGE
   ═══════════════════════════════════════════════════ */
.media-page {
  padding: 0 0 80px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.media-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(86, 49, 33, 0.08);
}

.media-card-img {
  height: 200px;
  overflow: hidden;
}

.media-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.media-card:hover .media-card-img img {
  transform: scale(1.04);
}

.media-card-info {
  padding: 24px;
}

.media-card-source {
  font-size: 12px;
  font-weight: 500;
  color: #563121;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.media-card-title {
  font-size: 17px;
  font-weight: 600;
  color: #1d1d1f;
  line-height: 1.35;
  margin-bottom: 10px;
}

.media-card-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 12px;
}

.media-card-date {
  font-size: 12px;
  color: #999;
  margin-bottom: 12px;
}

.media-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #563121;
  text-decoration: none;
  transition: gap 0.3s;
}

.media-card-link:hover {
  gap: 8px;
}

/* ── Responsive for promo / reviews / media ── */
@media (max-width: 768px) {

  .promotions-grid,
  .reviews-page .reviews-grid {
    grid-template-columns: 1fr;
  }

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

  .feedback-form {
    grid-template-columns: 1fr;
  }

  .feedback-section {
    padding: 32px 24px;
  }
}

/* ═══════════════════════════════════════════════════
   PRICE TABLE (service detail)
   ═══════════════════════════════════════════════════ */
.price-table {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid #e8d5cc;
}

.price-row:last-child {
  border-bottom: none;
}

.price-name {
  font-size: 15px;
  color: #1d1d1f;
}

.price-dots {
  flex: 1;
  border-bottom: 1px dotted #ccc;
  min-width: 40px;
  margin-bottom: 4px;
}

.price-value {
  display: flex;
  gap: 10px;
  align-items: baseline;
  white-space: nowrap;
}

.price-old {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.price-current {
  font-size: 16px;
  font-weight: 600;
  color: #563121;
}

/* ═══════════════════════════════════════════════════
   BENTO GRID (Services Hub concept)
   ═══════════════════════════════════════════════════ */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 16px;
}

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

.card--tall {
  grid-column: span 4;
  grid-row: span 2;
}

.card--med {
  grid-column: span 4;
  grid-row: span 2;
}

.card--sm {
  grid-column: span 4;
  grid-row: span 2;
}

.card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
  box-shadow: 0 4px 20px rgba(86, 49, 33, 0.08);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(86, 49, 33, 0.18);
}

.card__img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
}

.card:hover .card__img img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

.card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.55) 100%);
  transition: background 0.4s ease;
}

.card:hover .card__overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.65) 100%);
}

.card__body {
  position: relative;
  z-index: 2;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card__tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 99px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.card__title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.card--wide .card__title {
  font-size: 30px;
}

.card__desc {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  max-width: 420px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.card:hover .card__desc {
  opacity: 1;
  transform: translateY(0);
}

.card__arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover .card__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.card__arrow svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card--sm .card__body {
  padding: 20px 24px;
  gap: 4px;
}

.card--sm .card__title {
  font-size: 16px;
}

.card--sm .card__arrow {
  width: 36px;
  height: 36px;
  top: 14px;
  right: 14px;
}

.card--sm .card__arrow svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 900px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .card--wide,
  .card--tall,
  .card--med {
    grid-column: span 1;
    grid-row: span 2;
  }

  .card--sm {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 540px) {
  .bento {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .card--wide,
  .card--tall,
  .card--med,
  .card--sm {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ═══════════════════════════════════════════════════
   SVC-CARD (Service Category concept)
   ═══════════════════════════════════════════════════ */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.svc-card {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: center;
  gap: 32px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 12px;
  padding-right: 32px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, background 0.3s ease;
  box-shadow: 0 2px 12px rgba(86, 49, 33, 0.04);
}

.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(86, 49, 33, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

.svc-card__img {
  position: relative;
  width: 160px;
  height: 120px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
}

.svc-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.svc-card:hover .svc-card__img img {
  transform: scale(1.08);
}

.svc-card__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.svc-card__name {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

.svc-card__desc {
  font-size: 14px;
  font-weight: 400;
  color: #6e6e73;
  line-height: 1.5;
  max-width: 480px;
}

.svc-card__meta {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.svc-card__chip {
  display: inline-flex;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 99px;
  border: 1px solid rgba(86, 49, 33, 0.15);
  color: #563121;
  background: rgba(86, 49, 33, 0.04);
  white-space: nowrap;
}

.svc-card__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(86, 49, 33, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.svc-card:hover .svc-card__arrow {
  background: #563121;
  transform: scale(1.1);
}

.svc-card__arrow svg {
  width: 22px;
  height: 22px;
  stroke: #563121;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease, transform 0.3s ease;
}

.svc-card:hover .svc-card__arrow svg {
  stroke: #fff;
  transform: translateX(2px);
}

.svc-card__num {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .svc-card {
    grid-template-columns: 100px 1fr auto;
    gap: 16px;
    padding-right: 16px;
  }

  .svc-card__img {
    width: 100px;
    height: 80px;
    border-radius: 12px;
  }

  .svc-card__name {
    font-size: 16px;
  }

  .svc-card__desc {
    display: none;
  }

  .svc-card__arrow {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .svc-card {
    grid-template-columns: 80px 1fr auto;
    gap: 12px;
    padding: 10px;
    padding-right: 14px;
    border-radius: 16px;
  }

  .svc-card__img {
    width: 80px;
    height: 64px;
    border-radius: 10px;
  }

  .svc-card__meta {
    display: none;
  }
}

/* ══════════════════════════════════════════════════
   Auth Pages (Login / Register)
   ══════════════════════════════════════════════════ */

.auth-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 0 8px 40px rgba(86, 49, 33, 0.08);
}

.auth-title {
  font-size: 32px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0 0 32px 0;
  text-align: center;
}

.auth-errors {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 24px;
}

.auth-errors p {
  margin: 0;
  padding: 2px 0;
  font-size: 14px;
  color: #b91c1c;
  line-height: 1.5;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.auth-remember span {
  font-size: 14px;
  color: #1d1d1f;
}

.auth-button {
  width: 100%;
  text-align: center;
  align-self: stretch;
  margin-top: 8px;
}

.auth-link {
  text-align: center;
  margin: 24px 0 0;
  font-size: 14px;
  color: #666;
}

.auth-link a {
  color: #563121;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.auth-link a:hover {
  color: #3d2218;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .auth-card {
    padding: 32px 20px;
    border-radius: 16px;
  }

  .auth-title {
    font-size: 26px;
    margin-bottom: 24px;
  }
}