/*
 * Abish Travels — front-end refinements (loaded after style.css).
 * Same brand colours and typography; only spacing, consistency and forms are refined.
 */

:root {
    --enh-maroon: #7a2e22;
    --enh-maroon-dark: #5f2119;
    --enh-gold: #c89536;
    --enh-ink: #241c18;
    --enh-muted: #6f625a;
    --enh-border: #eaded1;
    --enh-cream: #fffaf3;
    --enh-soft: #f7efe5;
    --enh-section-space: clamp(52px, 6.5vw, 88px);
}

/* ---------- Section rhythm: consistent vertical spacing ---------- */
main > .section,
main > section.section {
    padding-block: var(--enh-section-space);
}

.section-header {
    margin-bottom: clamp(24px, 3vw, 36px);
}

.section-header .lead,
.section-header p {
    max-width: 760px;
}

.section-header.center .lead,
.section-header.center p {
    margin-inline: auto;
}

/* Comfortable reading length for body copy. */
.section p,
.lead-section p {
    text-wrap: pretty;
}

h1, h2, h3 {
    text-wrap: balance;
}

/* Home hero image: a little shorter so the hero fits better on laptop screens. */
@media (min-width: 981px) {
    .hero .hero-image {
        height: 290px;
        width: 100%;
        object-fit: cover;
    }
}

/* ---------- Festival / experience cards: identical image sizes ---------- */
.experience-grid {
    align-items: stretch;
}

.experience-card {
    display: flex;
    flex-direction: column;
}

.experience-card > .experience-image,
.experience-card > img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
}

.experience-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.experience-body .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Generic card images used across tours, blog and packages. */
.tour-card img,
.blog-card img,
.package-card img,
.day-tour-card img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
    height: auto;
}

/* ---------- FAQs: one consistent, accessible accordion style ---------- */
.faq-list,
.page-faqs__list,
.audience-faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details,
details.faq-item,
.page-faqs__item,
.audience-faq-item {
    border: 1px solid var(--enh-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(75, 42, 30, 0.05);
    padding: 0;
    overflow: hidden;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.faq-list details:hover,
details.faq-item:hover,
.page-faqs__item:hover,
.audience-faq-item:hover {
    border-color: rgba(122, 46, 34, 0.28);
}

.faq-list details[open],
details.faq-item[open],
.page-faqs__item[open],
.audience-faq-item[open] {
    border-color: rgba(122, 46, 34, 0.35);
    box-shadow: 0 12px 28px rgba(75, 42, 30, 0.08);
}

.faq-list summary,
details.faq-item > summary,
.page-faqs__item > summary,
.audience-faq-item > summary {
    position: relative;
    display: block;
    list-style: none;
    cursor: pointer;
    padding: 18px 56px 18px 22px;
    color: var(--enh-ink);
    font-weight: 800;
    font-size: 1.02rem;
    line-height: 1.45;
}

.faq-list summary::-webkit-details-marker,
details.faq-item > summary::-webkit-details-marker,
.page-faqs__item > summary::-webkit-details-marker,
.audience-faq-item > summary::-webkit-details-marker {
    display: none;
}

/* Plus / minus indicator */
.faq-list summary::after,
details.faq-item > summary::after,
.page-faqs__item > summary::after,
.audience-faq-item > summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 26px;
    height: 26px;
    margin-top: -13px;
    border-radius: 50%;
    background:
        linear-gradient(var(--enh-maroon), var(--enh-maroon)) center / 12px 2px no-repeat,
        linear-gradient(var(--enh-maroon), var(--enh-maroon)) center / 2px 12px no-repeat,
        #f8efe6;
    transition: transform 220ms ease, background-color 220ms ease;
}

.faq-list details[open] summary::after,
details.faq-item[open] > summary::after,
.page-faqs__item[open] > summary::after,
.audience-faq-item[open] > summary::after {
    background:
        linear-gradient(#fff, #fff) center / 12px 2px no-repeat,
        var(--enh-maroon);
    transform: rotate(180deg);
}

.faq-list details[open] summary,
details.faq-item[open] > summary,
.page-faqs__item[open] > summary,
.audience-faq-item[open] > summary {
    color: var(--enh-maroon);
}

.faq-list summary:focus-visible,
details.faq-item > summary:focus-visible,
.page-faqs__item > summary:focus-visible,
.audience-faq-item > summary:focus-visible {
    outline: 3px solid rgba(122, 46, 34, 0.35);
    outline-offset: -3px;
    border-radius: 16px;
}

.faq-list details > p,
details.faq-item > p,
.page-faqs__answer,
.audience-faq-item > p {
    margin: 0;
    padding: 0 22px 20px;
    color: var(--enh-muted);
    line-height: 1.7;
}

.page-faqs__answer p {
    margin: 0;
}

.faq-section .faq-list {
    max-width: 880px;
    margin-inline: auto;
}

/* FAQ page: each category is a titled group aligned with its questions. */
.faq-category-group {
    max-width: 880px;
    margin: 0 auto clamp(28px, 4vw, 44px);
    scroll-margin-top: 110px;
}

.faq-category-group > h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    color: var(--enh-maroon);
    font-size: 1.25rem;
}

.faq-category-group > h3::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--enh-border);
}

