/* Services overview panel — loads after style.css */

.crt-section.crt-services {
  padding-bottom: calc(var(--crt-section-y, 72px) + 36px);
}

.crt-section.crt-services .crt-services__title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  color: #322e4a;
}

.crt-section.crt-services .crt-services__title::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 0.95em;
  border-radius: 3px;
  background: var(--crt-primary, #f70c13);
}

.crt-section.crt-services .crt-services__panel {
  background: #475567;
  border-radius: 20px;
  overflow: visible;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.crt-section.crt-services .crt-services__tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  min-height: 56px;
  background: #475567;
  border-radius: 20px 20px 0 0;
  overflow: visible;
}

.crt-section.crt-services .crt-services__tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 0;
  min-height: 58px;
  margin: 0 0 0 -34px;
  padding: 25px 44px 25px 48px;
  border: none;
  background: #f8d152;
  color: #322e4a !important;
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  box-sizing: border-box;
  cursor: pointer;
  border-radius: 20px 20px 100px 20px;
  box-shadow: 4px 0 10px rgba(50, 46, 74, 0.28);
  z-index: 1;
}

.crt-section.crt-services .crt-services__tab:first-child,
.crt-section.crt-services .crt-services__tab.is-active {
  flex: 1 1 auto;
  min-width: min(100%, 430px);
  margin-left: 0;
  padding: 25px 44px 25px 24px;
  background: #475567;
  color: #fff !important;
  border: none;
  border-radius: 20px 20px 100px 20px;
  box-shadow: 4px 0 10px rgba(50, 46, 74, 0.28);
  text-transform: uppercase;
  font-size: 20px;
  z-index: 5;
  white-space: normal;
}

.crt-section.crt-services .crt-services__tab:nth-child(2) {
  z-index: 4;
}

.crt-section.crt-services .crt-services__tab:nth-child(3) {
  z-index: 3;
}

.crt-section.crt-services .crt-services__tab:nth-child(4) {
  z-index: 2;
}

.crt-section.crt-services .crt-services__tab:last-child {
  margin-right: 0;
  padding-right: 38px;
  border-radius: 20px 20px 100px 20px;
  z-index: 1;
}

.crt-section.crt-services .crt-services__tab:not(.is-active):hover {
  background: #f3c83f;
  color: #322e4a !important;
}

.crt-section.crt-services .crt-services__panel-body {
  padding: 28px 24px 32px;
}

.crt-section.crt-services .crt-services__intro {
  margin-bottom: 28px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.crt-section.crt-services .crt-services__intro p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.92);
}

.crt-section.crt-services .crt-services__intro strong {
  color: #fff;
}

.crt-section.crt-services .crt-services__block + .crt-services__block {
  margin-top: 28px;
}

.crt-section.crt-services .crt-services__block-title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.crt-section.crt-services .crt-services__delivery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 19px;
}

.crt-section.crt-services .crt-services__delivery-card {
  display: flex;
  flex-direction: column;
  min-height: 177px;
  border-radius: 20px;
  background: #fff;
  color: #322e4a;
  overflow: hidden;
}

.crt-section.crt-services .crt-services__delivery-media {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  height: 96px;
  padding: 0;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  background: #f8d152;
}

.crt-section.crt-services .crt-services__delivery-card:nth-child(1) .crt-services__delivery-media {
  background: #f8d152;
}

.crt-section.crt-services .crt-services__delivery-card:nth-child(2) .crt-services__delivery-media {
  background: #ffe694;
}

.crt-section.crt-services .crt-services__delivery-card:nth-child(3) .crt-services__delivery-media {
  background: #fff3cc;
}

.crt-section.crt-services .crt-services__delivery-card:nth-child(4) .crt-services__delivery-media {
  background: #ffe694;
}

.crt-section.crt-services .crt-services__delivery-card:nth-child(5) .crt-services__delivery-media {
  background: #fff3cc;
}

.crt-section.crt-services .crt-services__delivery-card:nth-child(6) .crt-services__delivery-media {
  background: #fffaeb;
}

.crt-section.crt-services .crt-services__delivery-media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 81px;
  object-fit: contain;
  object-position: left bottom;
}

.crt-section.crt-services .crt-services__delivery-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 14px 0;
  font-size: 16px;
  line-height: 1.35;
}

.crt-section.crt-services .crt-services__delivery-days {
  font-weight: 700;
  color: #322e4a;
}

