/* ==================== MOBILE VERSION (max-width: 989px) ==================== */

:root {
  --mod: 66px;
  --micro: 18px;
  --line: 18px;
  --radius: 27px;
  --mobile-base-width: 300px;
  --mobile-base-height: 2872px;
  --mobile-outer-gap: 9px;
  --mobile-content-width: min(calc(100vw - 18px), 375px);
  --mobile-scale: calc(var(--mobile-content-width) / var(--mobile-base-width));
}

/* ==================== КОНТЕЙНЕРЫ ==================== */
.body-wrapper {
  width: calc(var(--mobile-content-width) + (2 * var(--mobile-outer-gap)));
  background: var(--bg-body);
  position: relative;
  padding: 0 var(--mobile-outer-gap);
  box-sizing: border-box;
  margin: 0 auto;
}

.page-inner {
  background: var(--bg-inner);
  border-radius: 18px;
  position: relative;
  width: var(--mobile-base-width);
  overflow: hidden;
  transform: scale(var(--mobile-scale));
  transform-origin: top left;
  margin-bottom: calc(var(--mobile-base-height) * (var(--mobile-scale) - 1));
}

/* ==================== СЕКЦИЯ 1: ГЛАВНАЯ ==================== */
.section-hero {
  height: 556px;
}

.hero-line-top {
  position: absolute;
  top: 7px;
  left: 9px;
  right: 9px;
  height: 1px;
  background: var(--gray-line);
}

.hero-line-bottom {
  position: absolute;
  top: 29px;
  left: 9px;
  right: 9px;
  height: 1px;
  background: var(--gray-line);
}

.nav {
  position: absolute;
  top: 10px;
  left: 9px;
  right: 9px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 16px;
}

.nav-link {
  font-family: 'AA Stetica', sans-serif;
  font-size: 6px;
  color: var(--text-primary);
  text-decoration: none;
  text-align: center;
  line-height: 1.25;
}

.nav-link-two-lines {
  line-height: 1.25;
}

.name {
  position: absolute;
  top: 63px;
  left: 9px;
  font-family: 'AA Stetica', sans-serif;
  font-size: 12.6px;
  color: var(--text-secondary);
}

.hero-title {
  position: absolute;
  top: 81px;
  left: 9px;
  font-family: 'Bonche', sans-serif;
  font-weight: 300;
  font-size: 51px;
  line-height: 48.3px;
  color: var(--text-primary);
}

.heart-icon {
  width: 12.6px;
  height: auto;
  vertical-align: middle;
  transform: translateY(-2.85px);
}

.dashed-circle-big {
  position: absolute;
  left: 135px;
  bottom: 36px;
  width: 126px;
  height: 126px;
  z-index: 3;
}

.dashed-circle-small {
  position: absolute;
  left: 213px;
  bottom: 126px;
  width: 72px;
  height: 72px;
}

.btn-circle {
  position: absolute;
  left: 9px;
  bottom: 273.5px;
  width: 86px;
  height: 86px;
  background: var(--pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-white);
  font-family: 'AA Stetica', sans-serif;
  font-size: 11px;
  text-align: center;
  transition: transform 0.3s;
  z-index: 2;
}

.btn-circle:hover {
  transform: scale(1.05);
}

.hero-text {
  position: absolute;
  right: 9px;
  font-family: 'AA Stetica', sans-serif;
  font-size: 8.6px;
  line-height: 1.33;
  color: var(--text-primary);
  text-align: right;
  z-index: 10;
}

.hero-text-1 {
  top: 483px;
}

.hero-text-2 {
  top: 510px;
}

.hero-photo {
  position: absolute;
  left: 9px;
  top: 225px;
  width: 193px;
  border-radius: 18px;
  z-index: 1;
}

.hero-photo img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
}

/* ==================== СЕКЦИЯ 2: ОБО МНЕ ==================== */
.section-about {
  height: 556px;
  position: relative;
}

.about-frame {
  position: absolute;
  top: 88.2px;
  left: 9px;
  right: 9px;
  height: 216px;
  border: 1.5px solid var(--green);
  border-radius: 18px;
  background: transparent;
  z-index: 2;
}

.about-title {
  position: absolute;
  top: 0px;
  left: 9px;
  font-size: 33.75px;
  line-height: 1.15;
}

.about-text {
  position: absolute;
  left: 9px;
  font-family: 'AA Stetica', sans-serif;
  font-size: 7.2px;
  line-height: 1.33;
  color: var(--text-primary);
}

.about-text-1 {
  top: 109.2px;
  left: 18px;
  width: 180px;
  font-size: 8.64px;
  line-height: 1.73;
}