.faq-category-group .faq-list {
    max-width: none;
    margin-top: 0;
}

.faq-category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Home page FAQ (button accordion): one readable column, so opening an answer
   no longer stretches the card next to it. */
.faq .faq-grid {
    grid-template-columns: 1fr;
    max-width: 880px;
    margin-inline: auto;
    gap: 12px;
    align-items: start;
}

.faq .faq-grid .faq-item {
    border-radius: 16px;
}

.faq .faq-button {
    padding-block: 18px;
    font-size: 1.02rem;
}

.faq .faq-content p {
    line-height: 1.7;
}

/* ---------- Lead pages: hero ---------- */
.lead-hero {
    padding-block: clamp(48px, 6vw, 80px);
    text-align: center;
}

.lead-hero h1 {
    max-width: 900px;
    margin-inline: auto;
}

.lead-hero__intro {
    max-width: 720px;
    margin: 14px auto 0;
    color: var(--enh-muted);
    font-size: 1.08rem;
}

.lead-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}

/* Interest cards are buttons now (keyboard accessible). */
button.interest-card {
    font: inherit;
    cursor: pointer;
    text-align: left;
}

/* ---------- Lead pages: form + sidebar layout ---------- */
.lead-layout.lead-form-section .container {
    max-width: 1180px;
}

.lead-layout {
    padding-block: var(--enh-section-space);
}

.lead-layout__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr);
    gap: clamp(24px, 3.5vw, 44px);
    align-items: start;
}

.lead-layout__form > h2 {
    text-align: left;
    margin-bottom: 6px;
}

.lead-layout__sub {
    margin: 0 0 4px;
    color: var(--enh-muted);
}

.lead-layout__form .lead-form {
    margin-top: 20px;
}

.lead-layout__aside {
    position: sticky;
    top: 110px;
}

@media (max-width: 980px) {
    .lead-layout__grid {
        grid-template-columns: 1fr;
    }

    .lead-layout__aside {
        position: static;
    }

    /* On phones the contact details come first, the form second. */
    .lead-layout--contact .lead-layout__aside {
        order: -1;
    }
}

/* ---------- Enhanced enquiry form ---------- */
.lead-form--enhanced {
    display: grid;
    gap: 26px;
    padding: clamp(20px, 3vw, 34px);
}

.lf-group {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.lf-legend {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 0;
    color: var(--enh-ink);
    font-size: 1.05rem;
    font-weight: 850;
}

.lf-step {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--enh-maroon);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
}

.lf-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
    align-items: start;
}

.lf-grid .field.full {
    grid-column: 1 / -1;
}

@media (max-width: 640px) {
    .lf-grid {
        grid-template-columns: 1fr;
    }
}

.lead-form--enhanced .field {
    display: grid;
    gap: 7px;
    margin: 0;
}

.lead-form--enhanced .field label,
.lead-form--enhanced .lf-label {
    color: #4f4038;
    font-size: 0.88rem;
    font-weight: 800;
}

.lead-form--enhanced .req {
    color: var(--enh-maroon);
}

