/* Plan Your Trip Dedicated Page Styling - Matches reference design */

.pyt-page {
    background: #ffffff;
    color: #2c2724;
    font-family: 'Outfit', sans-serif;
}

/* 1. Hero Banner */
.pyt-hero {
    position: relative;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    padding: 4.5rem 1.5rem;
    overflow: hidden;
}

.pyt-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 27, 22, 0.65) 0%, rgba(15, 27, 22, 0.8) 100%);
}

.pyt-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.pyt-hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.03em;
    margin: 0;
    text-shadow: 0 2px 14px rgba(0,0,0,0.5);
}

/* 2. Split Intro Section */
.pyt-intro-section {
    padding: clamp(3rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem);
    background: #ffffff;
}

.pyt-intro-container {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 440px 1fr;
    gap: clamp(2rem, 4.5vw, 4rem);
    align-items: center;
}

.pyt-intro-media {
    position: relative;
}

.pyt-intro-img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(35, 30, 25, 0.1);
    display: block;
}

.pyt-intro-content {
    display: flex;
    flex-direction: column;
}

.pyt-eyebrow {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #e07a2c;
    margin-bottom: 0.4rem;
    display: block;
}

.pyt-heading {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.85rem, 3.2vw, 2.45rem);
    color: #172b23;
    line-height: 1.25;
    margin: 0 0 1.25rem;
    font-weight: 700;
}

.pyt-text {
    font-size: 0.94rem;
    line-height: 1.7;
    color: #4a453f;
    margin-bottom: 0.85rem;
}

.pyt-perks-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #172b23;
    margin: 1.15rem 0 0.75rem;
}

.pyt-perks-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem 1.25rem;
}

.pyt-perks-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.91rem;
    font-weight: 500;
    color: #2c2724;
}

.pyt-check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pyt-check-icon svg {
    width: 13px;
    height: 13px;
    stroke-width: 2.5;
}

.pyt-note-box {
    background: #fffaf0;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    padding: 0.9rem 1.15rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #78350f;
    margin-top: 0.5rem;
}

.pyt-note-box strong {
    color: #172b23;
}

/* 3. Form Section */
.pyt-form-section {
    padding: clamp(3rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem);
    background: #faf8f5;
    position: relative;
    border-top: 1px solid #f0ebe4;
}

.pyt-form-section-head {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 2.25rem;
}

.pyt-form-heading {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    color: #172b23;
    margin: 0;
    font-weight: 700;
}

.pyt-form-card {
    max-width: 980px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: clamp(1.75rem, 4vw, 3rem);
    box-shadow: 0 6px 28px rgba(35, 30, 25, 0.05);
}

.pyt-alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    font-size: 0.98rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pyt-alert-success svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #10b981;
}

.pyt-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    font-size: 0.98rem;
    line-height: 1.5;
}

.pyt-field-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.4rem;
}

.pyt-field-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.4rem;
}

.pyt-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.4rem;
}

.pyt-label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #374151;
    margin-bottom: 0.45rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pyt-label em {
    color: #dc2626;
    font-style: normal;
    font-weight: 700;
}

.pyt-label-hint {
    font-size: 0.76rem;
    font-weight: 400;
    color: #6b7280;
    text-transform: none;
    letter-spacing: normal;
    margin-left: 6px;
}

.pyt-input,
.pyt-select,
.pyt-textarea {
    width: 100%;
    padding: 11px 14px;
    font-family: inherit;
    font-size: 0.92rem;
    color: #1f2937;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    transition: all 0.15s ease;
    outline: none;
}

.pyt-input:focus,
.pyt-select:focus,
.pyt-textarea:focus {
    border-color: #e07a2c;
    box-shadow: 0 0 0 3px rgba(224, 122, 44, 0.14);
}

.pyt-phone-wrap {
    display: flex;
    gap: 8px;
}

.pyt-phone-code {
    width: 120px;
    flex-shrink: 0;
    padding: 11px 10px;
    font-family: inherit;
    font-size: 0.9rem;
    color: #1f2937;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    outline: none;
}

