/* ============================================================
   CONTACT PAGE STYLES — Vladyslav Dovhan
   ============================================================ */

/* ============================
   HERO
   ============================ */
.contact-hero {
    background: var(--c-dark);
    padding: var(--section-pad) 0;
}

.contact-hero__inner {
    display: flex;
    align-items: flex-end;
    gap: 32px;
}

.contact-hero__titles {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-hero__title {
    font-family: var(--font-primary);
    font-size: 96px;
    letter-spacing: -2.4px;
    line-height: 1;
    color: var(--c-light);
}

.contact-hero__title--bold {
    font-weight: 700;
}

.contact-hero__title--normal {
    font-weight: 400;
}

.contact-hero__tagline {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text-light);
    letter-spacing: 4px;
    line-height: 1.4285714;
    width: 417px;
    flex-shrink: 0;
}


/* ============================
   FORM SECTION
   ============================ */
.contact-form-section {
    background: var(--c-light);
    padding: var(--section-pad) 0;
}

.contact-content {
    display: flex;
    gap: 40px;
}

/* --- Contact Info (left) --- */
.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-info__label {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--c-dark-alt);
    letter-spacing: -0.44px;
    line-height: 2;
}

.contact-info__value {
    font-family: var(--font-primary);
		font-style: italic;
    font-size: 40px;
    font-weight: 400;
    color: var(--c-dark-alt);
    letter-spacing: -0.3125px;
    line-height: 1.15;
}

/* --- CF7 Form + Success (right) --- */
.contact-form-wrap {
    flex: 1;
}

.two p{
	 display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.two p br{
	display: none;
}
/* CF7 form layout — 2-col grid, first row is First Name + Last Name */



.contact-cf7-form .wpcf7-form p {
    margin: 0;
}

/* All fields except first two span full width */
.contact-cf7-form .wpcf7-form p:nth-child(n+3) {
    grid-column: 1 / -1;
}

/* Labels */
.contact-cf7-form .wpcf7-form label,
.contact-cf7-form .wpcf7-form .field-label {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--c-dark-alt);
    letter-spacing: -0.15px;
    line-height: 1.4285714;
    display: block;
    margin-bottom: 8px;
}

/* Text / email / tel / textarea inputs */
.contact-cf7-form .wpcf7-form input[type="text"],
.contact-cf7-form .wpcf7-form input[type="email"],
.contact-cf7-form .wpcf7-form input[type="tel"],
.contact-cf7-form .wpcf7-form textarea {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    color: var(--c-dark-alt);
    letter-spacing: -0.3125px;
  backdrop-filter: blur(4px);
    background: rgba(216, 216, 204, 0.1);
    box-shadow: 0px 0px 0px 1px rgba(247, 247, 245, 1);
    padding: 12px 16px;
		border: none;
    height: 52px;
    outline: none;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    transition: box-shadow 0.28s var(--motion-ease), background-color 0.28s var(--motion-ease), transform 0.28s var(--motion-ease);
		margin-top: 4px;
}

