.ag-lock {
  overflow: hidden !important;
}

.ag-modal,
.ag-modal * {
  box-sizing: border-box;
}

.ag-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y;
  color: #fff;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.ag-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ag-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}

.ag-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1260px, calc(100vw - 28px));
  max-width: calc(100% - 28px);
  max-height: calc(100vh - 28px);
  max-height: calc(100dvh - 28px);
  margin: 14px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: #050505;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72);
  transform: translateY(14px) scale(0.985);
  transition: transform 0.24s ease;
}

.ag-modal.is-open .ag-modal__dialog {
  transform: translateY(0) scale(1);
}

.ag-modal__scroll {
  max-height: calc(100vh - 28px);
  max-height: calc(100dvh - 28px);
  overflow-y: auto;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior: contain;
  overscroll-behavior-x: none;
  padding: clamp(24px, 4vw, 52px);
  padding-bottom: calc(clamp(54px, 7vw, 90px) + env(safe-area-inset-bottom, 0px));
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.ag-modal__body {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

.ag-modal__scroll::-webkit-scrollbar {
  width: 8px;
}

.ag-modal__scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.ag-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 34px;
  line-height: 38px;
  font-weight: 300;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ag-modal__close:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  transform: rotate(90deg);
}

.ag-modal__title {
  max-width: calc(100% - 58px);
  margin: 0 0 12px;
  font-size: clamp(32px, 5.2vw, 70px);
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ag-modal__lead {
  max-width: 760px;
  margin: 0 0 clamp(22px, 4vw, 38px);
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(13px, 1.45vw, 17px);
  line-height: 1.48;
}

.ag-search {
  width: 100%;
  min-height: 52px;
  margin: 0 0 10px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  font: inherit;
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.2;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ag-search::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.ag-search:focus,
.ag-select:focus {
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.ag-hint,
.ag-empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(12px, 1.35vw, 15px);
  line-height: 1.45;
}

.ag-empty {
  display: none;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.72);
}

.ag-empty.is-visible {
  display: block;
}

.ag-price-section {
  margin-top: clamp(12px, 2vw, 20px);
  padding: 0 !important;
}

.ag-price-section:first-child {
  margin-top: 0;
}

.ag-section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 6px;
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.1;
  font-weight: 850;
  text-transform: uppercase;
}

.ag-section-title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.ag-promo-price {
  margin-bottom: clamp(20px, 3vw, 34px);
  padding: clamp(18px, 2.4vw, 28px) !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(183, 215, 199, 0.11), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
}

.ag-promo-price__head {
  display: grid;
  grid-template-columns: minmax(0, 0.56fr) minmax(260px, 0.44fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}

.ag-promo-price__head .ag-section-title {
  margin-bottom: 0;
}

.ag-promo-price__head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(12px, 1.15vw, 14px);
  line-height: 1.5;
}

.ag-promo-price__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ag-promo-price__card {
  min-width: 0;
  min-height: 210px;
  display: grid;
  align-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.ag-promo-price__card span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(183, 215, 199, 0.26);
  border-radius: 999px;
  color: #b7d7c7;
  font-size: clamp(10px, 1vw, 12px);
  line-height: 1;
  font-weight: 850;
  text-transform: uppercase;
  background: rgba(183, 215, 199, 0.06);
}

.ag-promo-price__card b {
  display: block;
  color: #fff;
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 1.08;
  font-weight: 900;
  text-transform: uppercase;
}

.ag-promo-price__card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(12px, 1.1vw, 14px);
  line-height: 1.45;
}

.ag-promo-price__card div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ag-promo-price__card small {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.035);
}

.ag-price-table,
.ag-car-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.ag-price-table th,
.ag-price-table td,
.ag-car-table th,
.ag-car-table td {
  padding: 9px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  vertical-align: top;
  text-align: left;
}

.ag-price-table th,
.ag-car-table th {
  color: rgba(255, 255, 255, 0.56);
  font-size: clamp(11px, 1vw, 13px);
  line-height: 1.25;
  font-weight: 800;
  text-transform: uppercase;
}

.ag-price-table td,
.ag-car-table td {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(12px, 1.1vw, 15px);
  line-height: 1.42;
}

.ag-price-table th:first-child,
.ag-price-table td:first-child {
  width: 38%;
}

.ag-car-table th:first-child,
.ag-car-table td:first-child {
  width: 150px;
}

.ag-strong {
  color: #fff !important;
  font-weight: 850;
  text-transform: uppercase;
}

.ag-desc {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(12px, 1.15vw, 14px);
  line-height: 1.42;
  text-transform: none;
  font-weight: 500;
}

.ag-duration {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  margin-top: 8px;
  padding: 0 10px;
  border: 1px solid rgba(183, 215, 199, 0.24);
  border-radius: 999px;
  background: rgba(183, 215, 199, 0.06);
  color: #b7d7c7;
  font-size: clamp(10px, 1vw, 12px);
  line-height: 1;
  font-weight: 850;
  text-transform: uppercase;
}

.ag-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ag-car-table {
  min-width: 1080px;
}

.ag-mobile-list {
  display: none;
}