.lead-form--enhanced input:not([type="checkbox"]):not([type="radio"]),
.lead-form--enhanced select,
.lead-form--enhanced textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--enh-border);
    border-radius: 12px;
    background: #fff;
    color: var(--enh-ink);
    padding: 12px 14px;
    font: inherit;
    font-size: 0.97rem;
    transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.lead-form--enhanced textarea {
    min-height: 120px;
    resize: vertical;
}

.lead-form--enhanced input:focus,
.lead-form--enhanced select:focus,
.lead-form--enhanced textarea:focus {
    outline: none;
    border-color: rgba(122, 46, 34, 0.55);
    box-shadow: 0 0 0 4px rgba(122, 46, 34, 0.09);
    background: var(--enh-cream);
}

.lead-form--enhanced input:user-invalid,
.lead-form--enhanced select:user-invalid {
    border-color: #b3261e;
}

.lf-hint {
    color: var(--enh-muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Traveller type pills */
.lf-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lf-pill {
    position: relative;
    cursor: pointer;
}

.lf-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.lf-pill span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 16px;
    border: 1px solid var(--enh-border);
    border-radius: 999px;
    background: #fff;
    color: #4f4038;
    font-size: 0.92rem;
    font-weight: 700;
    transition: all 180ms ease;
}

.lf-pill:hover span {
    border-color: rgba(122, 46, 34, 0.4);
}

.lf-pill input:checked + span {
    border-color: var(--enh-maroon);
    background: var(--enh-maroon);
    color: #fff;
}

.lf-pill input:focus-visible + span {
    outline: 3px solid rgba(122, 46, 34, 0.35);
    outline-offset: 2px;
}

.lf-footer {
    display: grid;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px dashed var(--enh-border);
}

.lf-footer .consent-fields {
    display: grid;
    gap: 8px;
}

.lead-form--enhanced .lf-submit {
    width: 100%;
    min-height: 54px;
    margin-top: 4px;
    font-size: 1.02rem;
}

.lf-assurance {
    margin: 0;
    text-align: center;
    color: var(--enh-muted);
    font-size: 0.86rem;
}

.lf-assurance span[aria-hidden="true"]:not(.lf-dot) {
    color: #2f7d4f;
    font-weight: 800;
}

.lf-dot {
    margin-inline: 6px;
}

.form-errors--summary {
    padding: 12px 16px;
    border: 1px solid #f0c4bd;
    border-radius: 12px;
    background: #fdf1ef;
    color: #8a2418;
}

/* ---------- Contact panel + map ---------- */
.contact-panel,
.next-steps {
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid var(--enh-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(75, 42, 30, 0.1);
}

.lead-form-section .contact-panel__title,
.lead-form-section .next-steps__title,
.contact-panel__title,
.next-steps__title {
    margin: 0 0 8px;
    font-size: clamp(1.25rem, 1.6vw, 1.45rem);
    line-height: 1.25;
    text-align: left;
}

.lead-form-section .lead-layout__form > h2 {
    text-align: left;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}

.contact-panel__intro {
    margin: 0 0 18px;
    color: var(--enh-muted);
    font-size: 0.95rem;
}

.contact-list {
    display: grid;
    gap: 14px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.contact-list li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.contact-list__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f8efe6;
    color: var(--enh-maroon);
}

.contact-list__label {
    display: block;
    color: var(--enh-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-list a,
.contact-list address,
.contact-list li > div > span:last-child {
    color: var(--enh-ink);
    font-style: normal;
    font-weight: 700;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.contact-list a:hover {
    color: var(--enh-maroon);
    text-decoration: underline;
}

.contact-map {
    overflow: hidden;
    border: 1px solid var(--enh-border);
    border-radius: 16px;
    aspect-ratio: 4 / 3;
    background: var(--enh-soft);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-map__link {
    display: inline-block;
    margin-top: 10px;
    color: var(--enh-maroon);
    font-size: 0.9rem;
    font-weight: 700;
}

/* ---------- Quote sidebar: what happens next ---------- */
.next-steps__list {
    display: grid;
    gap: 16px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.next-steps__list li {
    position: relative;
    display: grid;
    gap: 2px;
    padding-left: 46px;
    counter-increment: step;
}

.next-steps__list li::before {
    content: counter(step);
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8efe6;
    color: var(--enh-maroon);
    font-weight: 800;
}

.next-steps__list strong {
    color: var(--enh-ink);
}

.next-steps__list span {
    color: var(--enh-muted);
    font-size: 0.92rem;
}

.next-steps__note {
    margin-top: 22px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--enh-cream);
    border: 1px solid var(--enh-border);
}

.next-steps__note p {
    margin: 4px 0 0;
    color: var(--enh-muted);
    font-size: 0.92rem;
}

.next-steps__direct {
    display: grid;
    gap: 4px;
    margin-top: 18px;
    font-size: 0.92rem;
}

.next-steps__direct span {
    color: var(--enh-muted);
}

.next-steps__direct a {
    color: var(--enh-maroon);
    font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
    .faq-list summary::after,
    details.faq-item > summary::after,
    .page-faqs__item > summary::after,
    .audience-faq-item > summary::after,
    .lf-pill span {
        transition: none;
    }
}

/* =====================================================================
   Animations, hero consistency, FAQ icon, footer, back-to-top,
   premium page sections
   ===================================================================== */

/* ---------- Image animations (enabled by js/enhancements.js) ---------- */
/* Hidden instantly (no transition), then eased in when revealed. */
.anim-ready main img.img-reveal {
    opacity: 0;
    transform: translateY(26px) scale(0.985);
    transition: none;
}

.anim-ready main img.img-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition:
        opacity 700ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
        transform 900ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

@keyframes enh-hero-in {
    from { opacity: 0; transform: scale(1.04); }
    to { opacity: 1; transform: scale(1); }
}

.anim-ready main img.img-hero-in {
    animation: enh-hero-in 1100ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Gentle zoom on hover inside cards (the card clips the image). */
.experience-card,
.tour-card,
.blog-card,
.day-tour-card,
.package-card,
.festival-card {
    overflow: hidden;
}

main img.img-zoom:not(.img-reveal),
.anim-ready main img.img-zoom.img-reveal.is-visible {
    transition:
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 700ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.experience-card:hover img.img-zoom,
.tour-card:hover img.img-zoom,
.blog-card:hover img.img-zoom,
.day-tour-card:hover img.img-zoom,
.package-card:hover img.img-zoom,
.festival-card:hover img.img-zoom,
.card:hover img.img-zoom {
    transform: scale(1.045);
}

/* Cards lift slightly on hover. */
.experience-card,
.tour-card,
.blog-card,
.premium-feature-card {
    transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 350ms ease;
}

.experience-card:hover,
.tour-card:hover,
.blog-card:hover,
.premium-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 54px rgba(75, 42, 30, 0.14);
}

@media (prefers-reduced-motion: reduce) {
    .anim-ready main img.img-reveal,
    .anim-ready main img.img-hero-in {
        opacity: 1;
        transform: none;
        animation: none;
        transition: none;
    }

    main img.img-zoom,
    .experience-card,
    .tour-card,
    .blog-card,
    .premium-feature-card {
        transition: none;
        transform: none !important;
    }
}

/* ---------- Blog / destination hero = same as every other page hero ---------- */
section.page-hero {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 40px 0 68px;
    background:
        radial-gradient(circle at 8% 10%, rgba(200, 149, 54, 0.13), transparent 30%),
        radial-gradient(circle at 92% 12%, rgba(122, 46, 34, 0.08), transparent 32%),
        linear-gradient(180deg, #fffaf3 0%, #f7efe5 100%);
    border-radius: 0;
}

section.page-hero::after {
    content: "";
    position: absolute;
    right: -180px;
    bottom: -260px;
    width: 500px;
    height: 500px;
    border-radius: 999px;
    background: rgba(245, 222, 215, 0.55);
    filter: blur(6px);
    pointer-events: none;
}

section.page-hero > .container {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 40px));
    max-width: none;
    padding: 0;
}

section.page-hero h1 {
    max-width: 690px;
    font-size: clamp(2.35rem, 4.35vw, 4.15rem);
    line-height: 1.09;
    letter-spacing: -0.026em;
}

section.page-hero .hero-grid {
    grid-template-columns: minmax(0, 0.96fr) minmax(390px, 0.84fr);
    gap: 50px;
}

section.page-hero .hero-grid > img {
    width: 100%;
    height: auto;
    aspect-ratio: 1402 / 1122;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 18px 48px rgba(72, 42, 30, 0.12);
}

@media (max-width: 980px) {
    section.page-hero .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* ---------- Home FAQ: same plus/minus icon as every other FAQ ---------- */
.faq .faq-button span {
    width: 26px;
    height: 26px;
    font-size: 0;
    color: transparent;
    background:
        linear-gradient(var(--enh-maroon), var(--enh-maroon)) center / 12px 2px no-repeat,
        linear-gradient(var(--enh-maroon), var(--enh-maroon)) center / 2px 12px no-repeat,
        #f8efe6;
    transform: none;
    transition: transform 220ms ease, background-color 220ms ease;
}

.faq .faq-item.is-open .faq-button span {
    background:
        linear-gradient(#fff, #fff) center / 12px 2px no-repeat,
        var(--enh-maroon);
    transform: rotate(180deg);
}

.faq .faq-item.is-open .faq-button {
    color: var(--enh-maroon);
}

.faq .faq-item {
    border: 1px solid var(--enh-border);
    box-shadow: 0 6px 18px rgba(75, 42, 30, 0.05);
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.faq .faq-item.is-open {
    border-color: rgba(122, 46, 34, 0.35);
    box-shadow: 0 12px 28px rgba(75, 42, 30, 0.08);
}

.faq .faq-button:focus-visible {
    outline: 3px solid rgba(122, 46, 34, 0.35);
    outline-offset: -3px;
}

/* ---------- Premium footer ---------- */
.site-footer--premium {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    background:
        radial-gradient(circle at 12% 0%, rgba(200, 149, 54, 0.14), transparent 34%),
        radial-gradient(circle at 92% 100%, rgba(122, 46, 34, 0.35), transparent 40%),
        #211913;
    color: rgba(255, 255, 255, 0.78);
}

.site-footer--premium::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--enh-gold) 20%, #e8c98a 50%, var(--enh-gold) 80%, transparent);
    opacity: 0.85;
}

.site-footer--premium .footer-grid,
.site-footer--premium .footer-bottom {
    position: relative;
    z-index: 1;
}

.site-footer--premium .footer-title {
    position: relative;
    margin-bottom: 18px;
    padding-bottom: 12px;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.site-footer--premium .footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: var(--enh-gold);
}

.site-footer--premium .footer-links {
    display: grid;
    gap: 11px;
}

.site-footer--premium .footer-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.93rem;
    text-decoration: none;
    transition: color 220ms ease;
}

/* A short gold dash slides in and an underline grows on hover. */
.site-footer--premium .footer-links a::before {
    content: "";
    width: 0;
    height: 1.5px;
    margin-right: 0;
    background: var(--enh-gold);
    transition: width 260ms cubic-bezier(0.22, 1, 0.36, 1), margin-right 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer--premium .footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 1px;
    background: rgba(232, 201, 138, 0.6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer--premium .footer-links a:hover,
.site-footer--premium .footer-links a:focus-visible {
    color: #fff;
}

.site-footer--premium .footer-links a:hover::before,
.site-footer--premium .footer-links a:focus-visible::before {
    width: 12px;
    margin-right: 8px;
}

.site-footer--premium .footer-links a:hover::after,
.site-footer--premium .footer-links a:focus-visible::after {
    transform: scaleX(1);
}

.site-footer--premium .footer-links--brand {
    margin-top: 18px;
}

.site-footer--premium .footer-brand-text,
.site-footer--premium .footer-contact-intro {
    color: rgba(255, 255, 255, 0.66);
    line-height: 1.7;
}

.footer-contact-list--icons {
    display: grid;
    gap: 12px;
    margin: 16px 0 20px;
    padding: 0;
    list-style: none;
}

.footer-contact-list--icons li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
}

.footer-contact-list--icons a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 200ms ease;
}

.footer-contact-list--icons a:hover {
    color: #e8c98a;
}

.footer-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(232, 201, 138, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: #e8c98a;
}

.footer-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.footer-cta--primary {
    background: linear-gradient(135deg, #e8c98a, var(--enh-gold));
    color: #2a1d17;
}

.footer-cta--ghost {
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
}

.footer-cta:hover {
    transform: translateY(-2px);
}

.footer-cta--ghost:hover {
    border-color: #e8c98a;
    color: #e8c98a;
}

.site-footer--premium .footer-bottom {
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.55);
}

.site-footer--premium .footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 0;
}

.site-footer--premium .footer-legal-links > * + *::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 14px 2px;
    border-radius: 50%;
    background: rgba(232, 201, 138, 0.55);
    vertical-align: middle;
}

.site-footer--premium .footer-legal-links a,
.site-footer--premium .footer-cookie-link {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.86rem;
    text-decoration: none;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    transition: color 200ms ease;
}

.site-footer--premium .footer-legal-links a:hover,
.site-footer--premium .footer-cookie-link:hover {
    color: #e8c98a;
}

@media (max-width: 1100px) {
    .site-footer--premium .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-footer--premium .footer-brand-block,
    .site-footer--premium .footer-contact {
        grid-column: span 3;
    }
}

@media (max-width: 640px) {
    .site-footer--premium .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }

    .site-footer--premium .footer-brand-block,
    .site-footer--premium .footer-contact {
        grid-column: 1 / -1;
    }

    .site-footer--premium .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ---------- Premium back-to-top with scroll progress ring ---------- */
.floating-action {
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease, opacity 260ms ease;
}

.floating-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(36, 28, 24, 0.26);
}

/* Back to top: ivory disc, maroon→gold progress ring, arrow that lifts,
   fills maroon on hover, small "TOP" caption. */
.floating-actions .floating-top {
    position: relative;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-top: 4px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffffff 0%, #fbf4ea 100%);
    color: var(--enh-maroon);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 10px 28px rgba(60, 32, 22, 0.18),
        0 2px 6px rgba(60, 32, 22, 0.08);
    cursor: pointer;
    overflow: visible;
    transition:
        transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 320ms ease,
        box-shadow 320ms ease,
        background 320ms ease,
        color 320ms ease;
}

.floating-top__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
}

.floating-top__track,
.floating-top__progress {
    fill: none;
    stroke-width: 2.4;
}

.floating-top__track {
    stroke: rgba(122, 46, 34, 0.12);
}

.floating-top__progress {
    stroke: url(#floatingTopGradient);
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: calc(100 - var(--scroll-progress, 0));
    transition: stroke-dashoffset 140ms linear;
}

.floating-top__arrow {
    position: relative;
    margin-top: -6px;
    transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.floating-top__label {
    position: absolute;
    bottom: 9px;
    left: 0;
    right: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
    opacity: 0.8;
}

.floating-actions .floating-top:hover,
.floating-actions .floating-top:focus-visible {
    background: linear-gradient(160deg, #8a3527 0%, var(--enh-maroon) 55%, #5f2119 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow:
        0 16px 34px rgba(122, 46, 34, 0.35),
        0 3px 8px rgba(60, 32, 22, 0.15);
}

.floating-actions .floating-top:hover .floating-top__track,
.floating-actions .floating-top:focus-visible .floating-top__track {
    stroke: rgba(255, 255, 255, 0.18);
}

.floating-actions .floating-top:hover .floating-top__progress,
.floating-actions .floating-top:focus-visible .floating-top__progress {
    stroke: #e8c98a;
}

.floating-top:hover .floating-top__arrow {
    transform: translateY(-3px);
}

.floating-top:active {
    transform: translateY(-1px) scale(0.96);
}

.floating-actions .floating-top.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px) scale(0.85);
}

.floating-top:focus-visible {
    outline: 2px solid #c89536;
    outline-offset: 4px;
}

@media (max-width: 820px) {
    .floating-actions .floating-top {
        width: 48px;
        height: 48px;
    }

    .floating-top__label {
        display: none;
    }

    .floating-top__arrow {
        margin-top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-actions .floating-top,
    .floating-top__arrow,
    .floating-top__progress {
        transition: none;
    }
}

/* ---------- Premium page sections (About Benson & dynamic pages) ---------- */
.hero-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero-actions-row .btn {
    margin: 0;
}

.hero .hero-portrait {
    width: 100%;
    height: auto;
    max-height: 560px;
    aspect-ratio: 4 / 4.4;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 30px;
    box-shadow: 0 30px 70px rgba(75, 42, 30, 0.2);
    outline: 1px solid rgba(200, 149, 54, 0.35);
    outline-offset: 10px;
}

.premium-features {
    background:
        radial-gradient(circle at 90% 0%, rgba(200, 149, 54, 0.1), transparent 35%),
        var(--enh-cream);
}

.premium-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.premium-feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: clamp(24px, 2.6vw, 32px);
    border: 1px solid var(--enh-border);
    border-radius: 24px;
    background: linear-gradient(180deg, #fff 0%, #fffaf3 100%);
    box-shadow: 0 14px 36px rgba(75, 42, 30, 0.08);
    overflow: hidden;
}

.premium-feature-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--enh-maroon), var(--enh-gold));
    opacity: 0;
    transition: opacity 300ms ease;
}

.premium-feature-card:hover::before {
    opacity: 1;
}

.premium-feature-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.premium-feature-card__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8efe6, #f1dfcc);
    color: var(--enh-maroon);
}