.contact-cf7-form .wpcf7-form textarea {
    height: auto;
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.contact-cf7-form .wpcf7-form input::placeholder,
.contact-cf7-form .wpcf7-form textarea::placeholder {
    color: #71716a;
}

.contact-cf7-form .wpcf7-form input:focus,
.contact-cf7-form .wpcf7-form textarea:focus {
    background: rgba(216, 216, 204, 0.24);
    box-shadow: 0 0 0 1px rgba(193, 168, 117, 0.92), 0 10px 24px rgba(5, 5, 5, 0.12);
    transform: translate3d(0, -1px, 0);
}

/* Submit button */
.contact-cf7-form .wpcf7-form input[type="submit"] {
    align-self: flex-start;
 
    height: auto;
    padding: 18px 34px;
    background-color: var(--c-dark-alt);
    border: 2px solid var(--c-dark-alt);
    color: var(--c-light);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.15px;
    line-height: 1.4285714;
    cursor: pointer;
    transition: transform 0.32s var(--motion-ease), color 0.32s var(--motion-ease), border-color 0.32s var(--motion-ease), box-shadow 0.32s var(--motion-ease), background-position 0.55s var(--motion-ease), background-color 0.32s var(--motion-ease);
}

/* Hide CF7 spinner */
.contact-cf7-form .wpcf7-spinner {
    display: none;
}

/* --- Success state --- */
.contact-success {
    flex: 1;
    display: flex;
    align-items: center;
}

.contact-success[hidden] {
    display: none !important;
}

.contact-success__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-success.is-visible .contact-success__inner {
    animation: contactSuccessIn 0.48s var(--motion-ease) both;
}

.contact-success.is-visible .contact-success__title svg {
    animation: contactSuccessIconIn 0.82s var(--motion-ease) 0.12s both;
}

.contact-success__text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-success__title {
    font-family: var(--font-primary);
    font-size: 54px;
    font-weight: 600;
    font-style: italic;
    color: var(--c-dark-alt);
    letter-spacing: -2.4px;
    line-height: 1;
display: flex;
align-items: center;
gap: 24px;
}

.contact-success__subtitle {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    color: var(--c-dark-alt);
    letter-spacing: -0.3125px;
    line-height: 1.4;
}

.contact-success__desc {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    color: var(--c-dark-alt);
    letter-spacing: -0.3125px;
    line-height: 1.5;
    max-width: 435px;
}

.contact-success__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 198px;
    padding: 18px 33px;
    background-color: var(--c-dark-alt);
    color: var(--c-light);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.15px;
    line-height: 1.4285714;
    transition: transform 0.32s var(--motion-ease), color 0.32s var(--motion-ease), border-color 0.32s var(--motion-ease), box-shadow 0.32s var(--motion-ease), background-position 0.55s var(--motion-ease), background-color 0.32s var(--motion-ease);
}