.ag-card {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  animation: ag-rise 0.22s ease both;
}

.ag-card:first-child {
  border-top: 0;
}

.ag-card-title {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(17px, 4.4vw, 22px);
  line-height: 1.1;
  font-weight: 850;
  text-transform: uppercase;
}

.ag-card-desc {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(12px, 3.3vw, 15px);
  line-height: 1.45;
}

.ag-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.ag-card-item {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.ag-card-label {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.5);
  font-size: clamp(10px, 2.8vw, 12px);
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.ag-card-value {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(12px, 3.3vw, 15px);
  line-height: 1.35;
  font-weight: 700;
}

.ag-service-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.8fr);
  gap: 14px;
  align-items: stretch;
}

.ag-service-detail__main,
.ag-service-detail__list {
  min-width: 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), transparent 42%),
    rgba(255, 255, 255, 0.045);
}

.ag-service-detail__main span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(183, 215, 199, 0.25);
  border-radius: 999px;
  color: #b7d7c7;
  font-size: clamp(10px, 1.2vw, 12px);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.ag-service-detail__main b {
  display: block;
  margin-top: 20px;
  color: #fff;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.94;
  font-weight: 950;
  text-transform: uppercase;
}

.ag-service-detail__main p {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(14px, 1.45vw, 17px);
  line-height: 1.5;
}

.ag-service-detail__list {
  display: grid;
  gap: 10px;
}

.ag-service-detail__list div {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(13px, 1.35vw, 15px);
  line-height: 1.42;
}

.ag-service-detail__list div:first-child {
  border-top: 0;
  padding-top: 0;
}

.ag-service-detail__list div span {
  width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: #b7d7c7;
}

.ag-service-detail > .ag-actions {
  grid-column: 1 / -1;
  margin-top: 2px;
}

.ag-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(18px, 3vw, 28px);
  align-items: start;
  min-width: 0;
  max-width: 100%;
}

.ag-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
  max-width: 100%;
}

.ag-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.ag-field-wide {
  grid-column: 1 / -1;
}

.ag-label {
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(11px, 1.25vw, 13px);
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.ag-input,
.ag-textarea {
  width: 100%;
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  font: inherit;
  font-size: clamp(14px, 1.45vw, 16px);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ag-input {
  min-height: 54px;
  padding: 0 16px;
}

.ag-textarea {
  min-height: 114px;
  padding: 14px 16px;
  line-height: 1.45;
  resize: vertical;
}

.ag-input::placeholder,
.ag-textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.ag-input:focus,
.ag-textarea:focus {
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.ag-consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.ag-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #fff;
  cursor: pointer;
}

.ag-consent span {
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(12px, 1.25vw, 14px);
  line-height: 1.45;
}

.ag-consent a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.ag-consent.is-invalid {
  border-color: rgba(255, 110, 110, 0.75);
  box-shadow: 0 0 0 3px rgba(255, 110, 110, 0.11);
}

.ag-select {
  width: 100%;
  min-height: 54px;
  margin: 0;
  padding: 0 42px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  outline: none;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.72) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72) 50%, transparent 50%),
    rgba(255, 255, 255, 0.055);
  background-position: calc(100% - 22px) 24px, calc(100% - 15px) 24px, 0 0;
  background-size: 7px 7px, 7px 7px, 100% 100%;
  background-repeat: no-repeat;
  color: #fff;
  font: inherit;
  font-size: clamp(14px, 1.45vw, 16px);
  cursor: pointer;
}

.ag-select:disabled {
  color: rgba(255, 255, 255, 0.38);
  cursor: default;
  opacity: 0.72;
}

.ag-select option {
  background: #111;
  color: #fff;
}

