.arn-country-services {
  --arn-red: #b50000;
  --arn-red-dark: #8f0000;
  --arn-ink: #15171c;
  --arn-muted: #68707d;
  --arn-line: #e5e8ed;
  --arn-soft: #f6f7f9;
  position: relative;
  scroll-margin-top: 105px;
  padding: 82px 0;
  background:
    radial-gradient(circle at 95% 5%, rgba(181, 0, 0, .08), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f8f9fb 100%);
  overflow: hidden;
}

.arn-country-services::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(181, 0, 0, .22), transparent);
}

.arn-country-services .container {
  position: relative;
  z-index: 1;
}

.arn-country-services-head {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.arn-country-services-head > span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 13px;
  border: 1px solid rgba(181, 0, 0, .15);
  border-radius: 999px;
  background: rgba(181, 0, 0, .06);
  color: var(--arn-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.arn-country-services-head h2 {
  margin: 14px 0 10px;
  color: var(--arn-ink);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.arn-country-services-head p {
  margin: 0;
  color: var(--arn-muted);
  font-size: 16px;
  line-height: 1.7;
}

.arn-country-type-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  max-width: 1080px;
  margin: 0 auto 16px;
  padding: 8px;
  border: 1px solid var(--arn-line);
  border-radius: 17px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 35px rgba(21, 23, 28, .06);
}

.arn-country-type-choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: #424853;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.arn-country-type-choice:hover {
  border-color: #e2e5ea;
  background: #f6f7f9;
  color: var(--arn-ink);
  transform: translateY(-1px);
}

.arn-country-type-choice.is-active {
  border-color: var(--arn-red);
  background: var(--arn-red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(181, 0, 0, .19);
}

.arn-country-type-choice i {
  font-style: normal;
  font-size: 17px;
  line-height: 1;
}

.arn-country-type-choice:focus-visible,
.arn-country-buy-button:focus-visible,
.arn-country-quantity-control button:focus-visible,
.arn-country-quick-counts button:focus-visible,
.arn-country-field select:focus-visible,
.arn-country-field input:focus-visible {
  outline: 3px solid rgba(181, 0, 0, .2);
  outline-offset: 2px;
}

.arn-country-builder {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid var(--arn-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 65px rgba(21, 23, 28, .1);
}

.arn-country-builder.is-loading {
  cursor: progress;
}

.arn-country-builder-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.15fr 1.1fr;
  gap: 16px;
  align-items: stretch;
}

.arn-country-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--arn-line);
  border-radius: 15px;
  background: #fff;
}

.arn-country-field > span:first-child {
  display: block;
  margin-bottom: 10px;
  color: #555e69;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.arn-country-select-wrap {
  position: relative;
  display: block;
}

.arn-country-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #666e79;
  border-bottom: 2px solid #666e79;
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.arn-country-field select,
.arn-country-field input {
  width: 100%;
  min-height: 50px;
  border: 1px solid #daddE3;
  border-radius: 11px;
  background: #f9fafb;
  color: var(--arn-ink);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
}

.arn-country-field select {
  padding: 0 42px 0 14px;
  appearance: none;
  cursor: pointer;
}

.arn-country-field select:disabled {
  color: #8b929c;
  cursor: wait;
  opacity: .72;
}

.arn-country-quantity-control {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  min-height: 50px;
  overflow: hidden;
  border: 1px solid #daddE3;
  border-radius: 11px;
  background: #f9fafb;
}

.arn-country-quantity-control button {
  border: 0;
  background: #f0f2f5;
  color: var(--arn-ink);
  font-size: 22px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}

.arn-country-quantity-control button:hover {
  background: var(--arn-red);
  color: #fff;
}

.arn-country-quantity-control input {
  min-height: 48px;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
  -moz-appearance: textfield;
}

.arn-country-quantity-control input::-webkit-outer-spin-button,
.arn-country-quantity-control input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.arn-country-quick-counts {
  display: flex;
  gap: 5px;
  margin-top: 9px;
}