.pyt-phone-code:focus {
    border-color: #e07a2c;
}

/* Radio Pills */
.pyt-radio-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pyt-radio-pill {
    display: inline-flex;
    cursor: pointer;
    margin: 0;
}

.pyt-radio-pill input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pyt-radio-pill-box {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4b5563;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    transition: all 0.15s ease;
    user-select: none;
}

.pyt-radio-pill:hover .pyt-radio-pill-box {
    border-color: #d1d5db;
    background: #ffffff;
}

.pyt-radio-pill input:checked + .pyt-radio-pill-box {
    background: #fffbeb;
    border-color: #f59e0b;
    color: #92400e;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(245, 158, 11, 0.1);
}

/* Destination Checkboxes Grid */
.pyt-dest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
}

.pyt-dest-checkbox {
    display: inline-flex;
    cursor: pointer;
    margin: 0;
}

.pyt-dest-checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pyt-dest-box {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #374151;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    transition: all 0.15s ease;
    user-select: none;
}

.pyt-checkbox-mark {
    width: 14px;
    height: 14px;
    border: 1.5px solid #9ca3af;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #ffffff;
    transition: all 0.15s ease;
}

.pyt-dest-checkbox:hover .pyt-dest-box {
    background: #ffffff;
    border-color: #d1d5db;
}

.pyt-dest-checkbox input:checked + .pyt-dest-box {
    background: #fffbeb;
    border-color: #f59e0b;
    color: #92400e;
    font-weight: 600;
}

.pyt-dest-checkbox input:checked + .pyt-dest-box .pyt-checkbox-mark {
    background: #f59e0b;
    border-color: #f59e0b;
    position: relative;
}

.pyt-dest-checkbox input:checked + .pyt-dest-box .pyt-checkbox-mark::after {
    content: '';
    width: 4px;
    height: 8px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    position: absolute;
    top: 1px;
}

/* Submit Wrap */
.pyt-submit-wrap {
    margin-top: 2rem;
    text-align: left;
}

.pyt-submit-btn {
    background: #e07a2c;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 13px 44px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(224, 122, 44, 0.3);
    transition: all 0.2s ease;
}

.pyt-submit-btn:hover {
    background: #c8681e;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(224, 122, 44, 0.38);
}

.pyt-privacy-note {
    font-size: 0.82rem;
    color: #6b7280;
    margin: 0.85rem 0 0;
}

/* 4. Pre-Footer Dark CTA Banner */
.pyt-cta-dark {
    background: #0b1722;
    padding: clamp(3rem, 5vw, 4.25rem) clamp(1.25rem, 4vw, 2.5rem);
    color: #ffffff;
}

.pyt-cta-dark-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.pyt-cta-dark-copy h3 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    color: #ffffff;
    margin: 0 0 0.4rem;
    font-weight: 700;
}

.pyt-cta-dark-copy p {
    margin: 0;
    font-size: 0.92rem;
    color: #94a3b8;
}

.pyt-cta-dark-copy strong {
    color: #ffffff;
}

.pyt-cta-dark-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pyt-btn-gold {
    background: #d4a359;
    color: #ffffff;
    padding: 12px 26px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(212, 163, 89, 0.35);
    transition: all 0.2s ease;
}

.pyt-btn-gold:hover {
    background: #c39145;
    transform: translateY(-1px);
}

.pyt-btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 11px 22px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.pyt-btn-outline:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/* Responsive */
@media (max-width: 900px) {
    .pyt-intro-container {
        grid-template-columns: 1fr;
    }
    .pyt-intro-img {
        height: 380px;
    }
    .pyt-field-grid-2,
    .pyt-field-grid-3 {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 600px) {
    .pyt-perks-list {
        grid-template-columns: 1fr;
    }
    .pyt-phone-wrap {
        flex-direction: column;
    }
    .pyt-phone-code {
        width: 100%;
    }
    .pyt-cta-dark-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .pyt-btn-gold,
    .pyt-btn-outline {
        justify-content: center;
    }
}