.ag-manual {
  display: none;
  grid-column: 1 / -1;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.ag-manual.is-visible {
  display: grid;
  gap: 12px;
  animation: ag-rise 0.22s ease both;
}

.ag-result {
  min-height: 100%;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.ag-booking-side {
  min-width: 0;
  max-width: 100%;
  min-height: 100%;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.ag-booking-summary {
  min-width: 0;
  max-width: 100%;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(13px, 1.35vw, 15px);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.ag-summary-line {
  display: grid;
  grid-template-columns: minmax(92px, 0.7fr) minmax(0, 1.3fr);
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.ag-summary-line:first-child {
  border-top: 0;
  padding-top: 0;
}

.ag-summary-line:last-child {
  padding-bottom: 0;
}

.ag-summary-line span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 900;
  text-transform: uppercase;
}

.ag-summary-line b {
  min-width: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(13px, 1.35vw, 15px);
  line-height: 1.32;
  font-weight: 800;
}

.ag-summary-line.is-accent b {
  color: #fff;
  font-size: clamp(16px, 1.8vw, 21px);
}

.ag-time-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.ag-time-grid[hidden] {
  display: none;
}

.ag-time-grid button {
  display: grid;
  gap: 4px;
  min-height: 58px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.ag-time-grid button:hover:not(:disabled),
.ag-time-grid button.is-active {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-1px);
}

.ag-time-grid button:disabled {
  cursor: default;
  opacity: 0.42;
}

.ag-time-grid span {
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
}

.ag-time-grid em {
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  line-height: 1.1;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.ag-slot-note {
  grid-column: 1 / -1;
  margin: -2px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: clamp(12px, 1.3vw, 14px);
  line-height: 1.45;
}

.ag-booking-status {
  min-height: 21px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(12px, 1.3vw, 14px);
  line-height: 1.45;
}

.ag-booking-status[data-mode="success"] {
  color: #b7d7c7;
}

.ag-booking-status[data-mode="error"] {
  color: #ffb7b7;
}

.ag-booking-success {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(183, 215, 199, 0.28);
  border-radius: 14px;
  background: rgba(183, 215, 199, 0.075);
  animation: ag-rise 0.24s ease both;
}

.ag-booking-success[hidden] {
  display: none;
}

.ag-booking-success span {
  color: #b7d7c7;
  font-size: clamp(11px, 1.2vw, 13px);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.ag-booking-success b {
  color: #fff;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 0.95;
}

.ag-booking-success p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(13px, 1.35vw, 15px);
  line-height: 1.45;
}

.ag-booking-form.is-success .ag-booking-side > .ag-actions,
.ag-booking-form.is-success .ag-booking-status {
  display: none;
}

.ag-account {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(16px, 3vw, 28px);
  align-items: stretch;
}

.ag-account-hero,
.ag-account-grid article {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.ag-account-hero {
  display: grid;
  align-content: space-between;
  min-width: 0;
  min-height: 420px;
  padding: clamp(22px, 4vw, 38px);
  overflow: hidden;
}

.ag-account-label {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 10px;
  border: 1px solid rgba(183, 215, 199, 0.28);
  border-radius: 999px;
  color: #b7d7c7;
  font-size: clamp(11px, 1.2vw, 13px);
  line-height: 1;
  font-weight: 850;
  text-transform: uppercase;
}

.ag-account-hero h3 {
  max-width: 100%;
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 0.98;
  font-weight: 900;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.ag-account-hero p:not(.ag-account-label),
.ag-account-grid p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(13px, 1.35vw, 15px);
  line-height: 1.48;
}

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

.ag-account-grid article {
  min-height: 196px;
  padding: 20px;
}

.ag-account-grid span {
  display: block;
  margin-bottom: 34px;
  color: #b7d7c7;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.ag-account-grid b {
  display: block;
  color: #fff;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.08;
  text-transform: uppercase;
}

.ag-result.is-ready {
  animation: ag-rise 0.24s ease both;
}

.ag-result-car {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(20px, 2.7vw, 30px);
  line-height: 1.1;
  font-weight: 850;
  text-transform: uppercase;
}

.ag-result-meta,
.ag-result-desc,
.ag-result-placeholder,
.ag-footnote {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(13px, 1.35vw, 15px);
  line-height: 1.48;
}

.ag-badge {
  display: inline-flex;
  width: fit-content;
  margin: 14px 0 18px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 800;
}

.ag-result-service {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.16;
  font-weight: 850;
}

.ag-price-label {
  margin: 22px 0 5px;
  color: rgba(255, 255, 255, 0.52);
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 800;
  text-transform: uppercase;
}

.ag-final-price {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 0.95;
  font-weight: 900;
}

.ag-footnote {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.48);
  font-size: clamp(11px, 1.25vw, 13px);
}

.ag-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ag-button,
.ag-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font: inherit;
  font-size: clamp(13px, 1.35vw, 15px);
  font-weight: 850;
  cursor: pointer;
  text-decoration: none;
}

.ag-button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #fff;
}

.ag-link {
  border: 1px solid #fff;
  background: #fff;
  color: #050505;
}

.ag-button:disabled,
.ag-link:disabled {
  cursor: default;
  opacity: 0.58;
}

@keyframes ag-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .ag-form-grid,
  .ag-account,
  .ag-service-detail {
    grid-template-columns: 1fr;
  }

  .ag-promo-price__head,
  .ag-promo-price__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .ag-modal__dialog {
    width: calc(100% - 16px);
    max-width: calc(100% - 16px);
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    margin: 8px 0;
    border-radius: 14px;
  }

  .ag-modal__scroll {
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    padding: 22px 16px;
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  .ag-modal__close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 31px;
    line-height: 34px;
  }

  .ag-price-desktop,
  .ag-cars-desktop {
    display: none;
  }

  .ag-mobile-list {
    display: block;
  }

  .ag-fields {
    grid-template-columns: 1fr;
  }

  .ag-time-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ag-summary-line {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .ag-service-detail__main,
  .ag-service-detail__list {
    padding: 16px;
    border-radius: 14px;
  }

  .ag-service-detail__main b {
    font-size: clamp(30px, 12vw, 48px);
  }

  .ag-service-detail > .ag-actions .ag-link,
  .ag-service-detail > .ag-actions .ag-button {
    width: 100%;
  }

  .ag-account-hero {
    min-height: 340px;
  }

  .ag-price-section {
    margin-top: 14px;
  }
}

@media (max-width: 430px) {
  .ag-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ag-time-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ag-account-grid {
    grid-template-columns: 1fr;
  }
}