.arn-country-quick-counts button {
  flex: 1 1 auto;
  min-width: 0;
  padding: 5px 3px;
  border: 1px solid #e1e4e8;
  border-radius: 7px;
  background: #fff;
  color: #707782;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.arn-country-quick-counts button:hover,
.arn-country-quick-counts button.is-active {
  border-color: rgba(181, 0, 0, .35);
  background: rgba(181, 0, 0, .06);
  color: var(--arn-red);
}

.arn-country-price-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  border-radius: 15px;
  background: linear-gradient(145deg, #17191f, #272b34);
  color: #fff;
  box-shadow: inset 0 1px rgba(255, 255, 255, .08);
}

.arn-country-price-row,
.arn-country-price-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.arn-country-price-row {
  color: #bfc5cf;
  font-size: 12px;
}

.arn-country-price-row strong {
  color: #fff;
  font-size: 13px;
}

.arn-country-discount-row {
  margin-top: 5px;
  color: #ffc1c1;
}

.arn-country-discount-row strong {
  color: #ffb8b8;
}

.arn-country-price-total {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.arn-country-price-total span {
  font-size: 13px;
  font-weight: 700;
}

.arn-country-price-total strong {
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -.025em;
}

.arn-country-buy-button {
  width: 100%;
  min-height: 47px;
  margin-top: 14px;
  border: 0;
  border-radius: 10px;
  background: var(--arn-red);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, opacity .18s ease;
}

.arn-country-buy-button:hover:not(:disabled) {
  background: #d00000;
  transform: translateY(-1px);
}

.arn-country-buy-button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.arn-country-builder-status {
  min-height: 20px;
  margin: 14px 2px 0;
  color: var(--arn-muted);
  font-size: 13px;
  text-align: center;
}

.arn-country-builder-status.is-error {
  color: var(--arn-red);
  font-weight: 700;
}

.arn-country-service-empty {
  max-width: 760px;
  margin: 0 auto;
  padding: 22px;
  border: 1px dashed #d9dde3;
  border-radius: 14px;
  color: var(--arn-muted);
  text-align: center;
}

.arn-country-page-content.is-loading,
#arn-country-page-content.is-loading {
  opacity: .58;
  pointer-events: none;
  transition: opacity .18s ease;
}

.arn-country-plan-modal {
  z-index: 10050;
}

.arn-country-plan-modal .modal-dialog {
  width: calc(100% - 28px);
  max-width: 900px;
  margin: 20px auto;
}

.arn-country-plan-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .27);
}

.arn-country-plan-modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #eceef1;
  background: #fff;
}

.arn-country-plan-modal .modal-title {
  margin: 2px 0 0;
  color: var(--arn-ink, #15171c);
  font-size: 22px;
  font-weight: 800;
}

.arn-country-modal-eyebrow {
  color: #b50000;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .11em;
}

.arn-country-plan-modal .close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f1f3f5;
  color: #353a42;
  font-size: 27px;
  line-height: 1;
  opacity: 1;
}

.arn-country-plan-modal .modal-body {
  padding: 0;
  background: #fff;
}

.arn-country-order-shell {
  position: relative;
  min-height: 620px;
  background: #fff;
}

.arn-country-order-frame {
  display: block;
  width: 100%;
  min-height: 620px;
  border: 0;
  background: #fff;
}

.arn-country-order-loading {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fff;
  color: #69717d;
  transition: opacity .18s ease, visibility .18s ease;
}

.arn-country-order-loading.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.arn-country-order-loading span {
  width: 34px;
  height: 34px;
  border: 3px solid #eceef1;
  border-top-color: #b50000;
  border-radius: 50%;
  animation: arn-country-spin .72s linear infinite;
}

.arn-country-order-loading p {
  margin: 0;
  font-size: 13px;
}

@keyframes arn-country-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 991px) {
  .arn-country-services { padding: 64px 0; }
  .arn-country-builder-grid { grid-template-columns: 1fr 1fr; }
  .arn-country-price-card { min-height: 188px; }
}

@media (max-width: 640px) {
  .arn-country-services {
    scroll-margin-top: 80px;
    padding: 52px 0;
  }

  .arn-country-services-head { margin-bottom: 22px; }
  .arn-country-services-head p { font-size: 14px; }

  .arn-country-type-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin: 0 -4px 12px;
    overflow-x: auto;
    border-radius: 14px;
    scrollbar-width: thin;
  }

  .arn-country-type-choice {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 9px 14px;
    font-size: 13px;
  }

  .arn-country-builder {
    margin: 0 -4px;
    padding: 14px;
    border-radius: 17px;
  }

  .arn-country-builder-grid { grid-template-columns: 1fr; gap: 10px; }
  .arn-country-field, .arn-country-price-card { padding: 15px; }
  .arn-country-price-card { min-height: 0; }

  .arn-country-plan-modal .modal-dialog {
    width: calc(100% - 12px);
    margin: 6px auto;
  }

  .arn-country-plan-modal .modal-content { border-radius: 13px; }
  .arn-country-plan-modal .modal-header { padding: 14px 15px; }
  .arn-country-plan-modal .modal-title { font-size: 18px; }
  .arn-country-order-shell, .arn-country-order-frame { min-height: 680px; }
}

@media (prefers-reduced-motion: reduce) {
  .arn-country-services *,
  .arn-country-plan-modal * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