@keyframes contactSuccessIn {
    from {
        opacity: 0;
        transform: translate3d(0, 10px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes contactSuccessIconIn {
    from {
        opacity: 0;
        transform: scale(0.94) rotate(-4deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}


/* ============================
   FAQ
   ============================ */
.contact-faq {
    background: var(--c-dark-alt);
    padding: var(--section-pad) 0;
}

.contact-faq__inner {
    display: flex;
    gap: 32px;
    align-items: stretch;
}

.contact-faq__header {
    width: 458px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;

}

.contact-faq__title {
    font-family: var(--font-primary);
    font-size: 96px;
    font-weight: 600;
    letter-spacing: -2.4px;
    line-height: 1;
    color: var(--c-light);
}

.contact-faq__list {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* FAQ Items */
.faq-item {
    padding: 32px 0;
}

.faq-item:first-child {
    padding-top: 0;
}

.faq-item__row {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    cursor: pointer;
}

.faq-item__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

/* Icon toggle */
.faq-icon--open   { display: none; }
.faq-icon--closed { display: block; }

.faq-item--open .faq-icon--open   { display: block; }
.faq-item--open .faq-icon--closed { display: none; }

.faq-item__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item__question {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    color: var(--c-light);
    letter-spacing: -0.44px;
    line-height: 1.5;
}

.faq-item__answer {
    display: none;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    color: var(--c-light);
    letter-spacing: -0.3125px;
    line-height: 1.5;
}

.faq-item--open .faq-item__answer {
    display: block;
}


/* ============================
   BOOKING CTA
   ============================ */
.contact-booking {
    background: var(--c-dark);
    padding: var(--section-pad) 0;
    position: relative;
}
.contact-booking .container{
		position: relative;

}

.contact-booking__arrow {
    position: absolute;
    left: 244px;
    top: 132px;
    width: 212px;

    pointer-events: none;
   
    transform-origin: left center;
}

.contact-booking__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}

.contact-booking__title {
    font-family: var(--font-primary);
    font-size: 92px;
    font-weight: 600;
    letter-spacing: -2.4px;
    line-height: 1;
    color: var(--c-light);
    text-align: center;
}

.contact-booking__subtitle {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    color: var(--c-light);
    letter-spacing: -0.3125px;
    line-height: 1.5;
    text-align: center;
}

.contact-booking__actions {
    display: flex;
    gap: 16px;
}

.btn-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 34px;
    background-color: var(--c-light);
    color: var(--c-black);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.15px;
    line-height: 1.4285714;
    transition: transform 0.32s var(--motion-ease), color 0.32s var(--motion-ease), border-color 0.32s var(--motion-ease), box-shadow 0.32s var(--motion-ease), background-position 0.55s var(--motion-ease), background-color 0.32s var(--motion-ease);
    white-space: nowrap;
}

.btn-watch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 34px;
    background-color: transparent;
    color: var(--c-white);
    border: 2px solid var(--c-white);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.15px;
    line-height: 1.4285714;
    transition: transform 0.32s var(--motion-ease), color 0.32s var(--motion-ease), border-color 0.32s var(--motion-ease), box-shadow 0.32s var(--motion-ease), background-position 0.55s var(--motion-ease), background-color 0.32s var(--motion-ease);
    white-space: nowrap;
}


/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1280px) {
    .contact-hero__title {
        font-size: 72px;
        line-height: 72px;
        letter-spacing: -1.8px;
    }

    .contact-faq__title,
    .contact-booking__title {
        font-size: 72px;
        line-height: 72px;
        letter-spacing: -1.8px;
    }

    .contact-faq__header {
        width: 340px;
    }

    .contact-info__value {
        font-size: 32px;
				
    }
}

@media (max-width: 1024px) {
    .contact-hero__title {
        font-size: 56px;
        line-height: 56px;
        letter-spacing: -1.4px;
    }

    .contact-faq__title,
    .contact-booking__title {
        font-size: 56px;
        line-height: 56px;
        letter-spacing: -1.4px;
    }

    .contact-faq__header {
        width: 260px;
    }

    .contact-info__value {
        font-size: 28px;
    }

    .contact-booking__title {
        font-size: 48px;
        line-height: 1.1;
    }
}

@media (max-width: 768px) {
    .contact-booking__arrow {
        display: none;
    }

    .contact-hero__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .contact-hero__tagline {
        width: 100%;
    }

    .contact-hero__title {
        font-size: 42px;
        line-height: 42px;
        letter-spacing: -1px;
    }

    .contact-content {
        flex-direction: column;
        gap: 48px;
    }

    .contact-faq__inner {
        flex-direction: column;
        gap: 48px;
    }

    .contact-faq__header {
        width: 100%;
    }

    .contact-faq__title {
        font-size: 42px;
        line-height: 42px;
        letter-spacing: -1px;
    }

    .contact-booking__title {
        font-size: 42px;
        line-height: 1.1;
        letter-spacing: -1px;
    }

    .contact-info__value {
        font-size: 24px;
    }

    .contact-cf7-form .wpcf7-form {
        grid-template-columns: 1fr;
    }

    .contact-cf7-form .wpcf7-form p:nth-child(n+3) {
        grid-column: 1;
    }

    .contact-cf7-form .wpcf7-form input[type="submit"] {
        width: 100%;
    }

    .contact-success__btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-hero__title {
        font-size: 54px;
        line-height: 64px;
        letter-spacing: -2.4px;
    }

    .contact-hero__tagline {
        font-size: 12px;
        letter-spacing: 3px;
    }

    .contact-faq__title {
        font-size: 54px;
        line-height: 64px;
        letter-spacing: -2.4px;
    }

    .contact-booking__title {
        font-size: 40px;
        line-height: 1.15;
        letter-spacing: -1.5px;
    }

    .contact-booking__actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-book,
    .btn-watch {
        width: 100%;
        justify-content: center;
    }

    .contact-info__value {
        font-size: 22px;
    }

    .contact-form__submit {
        width: 100%;
    }
}