.premium-feature-card__num {
    color: rgba(122, 46, 34, 0.16);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
}

.premium-feature-card h3 {
    margin: 4px 0 0;
    color: var(--enh-ink);
    font-size: 1.22rem;
    line-height: 1.3;
}

.premium-feature-card__text,
.premium-feature-card__text p {
    margin: 0;
    color: var(--enh-muted);
    line-height: 1.7;
}

.premium-story__grid {
    display: grid;
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
}

.premium-story__grid.has-image {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.premium-story__grid.has-image.is-reversed .premium-story__media {
    order: 2;
}

.premium-story__grid.no-image {
    max-width: 880px;
    margin-inline: auto;
}

.premium-story__media {
    position: relative;
    margin: 0;
}

.premium-story__media::before {
    content: "";
    position: absolute;
    inset: 22px -18px -18px 22px;
    border: 1px solid rgba(200, 149, 54, 0.45);
    border-radius: 30px;
}

.premium-story__media img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 6 / 7;
    max-height: 620px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(75, 42, 30, 0.18);
}

.premium-story__body {
    padding: clamp(26px, 3.2vw, 44px);
    border: 1px solid var(--enh-border);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(75, 42, 30, 0.09);
}

.premium-story__body h2 {
    margin: 6px 0 16px;
}

