/* Homepage sections from the conversion prototype (festival finder through FAQ). Everything is
   prefixed fest- so it can't collide with Bootstrap's .card/.btn or the theme's un-scoped site.css rules. */
.fest-section, .fest-band, .fest-enquiry, .fest-faq {
    --fest-ink: #24241f;
    --fest-muted: #68685e;
    --fest-cream: #f7f4ed;
    --fest-gold: #a9702f;
    --fest-gold-dark: #81521e;
    --fest-line: #e8e2d5;
    --fest-forest: #263d35;
    --fest-shadow: 0 18px 50px rgba(36,36,31,.12);
    color: var(--fest-ink);
}

.fest-section {
    padding: 70px 0 90px;
    background: var(--fest-cream);
}

.fest-section [hidden] { display: none !important; }
.fest-section h2, .fest-section h3, .fest-band h2, .fest-band h3, .fest-enquiry h2, .fest-enquiry h3, .fest-faq h2,
.fest-quickbar-heading strong, .fest-help-num { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.fest-section h2, .fest-band h2, .fest-enquiry h2, .fest-faq h2 { margin: 0; color: var(--fest-ink); font-size: clamp(32px, 3.8vw, 52px); line-height: 1.13; letter-spacing: -.025em; }
.fest-section a:focus-visible, .fest-section select:focus-visible, .fest-section button:focus-visible,
.fest-band a:focus-visible, .fest-enquiry a:focus-visible, .fest-enquiry input:focus-visible, .fest-enquiry select:focus-visible,
.fest-enquiry textarea:focus-visible, .fest-enquiry button:focus-visible, .fest-faq summary:focus-visible { outline: 3px solid #d2a458; outline-offset: 3px; }

/* Quick search bar */
.fest-quickbar { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; align-items: end; gap: 16px; margin-bottom: 70px; padding: 25px; border: 1px solid var(--fest-line); border-radius: 9px; background: #fff; box-shadow: 0 18px 50px rgba(36,36,31,.12); }
.fest-quickbar-heading { align-self: center; }
.fest-quickbar-heading strong { display: block; font-size: 24px; }
.fest-quickbar-heading span { color: var(--fest-muted); font-size: 13px; }
.fest-quickbar label { display: block; margin-bottom: 7px; color: var(--fest-ink); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.fest-quickbar select { width: 100%; min-height: 50px; padding: 11px 13px; border: 1px solid #d8d5cd; border-radius: 4px; background: #fff; color: var(--fest-ink); font-size: 16px; }
.fest-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 21px; border: 0; border-radius: 5px; background: var(--fest-gold); color: #fff; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s; }
.fest-btn:hover { background: var(--fest-gold-dark); color: #fff; text-decoration: none; transform: translateY(-2px); }
.fest-btn-outline { border: 1px solid #d5b478; background: transparent; color: #fff; }
.fest-btn-outline:hover { background: rgba(255,255,255,.08); }
.fest-btn-block { width: 100%; }

/* Heading */
.fest-eyebrow { margin: 0 0 12px; color: var(--fest-gold); font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.fest-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.fest-heading > p { max-width: 510px; margin: 0; color: var(--fest-muted); }

/* Year tabs */
.fest-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 27px; }
.fest-tab { padding: 10px 17px; border: 1px solid #d9d1c2; border-radius: 40px; color: #5e5c55; font-weight: 700; }
.fest-tab:hover { color: var(--fest-forest); text-decoration: none; border-color: var(--fest-forest); }
.fest-tab[aria-current="true"] { border-color: var(--fest-forest); background: var(--fest-forest); color: #fff; }

/* Cards */
.fest-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.fest-item { display: flex; min-width: 0; }
.fest-card { display: flex; flex: 1; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--fest-line); border-radius: 8px; background: #fff; box-shadow: 0 4px 22px rgba(40,35,26,.04); }
.fest-card img { display: block; width: 100%; height: 228px; object-fit: cover; background: #cfc8ba; }
.fest-card-body { display: flex; flex: 1; flex-direction: column; padding: 23px; }
.fest-card-tag { margin: 0 0 11px; color: var(--fest-gold-dark); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fest-card h3 { margin: 0 0 10px; font-size: 25px; line-height: 1.18; }
.fest-card h3 a { color: var(--fest-ink); }
.fest-card h3 a:hover { color: var(--fest-gold-dark); text-decoration: none; }
.fest-card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; color: #4e514c; font-size: 13px; font-weight: 700; }
.fest-card-meta span + span::before { content: "\2022"; margin-right: 8px; color: var(--fest-gold); }
.fest-card-desc { flex: 1; margin: 0; color: var(--fest-muted); font-size: 14px; }
.fest-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--fest-line); font-size: 13px; font-weight: 800; }
.fest-card-actions a { color: var(--fest-gold-dark); }

/* Empty state + calendar link */
.fest-empty { padding: 35px; border: 1px dashed #cec5b5; border-radius: 8px; background: #fff; text-align: center; }
.fest-empty strong { display: block; margin-bottom: 8px; }
.fest-empty a, .fest-calendar-link a { color: var(--fest-gold-dark); font-weight: 800; }
.fest-empty a { text-decoration: underline; }
.fest-calendar-link { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 25px; padding: 20px 23px; border: 1px solid #d8d0c0; border-radius: 7px; background: #fff; }
.fest-calendar-link span { color: var(--fest-muted); font-size: 14px; }
.fest-calendar-link a { white-space: nowrap; }

/* Featured journey */
.fest-band { padding: 90px 0; background: #fffefa; }
.fest-feature { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 10px; background: var(--fest-forest); color: #fff; }
.fest-feature-img { min-height: 480px; background: #645e4a url('/img/upload/tshechu-thimphu-tshechu4.jpeg') center / cover; }
.fest-feature-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 72px); }
.fest-feature-copy .fest-eyebrow { color: #e6bd7e; }
.fest-feature-copy h2 { color: #fff; }
.fest-feature-copy p:not(.fest-eyebrow) { margin: 18px 0 0; color: #e2e9e1; }
.fest-feature-points { display: grid; gap: 10px; margin: 25px 0 30px; padding: 0; list-style: none; color: #f9f8f2; }
.fest-feature-points li::before { content: "\2713"; margin-right: 10px; color: #f0c580; font-weight: 800; }
.fest-feature-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* How it works */
.fest-help { padding-top: 0; }
.fest-help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.fest-help-item { padding: 28px; border-top: 2px solid var(--fest-gold); background: var(--fest-cream); }
.fest-help-num { color: var(--fest-gold); font-size: 34px; }
.fest-help-item h3 { margin: 12px 0 9px; font-size: 23px; }
.fest-help-item p { margin: 0; color: var(--fest-muted); font-size: 14px; }

/* Enquiry */
.fest-enquiry { padding: 95px 0; background: #eee8dc; }
.fest-enquiry-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: start; gap: 70px; }
.fest-enquiry-copy > p:not(.fest-eyebrow) { max-width: 430px; margin: 18px 0 0; color: #585950; }
.fest-trust { display: grid; gap: 18px; margin-top: 34px; padding-top: 28px; border-top: 1px solid #d6ccba; }
.fest-trust-row { display: flex; align-items: flex-start; gap: 13px; }
.fest-trust-icon { display: grid; flex: 0 0 34px; height: 34px; place-items: center; border-radius: 50%; background: #ded0b6; color: #603f21; font-weight: 800; }
.fest-trust-row strong { display: block; font-size: 14px; }
.fest-trust-row span { color: var(--fest-muted); font-size: 13px; }
.fest-form { padding: 35px; border: 1px solid #d9d0bf; border-radius: 9px; background: #fffefa; box-shadow: var(--fest-shadow); }
.fest-form h3 { margin: 0 0 10px; font-size: 30px; }
.fest-form > p { margin: 0 0 23px; color: var(--fest-muted); font-size: 14px; }
.fest-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.fest-field { margin-bottom: 17px; }
.fest-field label { display: block; margin-bottom: 7px; color: var(--fest-ink); font-size: 13px; font-weight: 800; }
.fest-field input, .fest-field select, .fest-field textarea { width: 100%; min-height: 50px; padding: 11px 13px; border: 1px solid #d8d5cd; border-radius: 4px; background: #fff; color: var(--fest-ink); font-size: 16px; }
.fest-field textarea { min-height: 118px; resize: vertical; }
.fest-field .input-validation-error { border-color: #b3261e; }
.fest-field-error { display: block; margin-top: 5px; color: #b3261e; font-size: 12px; }
.fest-field-hint { display: block; margin-top: 5px; color: var(--fest-muted); font-size: 12px; }
.fest-form-error { margin-bottom: 18px; padding: 13px; border-left: 3px solid #b3261e; background: #fbeeec; color: #5c1a14; font-size: 14px; }
.fest-form-error ul { margin: 6px 0 0; padding-left: 18px; }
.fest-form-error .validation-summary-valid { display: none; }
.fest-form-note { margin: 10px 0 0; color: var(--fest-muted); font-size: 12px; }

/* FAQ */
.fest-faq { padding: 85px 0; background: #fffefa; }
.fest-faq-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 60px; }
.fest-faq-list { border-top: 1px solid var(--fest-line); }
.fest-faq details { border-bottom: 1px solid var(--fest-line); }
.fest-faq summary { position: relative; padding: 20px 35px 20px 0; cursor: pointer; font-weight: 700; list-style: none; }
.fest-faq summary::-webkit-details-marker { display: none; }
.fest-faq summary::after { content: "+"; position: absolute; right: 2px; color: var(--fest-gold); font-size: 24px; line-height: 1; }
.fest-faq details[open] summary::after { content: "\2212"; }
.fest-faq details p { margin: 0; padding: 0 35px 20px 0; color: var(--fest-muted); font-size: 14px; }

@media (max-width: 900px) {
    .fest-enquiry-grid { gap: 35px; }
    .fest-quickbar { grid-template-columns: 1fr 1fr; }
    .fest-quickbar-heading { grid-column: 1 / -1; }
    .fest-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    .fest-section { padding: 40px 0 70px; }
    .fest-quickbar { gap: 12px; margin-bottom: 50px; padding: 17px; }
    .fest-quickbar .fest-btn { grid-column: 1 / -1; }
    .fest-heading { display: block; }
    .fest-heading > p { margin-top: 14px; }
    .fest-cards { grid-template-columns: 1fr; }
    .fest-card img { height: 215px; }
    .fest-calendar-link { display: block; }
    .fest-calendar-link a { display: inline-block; margin-top: 12px; }
    .fest-band { padding: 60px 0; }
    .fest-help { padding-top: 0; }
    .fest-feature, .fest-help-grid, .fest-enquiry-grid, .fest-faq-grid { grid-template-columns: 1fr; }
    .fest-faq-grid { gap: 20px; }
    .fest-feature-img { min-height: 290px; }
    .fest-feature-copy { padding: 32px 24px 38px; }
    .fest-feature-actions .fest-btn { width: 100%; }
    .fest-enquiry, .fest-faq { padding: 60px 0; }
    .fest-form { padding: 24px 20px; }
}

@media (max-width: 400px) {
    .fest-quickbar, .fest-field-row { grid-template-columns: 1fr; }
    .fest-field-row { gap: 0; }
}
