/* ═══════════════════════════════════════════════════════════════
   PLAN YOUR JOURNEY — Luxury multi-step form
═══════════════════════════════════════════════════════════════ */

/* Hero */
.pl-hero {
    position: relative;
    height: 48vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: -84px;
    padding-top: 84px;
    overflow: hidden;
}
.pl-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    animation: pl-kenburns 26s ease infinite alternate;
}
@keyframes pl-kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}
.pl-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,25,15,0.35) 0%, rgba(10,25,15,0.55) 50%, rgba(10,25,15,0.88) 100%);
    z-index: 1;
}
.pl-hero-shine {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    z-index: 3;
    animation: pl-shimmer 3.5s ease-in-out infinite;
}
@keyframes pl-shimmer {
    0%, 100% { opacity: 0.25; }
    50% { opacity: 1; }
}
.pl-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 24px;
    max-width: 760px;
}
.pl-hero-label {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 16px;
    border: 1px solid rgba(197,168,90,0.45);
    padding: 7px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
}
.pl-hero-title {
    font-size: clamp(34px, 5vw, 54px);
    color: white;
    margin-bottom: 14px;
    font-family: var(--font-serif);
    line-height: 1.12;
}
.pl-hero-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.88);
    line-height: 1.75;
    max-width: 620px;
    margin: 0 auto;
}

/* Layout */
.pl-main-section { padding: 56px 0 80px; }
.pl-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: start;
}
@media (max-width: 992px) {
    .pl-layout { grid-template-columns: 1fr; }
}

/* Step progress */
.pl-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 0;
}
.pl-step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-dark);
    transition: var(--transition);
    min-width: 72px;
}
.pl-step-node.active { color: var(--primary); }
.pl-step-node.done { color: var(--accent); }
.pl-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    background: white;
    color: var(--gray-dark);
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.pl-step-node.active .pl-step-circle {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--accent), #d4a843);
    color: var(--dark);
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(197,168,90,0.35);
}
.pl-step-node.done .pl-step-circle {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}
.pl-step-line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    min-width: 24px;
    max-width: 56px;
    margin-bottom: 24px;
    transition: background 0.4s ease;
}
.pl-step-node.done + .pl-step-line,
.pl-steps .pl-step-line.done {
    background: var(--accent);
}

/* Form steps */
.pl-form-card .form-step {
    display: none;
    background: var(--white);
    border-radius: 22px;
    padding: 36px 34px;
    box-shadow: 0 20px 60px rgba(18,60,36,0.1);
    border: 1px solid rgba(197,168,90,0.15);
    animation: pl-fade-up 0.45s cubic-bezier(.4,0,.2,1);
    position: relative;
    overflow: hidden;
}
.pl-form-card .form-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
}
.pl-form-card .form-step.active { display: block; }
@keyframes pl-fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

.pl-form-card .step-title {
    font-size: 24px;
    margin-bottom: 8px;
    font-family: var(--font-serif);
    color: var(--primary);
}
.pl-form-card .step-title i { color: var(--accent); }
.pl-form-card .step-desc {
    font-size: 14px;
    color: var(--gray-dark);
    margin-bottom: 28px;
    line-height: 1.65;
}

/* Journey type cards — luxury override */
.pl-form-card .journey-type-card {
    border-radius: 16px;
    border: 2px solid var(--border-color);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.pl-form-card .journey-type-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.pl-form-card .journey-type-card.selected,
.pl-form-card .journey-type-card:has(input:checked) {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(197,168,90,0.08), rgba(18,60,36,0.04));
    box-shadow: 0 12px 32px rgba(18,60,36,0.1);
}
.pl-form-card .journey-type-inner i {
    color: var(--accent);
    font-size: 32px;
}

/* Interest chips */
.pl-interests-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}
@media (max-width: 768px) {
    .pl-interests-grid { grid-template-columns: repeat(2, 1fr); }
}
.pl-interest-label {
    cursor: pointer;
    border: 1.5px solid var(--border-color);
    border-radius: 999px;
    padding: 10px 14px;
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
    color: var(--primary);
}
.pl-interest-label input { display: none; }
.pl-interest-label:has(input:checked) {
    border-color: var(--accent);
    background: rgba(197,168,90,0.12);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197,168,90,0.2);
}