.about-text-2 {
  top: 199.2px;
  left: 18px;
  width: 180px;
  font-size: 8.64px;
  line-height: 1.73;
}

.about-photo {
  position: absolute;
  left: 170px;
  top: 148.2px;
  width: 156px;
  height: 156px;
  border-radius: 18px;
  overflow: hidden;
  z-index: 1;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  content: url('../assets/images/hand_mobile.png');
}

.about-subtitle {
  position: absolute;
  top: 314.9px;
  left: 9px;
  font-family: 'AA Stetica', sans-serif;
  font-size: 12.6px;
  color: var(--text-secondary);
}

.about-line {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 1px;
  background: var(--gray-line);
}

.about-line-1 {
  top: 332.9px;
}

.about-line-2 {
  top: 386.9px;
}

.about-line-3 {
  top: 413.9px;
}

.about-line-4 {
  top: 440.9px;
}

.about-edu {
  position: absolute;
  left: 9px;
  font-family: 'AA Stetica', sans-serif;
  font-size: 7.2px;
  line-height: 1.33;
  color: var(--text-primary);
}

.about-edu-1 {
  top: 337.4px;
  font-size: 8.6px;
  line-height: 1.73;
}

.about-edu-2 {
  top: 395.9px;
  font-size: 8.6px;
}

.about-edu-3 {
  top: 422.9px;
  font-size: 8.6px;
}

.about-circle-medium {
  position: absolute;
  left: 50.08px;
  top: 452.5px;
  width: 63.36px;
  height: 63.36px;
}

.about-circle-big {
  position: absolute;
  left: 104px;
  top: 457.5px;
  width: 86.4px;
  height: 86.4px;
}

.about-circle-small {
  position: absolute;
  left: 179.2px;
  top: 495px;
  width: 50.4px;
  height: 50.4px;
}

.about-circle-label {
  position: absolute;
  font-family: 'AA Stetica', sans-serif;
  font-size: 8.64px;
  color: var(--text-primary);
  text-align: center;
  transform: translate(-50%, -50%);
}

.about-circle-label-1 {
  left: 81.76px;
  top: 484.2px;
}
.about-circle-label-2 {
  left: 147px;
  top: 500.7px;
}
.about-circle-label-3 {
  left: 204.4px;
  top: 520.2px;
  text-align: center;
  line-height: 1.33;
  font-size: 8.64px;
}

.requests-title {
  position: absolute;
  top: 0px;
  left: 9px;
  display: inline-block;
  width: fit-content;
  font-size: 33.75px;
  line-height: 1.15;
}

/* Requests content extends well beyond the photo area.
   Give the section its own vertical space so following sections
   start after all request content has finished. */
.section-requests {
  position: relative;
  height: 556px;
}

.requests-photo {
  position: absolute;
  top: 88.3px;
  left: 9px;
  right: 9px;
  overflow: hidden;
}

.requests-photo img {
  width: 100%;
  height: 50%;
  border-radius: 18px;
  object-fit: cover;
  content: url('../assets/images/sky_mobile2.png');
}

.requests-plane {
  position: absolute;
  top: 124.5px;
  left: 0;
  height: 297px;
  object-fit: contain;
  z-index: 2;
  content: url('../assets/images/sky mobile.png');
}

.requests-list {
  position: absolute;
  left: 35px;
  width: 256px;
  font-family: 'AA Stetica', sans-serif;
  font-size: 8.6px;
  line-height: 1.73;
  color: var(--text-primary);
}

.requests-list-if {
  top: 237.1px;
}

.requests-list-help {
  top: 426.3px;
}

.requests-list-title {
  font-family: 'AA Stetica', sans-serif;
  font-size: 8.6px;
  line-height: 1.73;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 0;
}

.requests-item {
  font-family: 'AA Stetica', sans-serif;
  font-size: 8.6px;
  line-height: 1.73;
  color: var(--text-primary);
  margin-bottom: 0;
  padding-left: 12px;
  position: relative;
}

.requests-dot {
  position: absolute;
  left: 0;
  top: 5.25px;
  width: 2.5px;
  height: 2.5px;
  background: var(--pink);
  border-radius: 50%;
}

/* ==================== СЕКЦИЯ 4: КАК РАБОТАЮ ==================== */
.section-approach {
  position: relative;
  height: 556px;
}

.approach-frame {
  position: absolute;
  top: 153.3px;
  left: 10px;
  right: 10px;
  height: 200px;
  border: 1.5px solid var(--green);
  border-radius: 18px;
}

.approach-title {
  position: absolute;
  top: 0px;
  left: 9px;
  font-size: 33.75px;
  line-height: 1.15;
}