.premium-story__content {
    color: #4f4038;
    font-size: 1.04rem;
    line-height: 1.85;
}

.premium-story__content p {
    margin: 0 0 1em;
}

.premium-story__content p:last-child {
    margin-bottom: 0;
}

/* Founder letter: warm paper, quote mark and a signature. */
.premium-story__body.is-letter {
    position: relative;
    background:
        radial-gradient(circle at 100% 0%, rgba(200, 149, 54, 0.1), transparent 40%),
        linear-gradient(180deg, #fffdf9, #fff8ef);
}

.premium-story__body.is-letter::before {
    content: "\201C";
    position: absolute;
    top: 6px;
    right: 26px;
    color: rgba(122, 46, 34, 0.1);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 8rem;
    line-height: 1;
    pointer-events: none;
}

.premium-story__signature {
    display: grid;
    gap: 2px;
    margin: 26px 0 0;
    padding-top: 18px;
    border-top: 1px dashed var(--enh-border);
    color: var(--enh-muted);
    font-size: 0.9rem;
}

.premium-story__signature span {
    color: var(--enh-maroon);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.45rem;
    font-style: italic;
    font-weight: 600;
}

@media (max-width: 900px) {
    .premium-story__grid.has-image {
        grid-template-columns: 1fr;
    }

    .premium-story__grid.has-image.is-reversed .premium-story__media {
        order: 0;
    }

    .premium-story__media::before {
        inset: 14px -10px -10px 14px;
    }

    .premium-story__media img {
        aspect-ratio: 4 / 3.4;
    }
}

/* Section headers: a small gold rule under centred titles. */
.section-header.center h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin: 16px auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--enh-maroon), var(--enh-gold));
}