/* Review grid */
.pl-rev-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    background: linear-gradient(135deg, #f8f9f5, #f0f4ec);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid rgba(197,168,90,0.2);
}
@media (max-width: 600px) {
    .pl-rev-grid { grid-template-columns: 1fr; }
}
.pl-rev-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pl-rev-item span:first-child {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gray-dark);
    font-weight: 600;
}
.pl-rev-item span:last-child {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.45;
}

/* Step nav */
.pl-form-card .step-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    gap: 12px;
    flex-wrap: wrap;
}

/* Sidebar */
.pl-sidebar {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.pl-sidebar-image {
    border-radius: 18px;
    overflow: hidden;
    height: 180px;
    box-shadow: var(--shadow-hover);
}
.pl-sidebar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.pl-sidebar-image:hover img { transform: scale(1.06); }
.pl-sidebar-card {
    background: white;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}
.pl-sidebar-card h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--primary);
    font-family: var(--font-serif);
}
.pl-sidebar-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 14px;
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: 20px;
    padding-left: 14px;
    border-left: 3px solid var(--accent);
}
.pl-sidebar-quote cite {
    display: block;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    margin-top: 10px;
    color: var(--primary);
}
.pl-sidebar-points {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.pl-sidebar-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    color: var(--gray-dark);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.5;
}
.pl-sidebar-points li:last-child { border-bottom: none; }
.pl-sidebar-points i {
    color: var(--accent);
    margin-top: 2px;
    flex-shrink: 0;
}
.pl-sidebar-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: 999px;
    background: #25d366;
    color: white;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition);
}
.pl-sidebar-wa:hover {
    background: #1fb855;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37,211,102,0.3);
}

/* Success */
.pl-success-card {
    background: white;
    border-radius: 24px;
    padding: 56px 40px;
    text-align: center;
    box-shadow: 0 24px 64px rgba(18,60,36,0.12);
    border: 1px solid rgba(197,168,90,0.3);
    max-width: 620px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.pl-success-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
}
.pl-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(197,168,90,0.2), rgba(18,60,36,0.08));
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 24px;
}
.pl-success-card h2 {
    color: var(--primary);
    margin-bottom: 14px;
    font-family: var(--font-serif);
    font-size: 32px;
}
.pl-success-card p {
    font-size: 15px;
    color: var(--gray-dark);
    line-height: 1.75;
    margin-bottom: 28px;
}
.pl-success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Trust bar */
.pl-trust-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 40px 0 0;
}
.pl-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    background: white;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}
.pl-trust-item i { color: var(--accent); }

/* Scroll reveal */
.pl-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.pl-reveal.pl-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 992px) {
    .pl-sidebar { position: static; order: -1; }
    .pl-sidebar-image { height: 160px; }
}

/* Inline validation */
.pl-step-alert {
    display: none;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-size: 13px;
    line-height: 1.5;
}
.pl-step-alert.is-visible { display: flex; }
.pl-step-alert i { margin-top: 2px; flex-shrink: 0; }
.pl-field-error {
    display: none;
    font-size: 12px;
    color: #b91c1c;
    margin-top: 6px;
    line-height: 1.4;
}
.pl-field-error.is-visible { display: block; }
.pl-form-card .filter-control.pl-input-error {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.field-hint {
    font-size: 11px;
    font-weight: 500;
    color: var(--gray-dark, #6b7280);
}

.traveller-count-input {
    max-width: 120px;
}

.pl-traveller-row .filter-input-group label,
.traveller-counts-row .filter-input-group label {
    line-height: 1.35;
}

.pl-traveller-row {
    margin-bottom: 20px;
}

@media (max-width: 640px) {
    .traveller-counts-row.form-row {
        flex-direction: column;
    }
}