.approach-text {
  position: absolute;
  left: 9px;
  right: 9px;
  font-family: 'AA Stetica', sans-serif;
  font-size: 8.6px;
  line-height: 1.73;
  color: var(--text-primary);
}

.approach-text-1 {
  top: 87.5px;
}

.approach-text-2 {
  top: 475.4px;
}

.approach-text-3 {
  top: 163.3px;
  left: 20px;
  right: auto;
  width: 185px;
}

.approach-text-4 {
  top: 359.6px;
}

.approach-pills {
  position: absolute;
  top: 395.6px;
  left: 9px;
  right: 9px;
  height: 73.5px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 6px;
  z-index: 2;
}

.pill {
  background: var(--pink);
  color: var(--text-white);
  font-family: 'AA Stetica', sans-serif;
  font-size: 11px;
  line-height: 12.5px;
  padding: 4px 12px;
  border-radius: 18px;
  text-align: center;
  white-space: nowrap;
}

.approach-circle-small {
  position: absolute;
  left: 57px;
  top: 246.3px;
  width: 72px;
  height: 72px;
}

.approach-circle-big {
  position: absolute;
  left: 109px;
  top: 236.8px;
  width: 108px;
  height: 108px;
}

.approach-circle-medium {
  position: absolute;
  left: 216px;
  top: 163.3px;
  width: 54px;
  height: 54px;
}

.approach-photo {
  position: absolute;
  right: 6px;
  top: 190.3px;
  width: 135px;
  height: 162px;
  border-radius: 18px;
  overflow: hidden;
}

.approach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================== СЕКЦИЯ 5: УСЛУГИ ==================== */
.section-services {
  height: 324px;
  position: relative;
}

.services-title {
  position: absolute;
  top: 13px;
  font-size: 33.75px;
  line-height: 1.15;
  text-align: center;
}

.services-cards {
  position: absolute;
  top: 142.5px;
  left: 9px;
  right: 9px;
  display: grid;
  grid-template-columns: repeat(2, 124px);
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.service-card:first-child {
  grid-column: 1 / -1;
  justify-self: center;
}

.service-card {
  background: var(--green);
  border-radius: 18px;
  width: 124px;
  padding: 9px;
  text-align: center;
  height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.service-label {
  font-family: 'AA Stetica', sans-serif;
  font-size: 11px;
  line-height: normal;
  color: var(--text-on-green);
  margin-bottom: 4px;
}

.service-value {
  font-family: 'AA Stetica', sans-serif;
  font-size: 11px;
  line-height: normal;
  font-weight: 700;
  color: var(--text-on-green);
}

/* ==================== СЕКЦИЯ 6: ЗАПИСАТЬСЯ ==================== */
.section-booking {
  height: 324px;
  position: relative;
}

.booking-title {
  font-size: 33.75px;
  line-height: 1.15;
  text-align: left;
  padding-left: 9px;
}

.booking-text {
  position: absolute;
  top: 87px;
  left: 9px;
  width: 220px;
  font-family: 'AA Stetica', sans-serif;
  font-size: 8.6px;
  line-height: 1.73;
  color: var(--text-primary);
}

.booking-circle {
  position: absolute;
  width: 63px;
  height: 63px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s;
}

.booking-circle:hover {
  transform: scale(1.05);
}

.booking-circle-left {
  left: 18px;
  top: 142px;
}

.booking-circle-right {
  left: 18px;
  top: 218px;
}

.booking-circle-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.booking-circle-text {
  font-family: 'AA Stetica', sans-serif;
  font-size: 8.6px;
  line-height: 1.73;
  color: var(--text-primary);
  z-index: 1;
  margin-right: 4px;
}

.booking-circle-icon {
  width: 14px;
  height: 14px;
  z-index: 1;
}

.booking-photo {
  position: absolute;
  right: 18px;
  top: 126px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
}

.booking-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================== СЕКЦИЯ 7: КОНТАКТЫ ==================== */
.section-contacts {
  position: relative;
  text-align: center;
  padding-top: 9px;
  background: var(--bg-body);
}

.contacts-title {
  font-size: 33.75px;
  line-height: 1.15;
  margin-bottom: 9px;
}

.contact-pill {
  display: block;
  background: var(--pink);
  color: var(--text-white);
  font-family: 'AA Stetica', sans-serif;
  font-size: 12.6px;
  text-decoration: none;
  padding: 6px 36px;
  border-radius: 18px;
  margin: 9px auto;
  transition: transform 0.3s;
  width: 180px;
}

.contact-pill:hover {
  transform: scale(1.05);
}

.contacts-text {
  font-family: 'AA Stetica', sans-serif;
  font-size: 8.6px;
  line-height: 1.73;
  color: var(--text-primary);
  margin-top: 9px;
  margin-bottom: 9px;
}
