/*
 * Contact page template styles.
 */

.rf-ct-page,
.rf-ct-page *,
.rf-ct-page *::before,
.rf-ct-page *::after {
    box-sizing: border-box;
}

.rf-ct-page {
    background:
        radial-gradient(circle at top left, rgba(21, 128, 109, 0.16), transparent 26%),
        linear-gradient(180deg, #081215 0%, #0b1719 52%, #0d1d1d 100%);
    color: #ffffff;
    font-family: "Roboto", sans-serif;
}

.rf-ct-container {
    width: min(100%, 1280px);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.rf-ct-hero {
    padding: clamp(3rem, 7vw, 5.5rem) 0 2rem;
}

.rf-ct-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 2rem;
    align-items: stretch;
}

.rf-ct-hero-copy,
.rf-ct-map-card,
.rf-ct-form-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
}

.rf-ct-hero-copy {
    padding: clamp(2rem, 4vw, 3.25rem);
}

.rf-ct-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: #22c3b8;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.2;
    text-transform: uppercase;
}

.rf-ct-badge::before {
    content: "\2756";
    font-size: 1rem;
}

.rf-ct-title,
.rf-ct-form-title {
    margin: 0 0 18px;
    color: #ffffff;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.98;
}

.rf-ct-form-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
}

.rf-ct-text,
.rf-ct-form-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
    line-height: 1.8;
}

.rf-ct-details {
    display: grid;
    gap: 16px;
    margin-top: 2rem;
}

.rf-ct-detail {
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
}

.rf-ct-detail-label {
    display: block;
    margin-bottom: 6px;
    color: #22c3b8;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rf-ct-detail a,
.rf-ct-detail span:last-child {
    color: #ffffff;
    font-size: 1rem;
    text-decoration: none;
}

.rf-ct-map-card {
    overflow: hidden;
    min-height: 100%;
}

.rf-ct-map-card iframe {
    display: block;
    width: 100%;
    min-height: 100%;
    height: 100%;
    border: 0;
}

.rf-ct-form-section {
    padding: 0 0 clamp(4rem, 7vw, 5.5rem);
}

.rf-ct-form-card {
    padding: clamp(2rem, 4vw, 3rem);
}

.rf-ct-form-head {
    max-width: 760px;
    margin-bottom: 2rem;
}

.rf-ct-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
}

.rf-ct-form-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.rf-ct-form-group {
    position: relative;
}

.rf-ct-form-group--full,
.rf-ct-form-actions {
    grid-column: 1 / -1;
}

.rf-ct-form-control {
    width: 100%;
    padding: 0.95rem 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    color: #ffffff;
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    outline: 0;
    transition: border-color 0.3s ease;
}

.rf-ct-form-control:focus {
    border-bottom-color: #22c3b8;
}

.rf-ct-form-control::placeholder {
    color: rgba(255, 255, 255, 0.48);
}

.rf-ct-form-textarea {
    min-height: 7rem;
    resize: vertical;
}

.rf-ct-select-wrap::after {
    content: "\25BC";
    position: absolute;
    top: 50%;
    right: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.72rem;
    pointer-events: none;
    transform: translateY(-50%);
}

.rf-ct-select-wrap select {
    appearance: none;
    cursor: pointer;
    padding-right: 1.4rem;
}

.rf-ct-select-wrap select option {
    background: #0d1d1d;
    color: #ffffff;
}

.rf-ct-form-actions {
    margin-top: 0.5rem;
}

.rf-ct-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    width: fit-content;
    padding: 8px 8px 8px 24px;
    border: 0;
    border-radius: 50px;
    background: #00a896;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.rf-ct-btn:hover,
.rf-ct-btn:focus {
    background: #008f7f;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 168, 150, 0.22);
}

.rf-ct-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #022b2b;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.rf-ct-btn-icon svg {
    width: 16px;
    height: 16px;
}

.rf-ct-btn:hover .rf-ct-btn-icon,
.rf-ct-btn:focus .rf-ct-btn-icon {
    transform: rotate(45deg);
}

@media (max-width: 1024px) {
    .rf-ct-hero-shell {
        grid-template-columns: 1fr;
    }

    .rf-ct-map-card {
        min-height: 420px;
    }
}

@media (max-width: 767px) {
    .rf-ct-hero {
        padding-top: 2.5rem;
    }

    .rf-ct-container {
        padding: 0 1rem;
    }

    .rf-ct-hero-copy,
    .rf-ct-form-card {
        padding: 1.6rem;
    }

    .rf-ct-form,
    .rf-ct-form-row {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .rf-ct-btn {
        width: 100%;
        justify-content: space-between;
    }

    .rf-ct-map-card {
        min-height: 340px;
    }
}