.crt-section.crt-services .crt-services__delivery-price {
  font-size: 14px;
  font-weight: 700;
  color: #322e4a;
  white-space: nowrap;
}

.crt-section.crt-services .crt-services__delivery-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding: 6px 14px 14px;
}

.crt-section.crt-services .crt-services__delivery-mode {
  font-size: 18px;
  font-weight: 700;
}

.crt-section.crt-services .crt-services__delivery-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #f8d152;
  color: #322e4a;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.crt-section.crt-services .crt-services__pack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.crt-section.crt-services .crt-services__pack-card {
  position: relative;
  display: block;
  min-height: 135px;
  padding: 18px 20px 16px;
  border-radius: 20px;
  background: #fff;
  color: #322e4a;
  overflow: hidden;
}

.crt-section.crt-services .crt-services__pack-copy {
  position: relative;
  z-index: 2;
  max-width: 58%;
}

.crt-section.crt-services .crt-services__pack-title {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.crt-section.crt-services .crt-services__pack-price {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #475567;
}

.crt-section.crt-services .crt-services__pack-media {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(62%, 200px);
  height: 118px;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  pointer-events: none;
}

.crt-section.crt-services .crt-services__pack-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: right bottom;
}

.crt-section.crt-services .crt-services__payment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.crt-section.crt-services .crt-services__payment-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 104px;
  padding: 0;
  border-radius: 20px;
  background: #fff;
  color: #322e4a;
  overflow: hidden;
}

.crt-section.crt-services .crt-services__payment-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 92px;
  width: 92px;
  min-height: 100%;
  margin: 0;
  padding: 0 10px;
  border-radius: 0 20px 100px 0;
  background: #f8d152;
  box-sizing: border-box;
  overflow: hidden;
}

.crt-section.crt-services .crt-services__payment-icon {
  display: block;
  width: 48px;
  height: 48px;
  max-width: none;
  object-fit: contain;
}

.crt-section.crt-services .crt-services__payment-body {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  min-height: 104px;
  padding: 14px 34px 14px 16px;
  background: #fff;
}

.crt-section.crt-services .crt-services__payment-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  color: #322e4a;
}

.crt-section.crt-services .crt-services__payment-arrow {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 14px;
  height: 14px;
}

.crt-section.crt-services .crt-services__payment-arrow::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #322e4a;
  border-right: 2px solid #322e4a;
  transform: rotate(45deg);
}

.crt-section.crt-services .crt-services__cta {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin: 0;
  padding: 28px 32px 32px;
  border-radius: 20px;
  background: #f8d152;
  border: none;
  overflow: visible;
  z-index: 2;
}

.crt-section.crt-services .crt-services__cta-content {
  position: relative;
  z-index: 2;
  flex: 1 1 0;
  min-width: 0;
}

.crt-section.crt-services .crt-services__cta-title {
  margin: 0 0 18px;
  max-width: 28rem;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  color: #322e4a;
}

.crt-section.crt-services .crt-services__cta-decor {
  position: relative;
  flex: 0 0 min(440px, 44%);
  min-height: 240px;
  pointer-events: none;
}

.crt-section.crt-services .crt-services__cta-flags {
  position: absolute;
  top: -57px;
  right: 100px;
  left: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  width: auto;
  height: auto;
  z-index: 1;
}

.crt-section.crt-services .crt-services__cta-flag {
  position: static;
  display: block;
  width: 160px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.crt-section.crt-services .crt-services__cta-plane {
  position: absolute;
  right: -32px;
  bottom: -32px;
  width: min(100%, 420px);
  height: auto;
  max-width: none;
  object-fit: contain;
  z-index: 1;
}

.crt-section.crt-services .crt-services__cta-form {
  max-width: 720px;
}

.crt-section.crt-services .crt-services__cta-form .crt-cf7-wrap {
  width: 100%;
}

.crt-section.crt-services .crt-services__cta-form .crt-cf7-horizontal .wpcf7-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin: 0;
}

.crt-section.crt-services .crt-services__cta-form .crt-cf7-horizontal .dv_css-form__inputsbox_inrow {
  display: contents;
}

.crt-section.crt-services .crt-services__cta-form .crt-cf7-horizontal .t-input-group_nm,
.crt-section.crt-services .crt-services__cta-form .crt-cf7-horizontal .t-input-group_ph {
  flex: 1 1 160px;
  min-width: 0;
  max-width: none;
  display: block !important;
}

.crt-section.crt-services .crt-services__cta-form .crt-cf7-horizontal .t-input-group_cb {
  flex: 1 1 100%;
  width: 100%;
  display: block !important;
}

