/* ============================================================
   СТРАНИЦА АРЕНДЫ — page-arenda.css
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.arenda-hero {
  padding: 80px 0 60px;
  text-align: center;
}

.arenda-hero__title {
  font-family: var(--h1-font-family, "Manrope-SemiBold", sans-serif);
  font-size: var(--h1-font-size, 64px);
  line-height: var(--h1-line-height, 110%);
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 14px;
}

.arenda-hero__title-accent {
  color: var(--main, #2a3a81);
}

.arenda-hero__title-dark {
  color: #0e0e0e;
}

/* ── Grid section ─────────────────────────────────────────── */
.arenda-grid-section {
  padding: 0 0 100px;
}

.arenda-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* ── Card ─────────────────────────────────────────────────── */
.arenda-card {
  background: var(--fon, #f0f0f0);
  border-radius: 20px;
  padding: 20px 20px 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 4px 4px 17px 0px rgba(38, 59, 128, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.arenda-card:hover {
  transform: translateY(-4px);
  box-shadow: 4px 8px 24px rgba(38, 59, 128, 0.2);
}

.arenda-card__img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  flex-shrink: 0;
}

.arenda-card__body {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
  flex: 1;
}

.arenda-card__title {
  color: #222;
  font-family: "Manrope-Bold", sans-serif;
  font-size: 22px;
  line-height: 130%;
  font-weight: 700;
}

/* ── Accordion (Подробнее) ────────────────────────────────── */
.arenda-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  gap: 8px;
}

.arenda-accordion__trigger span {
  color: var(--main, #2a3a81);
  font-family: "Manrope-Bold", sans-serif;
  font-size: 18px;
  line-height: 130%;
  font-weight: 700;
}

.arenda-accordion__icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.arenda-accordion__trigger[aria-expanded="true"] .arenda-accordion__icon {
  transform: rotate(180deg);
}

.arenda-accordion__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.arenda-accordion__content {
  padding: 12px 0 4px;
  color: #444;
  font-family: "Manrope-Regular", sans-serif;
  font-size: 16px;
  line-height: 150%;
}

/* ── Prices ───────────────────────────────────────────────── */
.arenda-card__prices {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.arenda-card__price-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.arenda-card__price-label {
  color: #222;
  font-family: "Manrope-Medium", sans-serif;
  font-size: 18px;
  line-height: 130%;
  font-weight: 500;
}

.arenda-card__price-value {
  color: var(--main, #2a3a81);
  font-family: "Manrope-Bold", sans-serif;
  font-size: 22px;
  line-height: 130%;
  font-weight: 700;
}

/* ── Card button ──────────────────────────────────────────── */
.arenda-card__btn {
  width: 100%;
  font-size: 18px;
  padding: 10px 20px 12px;
  height: 45px;
}

/* ════════════════════════════════════════════════════════════
   CTA СЕКЦИЯ
   ════════════════════════════════════════════════════════════ */
.arenda-cta {
  padding: 80px 0 100px;
}

.arenda-cta__wrap {
  display: flex;
  flex-direction: row;
  border-radius: 30px;
 
  box-shadow: 4px 4px 24px rgba(38, 59, 128, 0.2);
}

.arenda-cta__img {
  width: 50%;
  object-fit: cover;
  border-radius: 30px 0 0 30px;
  display: block;
  flex-shrink: 0;
}

.arenda-cta__form-side {
  background: var(--main, #2a3a81);
  border-radius: 0 30px 30px 0;
  padding: 50px 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: center;
  flex: 1;
}

.arenda-cta__title {
  color: #fff;
  font-family: var(--h1-font-family, "Manrope-SemiBold", sans-serif);
  font-size: clamp(36px, 4vw, 64px);
  line-height: 110%;
  font-weight: 600;
  margin: 0;
}

.arenda-cta__desc {
  color: #fff;
  font-family: "Manrope-Regular", sans-serif;
  font-size: 20px;
  line-height: 130%;
  margin: 0;
}

.arenda-cta__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Form ─────────────────────────────────────────────────── */
.arenda-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 555px;
}

.arenda-form__row {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.arenda-form__input {
  background: transparent;
  border: 1px solid #acacac;
  border-radius: 10px;
  padding: 0 20px;
  height: 60px;
  color: #fff;
  font-family: "Manrope-Regular", sans-serif;
  font-size: 16px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}

.arenda-form__input::placeholder {
  color: #acacac;
}

.arenda-form__input:focus {
  border-color: rgba(255,255,255,0.6);
}

.arenda-form__phone-wrap {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.arenda-form__phone-flag {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 14px;
  pointer-events: none;
  z-index: 1;
}

.arenda-form__input--phone {
  padding-left: 60px;
}

/* ── Dropdown ─────────────────────────────────────────────── */
.arenda-form__dropdown {
  position: relative;
}

.arenda-form__dropdown-trigger {
  width: 100%;
  min-height: 60px;
  background: transparent;
  border: 1px solid #acacac;
  border-radius: 10px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 8px;
  transition: border-color 0.2s;
}

.arenda-form__dropdown-trigger:hover,
.arenda-form__dropdown-trigger[aria-expanded="true"] {
  border-color: rgba(255,255,255,0.6);
}

.arenda-form__dropdown-label {
  color: #acacac;
  font-family: "Manrope-Regular", sans-serif;
  font-size: 16px;
  line-height: 130%;
  text-align: left;
  flex: 1;

  overflow: hidden;
  text-overflow: ellipsis;
}

/* Когда есть выбор — белый текст */
.arenda-form__dropdown-trigger[aria-expanded="true"] .arenda-form__dropdown-label,
.arenda-form__dropdown--has-value .arenda-form__dropdown-label {
  color: #fff;
}

.arenda-form__dropdown-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.arenda-form__dropdown-trigger[aria-expanded="true"] .arenda-form__dropdown-icon {
  transform: rotate(180deg);
}

.arenda-form__dropdown-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 10px;
  padding: 12px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: 100;
  max-height: 300px;
  overflow-y: auto;
}

.arenda-form__check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  cursor: pointer;
  transition: background 0.15s;
}

.arenda-form__check-item:hover {
  background: #f0f3fb;
}

.arenda-form__check-item span {
  color: #222;
  font-family: "Manrope-Regular", sans-serif;
  font-size: 16px;
  line-height: 130%;
}

.arenda-form__checkbox {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  accent-color: var(--main, #2a3a81);
  cursor: pointer;
}

/* ── Policy ───────────────────────────────────────────────── */
.arenda-form__policy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.arenda-form__policy-check {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--main, #2a3a81);
  cursor: pointer;
}

.arenda-form__policy span {
  color: #acacac;
  font-family: "Manrope-Regular", sans-serif;
  font-size: 12px;
  line-height: 130%;
}

/* ── Submit ───────────────────────────────────────────────── */
.arenda-form__submit {
  background: #fff;
  border: none;
  border-radius: 20px;
  padding: 23px 73px;
  color: var(--main, #2a3a81);
  font-family: var(--button-font-family, "Manrope-SemiBold", sans-serif);
  font-size: 18px;
  line-height: 120%;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
  width: 100%;
}

.arenda-form__submit:hover {
  opacity: 0.9;
}

/* ════════════════════════════════════════════════════════════
   CF7 overrides — уникальные классы чтобы не конфликтовать
   Добавь в CF7 additional_attrs: class="arenda-cf7-form"
   ════════════════════════════════════════════════════════════ */
.arenda-cf7-form .wpcf7-form-control-wrap {
  display: block;
}

.arenda-cf7-form input[type="text"],
.arenda-cf7-form input[type="tel"],
.arenda-cf7-form input[type="email"] {
  background: transparent;
  border: 1px solid #acacac;
  border-radius: 10px;
  padding: 0 20px;
  height: 60px;
  color: #fff;
  font-family: "Manrope-Regular", sans-serif;
  font-size: 16px;
  width: 100%;
  outline: none;
}

.arenda-cf7-form input::placeholder {
  color: #acacac;
}

.arenda-cf7-form input[type="submit"] {
  background: #fff;
  border: none;
  border-radius: 20px;
  padding: 23px 73px;
  color: var(--main, #2a3a81);
  font-family: "Manrope-SemiBold", sans-serif;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: opacity 0.2s;
}

.arenda-cf7-form input[type="submit"]:hover {
  opacity: 0.9;
}

 .wpcf7-form p {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.arenda-cf7-form{
    display: flex;
    flex-direction: column;
    gap: 20px;

}


.arenda-form__dropdown-panel p {
        display: flex;
    flex-direction: column;
    gap:0;
}

.wpcf7-list-item-label a{
    text-decoration:underline;
    
}
/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
   
   @media (max-width: 1440px) {
.arenda-card__img {  height: 355px;}

.wpcf7-acceptance .wpcf7-list-item-label {
     flex-direction: column;
     gap: 0px;
    margin-left: 20px;
}

 }   
 
 
 
@media (max-width: 1200px) {
  .arenda-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .arenda-cta__form-side {
    padding: 40px 32px;
  }
}

@media (max-width: 900px) {
  .arenda-cta__wrap {
    flex-direction: column;
  }
  .arenda-cta__img {
    width: 100%;
    height: 300px;
    border-radius: 30px 30px 0 0;
  }
  .arenda-cta__form-side {
    border-radius: 0 0 30px 30px;
  }
  
  .arenda-card__img {  height: 335px;}
  
}

@media (max-width: 900px) {
  .arenda-card__img {  height: 265px;}
  
}



@media (max-width: 640px) {
  .arenda-hero__title {
    font-size: 36px;
  }
  .arenda-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .arenda-form__row {
    flex-direction: column;
  }
  .arenda-cta__form-side {
    padding: 32px 20px;
  }
  
   .wpcf7-form p {
   
    flex-direction: column;
    gap: 0px;
}
  
}