.crt-section.crt-services .crt-services__cta-form .crt-cf7-horizontal .dv_css-form__submit {
  position: static !important;
  left: auto !important;
  flex: 0 0 auto;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  opacity: 1 !important;
  margin: 0;
}

.crt-section.crt-services .crt-services__cta-form .crt-cf7-horizontal .t-input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid rgba(50, 46, 74, 0.12);
  border-radius: 12px;
  background: #fff;
  color: #322e4a;
  font-size: 15px;
}

.crt-section.crt-services .crt-services__cta-form .crt-cf7-horizontal .wpcf7-submit {
  min-width: 156px;
  padding: 14px 32px;
  border: none;
  border-radius: 999px;
  background: var(--crt-primary, #f70c13);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.crt-section.crt-services .crt-services__cta-form .crt-cf7-horizontal .t-checkbox__labeltext {
  color: #322e4a;
  font-size: 12px;
  line-height: 1.4;
}

.crt-section.crt-services .crt-services__cta-form .crt-cf7-horizontal .t-checkbox__indicator {
  border: 1px solid rgba(50, 46, 74, 0.35);
  background: #fff;
}

.crt-section.crt-services .crt-services__cta-form .crt-cf7-horizontal .wpcf7-response-output {
  flex: 1 1 100%;
  margin: 0;
}

@media (max-width: 1200px) {
  .crt-section.crt-services .crt-services__delivery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .crt-section.crt-services .crt-services__pack-grid,
  .crt-section.crt-services .crt-services__payment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crt-section.crt-services .crt-services__tab {
    font-size: 16px;
    padding: 18px 28px 18px 32px;
    margin-left: -24px;
  }

  .crt-section.crt-services .crt-services__tab:first-child,
  .crt-section.crt-services .crt-services__tab.is-active {
    padding: 18px 28px 18px 20px;
    font-size: 16px;
  }
}

@media (max-width: 960px) {
  .crt-section.crt-services .crt-services__tabs {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    overflow: hidden;
  }

  .crt-section.crt-services .crt-services__tab,
  .crt-section.crt-services .crt-services__tab:first-child,
  .crt-section.crt-services .crt-services__tab.is-active,
  .crt-section.crt-services .crt-services__tab:last-child {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 16px 20px;
    border-radius: 0;
    box-shadow: none;
    white-space: normal;
    text-align: center;
    font-size: 16px;
  }

  .crt-section.crt-services .crt-services__tab:first-child,
  .crt-section.crt-services .crt-services__tab.is-active {
    padding: 18px 20px;
    font-size: 15px;
    text-transform: uppercase;
    background: #475567;
    color: #fff !important;
    border-radius: 20px 20px 0 0;
  }

  .crt-section.crt-services .crt-services__tab:not(.is-active):not(:first-child) {
    background: #f8d152;
    color: #322e4a !important;
    border-bottom: 1px solid rgba(50, 46, 74, 0.08);
  }

  .crt-section.crt-services .crt-services__tab:last-child {
    border-bottom: none;
  }
}

@media (max-width: 760px) {
  .crt-section.crt-services .crt-services__delivery-grid,
  .crt-section.crt-services .crt-services__pack-grid,
  .crt-section.crt-services .crt-services__payment-grid {
    grid-template-columns: 1fr;
  }

  .crt-section.crt-services .crt-services__panel-body {
    padding: 20px 16px 24px;
  }

  .crt-section.crt-services .crt-services__cta {
    flex-direction: column;
    margin: 0;
    padding: 22px 18px 24px;
    overflow: hidden;
  }

  .crt-section.crt-services .crt-services__cta-form .crt-cf7-horizontal .wpcf7-submit {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .crt-section.crt-services .crt-services__cta-decor {
    flex: 0 0 auto;
    min-height: 180px;
    width: 100%;
  }

  .crt-section.crt-services .crt-services__cta-flags {
    top: -40px;
    right: 12px;
  }

  .crt-section.crt-services .crt-services__cta-flag {
    width: 120px;
    height: 66px;
  }

  .crt-section.crt-services .crt-services__cta-plane {
    right: -8px;
    bottom: -20px;
    width: min(88vw, 320px);
  }

  .crt-section.crt-services .crt-services__payment-card {
    flex-direction: row;
  }

  .crt-section.crt-services .crt-services__payment-icon-wrap {
    flex-basis: 72px;
    width: 72px;
  }
}
