/*
 Theme Name: Wildakron
 Description: WILDAKRON – Outdoor Adventure. Zona ionica della Sicilia.
 Template: twentytwentyfive
 Version: 2.0.1
 Text Domain: wildakron
*/

/* ═══════════════════════════════════════════════════════════
   CSS CUSTOM PROPERTIES  (sovrascritta da Customizer via wp_head)
   ═══════════════════════════════════════════════════════════ */
:root {
    --wk-accent:      #D32F2F;
    --wk-accent-dark: #B71C1C;
    --wk-header-bg:   #000000;
    --wk-footer-bg:   #000000;
    --wk-logo-h:      44px;
}

/* ═══════════════════════════════════════════════════════════
   BASE
   ═══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

a { color: var(--wk-accent); text-decoration: none; transition: color .2s; }
a:hover { color: #FF5252; }

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6,
.wp-block-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.05;
    color: #fff;
}

p { line-height: 1.85; color: rgba(255,255,255,0.65); }

/* ═══════════════════════════════════════════════════════════
   HEADER  –  custom wk-header (replaces wildakron-header)
   ═══════════════════════════════════════════════════════════ */
.wk-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    /* background gestito da PHP in wp_head: sfumatura al top, solido quando scrollato */
    background: transparent;
    border-bottom: none;
    overflow: visible;
    transition: background .45s ease, border-color .3s ease;
}

/* ── inner wrapper ── */
.wk-header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.4rem 2.5rem 1rem;
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

/* ── logo ── */
.wk-logo-link {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    margin-bottom: 0.5rem;
    line-height: 1;
    transition: font-size .3s ease, margin .3s ease;
    display: block;
    white-space: nowrap;
}
.wk-logo-link span { color: var(--wk-accent); }
.wk-logo-link:hover { color: #fff; }

/* ── logo wrapper (ora wp:group, flex item in header-inner) ── */
.wk-logo-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1;
    flex-shrink: 0;
    width: auto !important;
    max-width: none !important;
    display: flex;
    align-items: center;
}
.wk-logo-text { margin: 0; padding: 0; line-height: 1; }

/* ── Logo immagine (wp:site-logo) — visibilità gestita da PHP in wp_head ── */
.wk-custom-logo        { display: none; }
.wk-custom-logo-footer { display: none; }

/*
 * In WP 7.0 wp:site-logo renderizza come <div>, non <figure>.
 * Il blocco aggiunge style="width:Xpx" inline sul <div>.
 * Usiamo !important su tutto per battere sia l'inline style
 * sia gli stili WordPress core su width/height dell'<img>.
 */
.wk-custom-logo,
.wk-custom-logo-footer {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
}
.wk-custom-logo a,
.wk-custom-logo-footer a {
    display: block !important;
    line-height: 0 !important;
}
/* Neutralizza .is-default-size (width:120px height:auto da core WP) */
.wp-block-site-logo.wk-custom-logo.is-default-size img,
.wp-block-site-logo.wk-custom-logo-footer.is-default-size img {
    width: auto !important;
    height: auto !important; /* verrà sovrascritto dal <style> inline in <head> */
}
/* Stile base img logo — i valori px vengono da customizer.php via wp_head */
.wk-custom-logo img,
.wk-custom-logo-footer img {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    max-height: none !important;
    min-width: 1px !important;
    object-fit: contain;
}

/* ── Footer logo wrapper ── */
.wk-footer-logo {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    max-width: none !important;
}

/* ── desktop nav ── */
.wk-nav { display: flex; }
.wk-nav-list,
.wk-nav .wp-block-navigation__container {
    display: flex;
    list-style: none;
    margin: 0; padding: 0;
    gap: 0;
}
.wk-nav-link,
.wk-nav .wp-block-navigation-item__content {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    padding: 0.4rem 1.1rem;
    display: block;
    transition: color .2s ease;
    position: relative;
}
.wk-nav-link::after,
.wk-nav .wp-block-navigation-item__content::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 50%; right: 50%;
    height: 2px;
    background: var(--wk-accent);
    transition: left .2s ease, right .2s ease;
}
.wk-nav-link:hover,
.wk-nav-link.current,
.wk-nav .wp-block-navigation-item__content:hover,
.wk-nav .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content { color: #fff; }
.wk-nav-link:hover::after,
.wk-nav-link.current::after,
.wk-nav .wp-block-navigation-item__content:hover::after,
.wk-nav .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content::after { left: 1.1rem; right: 1.1rem; }

/* ── language switcher ── */
.wk-lang {
    position: absolute;
    top: 1rem;
    right: 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: position .3s;
}
.wk-lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    padding: 0.15rem 0.3rem;
    transition: color .2s;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
}
.wk-lang-btn.active { color: #fff; }
.wk-lang-btn:hover { color: #fff; }
.wk-lang-sep {
    color: rgba(255,255,255,0.2);
    font-size: 0.7rem;
    pointer-events: none;
}

/* ── hamburger (mobile only) ── */
.wk-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    width: 40px; height: 40px;
}
.wk-ham-line {
    display: block;
    width: 24px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease, width .3s ease;
    transform-origin: center;
}
.wk-hamburger.is-active .wk-ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.wk-hamburger.is-active .wk-ham-line:nth-child(2) { opacity: 0; width: 0; }
.wk-hamburger.is-active .wk-ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── SCROLLED: solo il background diventa solido (JS aggiunge .is-scrolled) ── */
/* padding e layout rimangono invariati — gestito da PHP in wp_head */
.wk-header.is-scrolled {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ── MOBILE menu ── */
.wk-mobile-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #000;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.77,0,.18,1);
    overflow-y: auto;
    padding: 5rem 2rem 2rem;
}
.wk-mobile-menu.is-open {
    transform: translateX(0);
}
.wk-mobile-nav-list {
    list-style: none;
    padding: 0; margin: 0;
    text-align: center;
    width: 100%;
}
.wk-mobile-nav-list li {
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.wk-mobile-nav-link {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    text-decoration: none;
    padding: 1rem 0;
    display: block;
    transition: color .2s, padding-left .2s;
}
.wk-mobile-nav-link:hover { color: var(--wk-accent); padding-left: 0.5rem; }
.wk-mobile-lang {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    width: 100%;
}
.wk-mobile-cta {
    margin-top: 2rem;
}
.wk-mobile-wa-btn {
    display: inline-block;
    background: #25D366;
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.8rem 2rem;
    text-decoration: none;
}

/* Close button inside mobile menu */
.wk-mobile-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.3rem;
}

/* ── RESPONSIVE header ── */
@media (max-width: 900px) {
    .wk-nav { display: none !important; }
    .wk-lang { display: none; }
    .wk-hamburger { display: flex !important; }

    .wk-header-inner {
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem !important;
    }
    .wk-logo-link {
        font-size: 1.5rem !important;
        margin-bottom: 0 !important;
        order: 1;
    }
    .wk-hamburger { order: 2; }

    /* Scrolled mobile: stessa regola del default, nessun override */
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS  –  ALL solid red, no outline variants
   ═══════════════════════════════════════════════════════════ */
.btn-red,
.btn-outline-red,
.wp-block-button .wp-block-button__link,
.wp-element-button {
    display: inline-block;
    background: var(--wk-accent) !important;
    color: #fff !important;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.18em !important;
    padding: 0.95rem 2.6rem !important;
    border: 2px solid var(--wk-accent) !important;
    border-radius: 0 !important;
    cursor: pointer;
    text-decoration: none !important;
    transition: background .25s ease, transform .15s ease !important;
    line-height: 1.2 !important;
}
.btn-red:hover,
.btn-outline-red:hover,
.wp-block-button .wp-block-button__link:hover,
.wp-element-button:hover {
    background: var(--wk-accent-dark) !important;
    border-color: var(--wk-accent-dark) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.btn-white {
    background: #fff !important;
    color: #000 !important;
    border-color: #fff !important;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.18em !important;
    padding: 0.95rem 2.6rem !important;
    border-radius: 0 !important;
    display: inline-block;
    cursor: pointer;
    transition: background .25s, color .25s !important;
}
.btn-white:hover {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

/* WhatsApp float */
.wa-float {
    position: fixed;
    bottom: 2.2rem; right: 2.2rem;
    z-index: 9997;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    width: 58px; height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 6px 24px rgba(0,0,0,0.5);
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
}
.wa-float:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   SECTIONS & TYPOGRAPHY ATOMS
   ═══════════════════════════════════════════════════════════ */
.section-label {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.38em;
    color: var(--wk-accent);
    text-transform: uppercase;
    margin-bottom: 1.3rem;
}

/* Same small-caps eyebrow look as .section-label, but WITHOUT a fixed font-family,
   so real H4 headings using it (Contatti: WhatsApp, Area Operativa, Orari) keep
   following whatever "Heading 4" font is set in Site Editor → Styles → Typography. */
.contact-h4-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.38em;
    color: var(--wk-accent);
    text-transform: uppercase;
    margin-bottom: 1.3rem;
}

.section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1.5rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.55);
    max-width: 600px;
    margin: 0 auto 5.5rem;
    line-height: 1.9;
    letter-spacing: 0.01em;
}

.section-divider {
    display: block;
    width: 48px; height: 1px;
    background: var(--wk-accent);
    margin: 1rem auto 2rem;
    opacity: 0.8;
}

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.wildakron-hero,
.wk-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0 !important;
}

.hero-video-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-video-wrapper video,
.hero-bg-image {
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}
.hero-video-wrapper video { z-index: 1; }
.hero-bg-image { z-index: 0; }
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0.35) 45%,
        rgba(0,0,0,0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 1.5rem;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}
.hero-eyebrow {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.42em;
    color: var(--wk-accent);
    text-transform: uppercase;
    margin-bottom: 1.6rem;
}
.hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 0.92;
    margin: 0 0 1.5rem;
}
.hero-title em { font-style: normal; color: var(--wk-accent); }
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.7);
    font-weight: 300;
    letter-spacing: 0.05em;
    margin: 0 0 3rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.85;
}
.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.35);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: wk-bounce 2.5s ease-in-out infinite;
}
.hero-scroll-hint::after {
    content: '';
    display: block;
    width: 1px; height: 36px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
}
@keyframes wk-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════════════════════════════════
   EXCURSION CARDS
   ═══════════════════════════════════════════════════════════ */
.excursion-card {
    background: #0A0A0A;
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    transition: border-color .3s ease, transform .3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.excursion-card:hover {
    border-color: var(--wk-accent);
    transform: translateY(-4px);
}

.card-image-wrap,
.excursion-card > div:first-child {
    overflow: hidden;
    flex-shrink: 0;
}
.card-image-wrap img,
.excursion-card > div:first-child img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .65s ease;
}
.excursion-card:hover .card-image-wrap img,
.excursion-card:hover > div:first-child img {
    transform: scale(1.05);
}

.card-tag {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: var(--wk-accent);
    text-transform: uppercase;
    margin: 0;
}
.card-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.1;
    margin: 0;
}
.card-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin: 0;
    flex: 1;
}
.card-meta {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}
.card-meta-item {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.card-meta-item::before {
    content: '';
    display: inline-block;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--wk-accent);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   WHY US (PERCHÉ SCEGLIERCI)
   ═══════════════════════════════════════════════════════════ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.04);
}
.why-item {
    background: #000;
    padding: 3.5rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.why-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--wk-accent);
    transform: scaleX(0);
    transition: transform .3s ease;
}
.why-item:hover::before { transform: scaleX(1); }
.why-icon {
    display: block;
    margin-bottom: 1.8rem;
    color: rgba(255,255,255,0.32);
    transition: color .35s ease;
    line-height: 0;
}
.why-item:hover .why-icon { color: rgba(255,255,255,0.6); }
.why-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.6rem;
}
.why-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.75;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2px;
    background: rgba(255,255,255,0.04);
}
.testimonial-card {
    background: #000;
    padding: 3rem 3.2rem;
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    font-size: 5rem;
    line-height: 0.8;
    color: var(--wk-accent);
    font-family: Georgia, serif;
    display: block;
    margin-bottom: 1.5rem;
    opacity: 0.6;
}
.testimonial-text {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.85;
    font-style: italic;
    margin: 0 0 2rem;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-author-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--wk-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}
.testimonial-author-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 0.15rem;
}
.testimonial-stars { color: var(--wk-accent); font-size: 0.75rem; letter-spacing: 0.1em; }

/* ═══════════════════════════════════════════════════════════
   GOOGLE REVIEWS (box con scorrimento laterale)
   ═══════════════════════════════════════════════════════════ */
.wk-google-reviews {
    max-width: 1200px;
    margin: 0 auto;
}
.wk-google-reviews-header {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.wk-google-rating {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: #fff;
}
.wk-google-stars {
    color: var(--wk-accent);
    font-size: 1.1rem;
    letter-spacing: 0.06em;
}
.wk-google-count {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.03em;
}
.wk-google-reviews-scroll {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 0.5rem;
    background: rgba(255,255,255,0.04);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--wk-accent) transparent;
}
.wk-google-reviews-scroll::-webkit-scrollbar { height: 6px; }
.wk-google-reviews-scroll::-webkit-scrollbar-thumb { background: var(--wk-accent); }
.wk-google-reviews-scroll::-webkit-scrollbar-track { background: transparent; }
.wk-google-review-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
}
.wk-google-reviews-cta {
    display: block;
    width: max-content;
    margin: 2rem auto 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 0.8rem 1.8rem;
    transition: border-color .2s, color .2s;
}
.wk-google-reviews-cta:hover {
    border-color: var(--wk-accent);
    color: var(--wk-accent);
}
@media (max-width: 600px) {
    .wk-google-review-card { flex-basis: 82vw; }
}

/* ═══════════════════════════════════════════════════════════
   CTA BAND
   ═══════════════════════════════════════════════════════════ */
.cta-band {
    position: relative;
    overflow: hidden;
    text-align: center;
}
.cta-band::before {
    content: 'WILD';
    position: absolute;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22vw;
    font-weight: 900;
    color: rgba(0,0,0,0.12);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    letter-spacing: 0.1em;
    pointer-events: none;
    line-height: 1;
}
.cta-band-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 0.8rem;
    position: relative;
    z-index: 1;
}
.cta-band-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    margin: 0 0 2.2rem;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.wildakron-footer {
    background: var(--wk-footer-bg) !important;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-red-line {
    display: block;
    width: 100%; height: 3px;
    background: var(--wk-accent);
    border: none;
    margin: 0;
}
.footer-logo-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: #fff;
    text-transform: uppercase;
}
.footer-logo-text span { color: var(--wk-accent); }
.footer-tagline {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 0.3rem;
}
.footer-nav a,
.footer-nav .wp-block-navigation-item__content {
    color: rgba(255,255,255,0.45);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: color .2s;
}
.footer-nav a:hover,
.footer-nav .wp-block-navigation-item__content:hover { color: var(--wk-accent); }
.footer-nav .wp-block-navigation__container { gap: 0.6rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 3rem;
    padding-top: 1.5rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.2);
    text-align: center;
}
.footer-bottom a {
    color: rgba(255,255,255,0.2);
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════
   INNER PAGE HERO
   ═══════════════════════════════════════════════════════════ */
.page-hero {
    padding: 13rem 2rem 8rem;
    text-align: center;
    background: #000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.page-hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.8rem, 7vw, 5.8rem);
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 1.2rem;
}
.page-hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
    letter-spacing: 0.02em;
    line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════════
   SERVIZI PAGE
   ═══════════════════════════════════════════════════════════ */
.servizi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 5rem;
}
.servizio-item {
    background: #000;
    padding: 3.5rem 2.5rem;
    position: relative;
    transition: background .25s;
    min-width: 0;
}
.servizio-item:hover { background: #080808; }
.servizio-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--wk-accent);
    transform: scaleX(0);
    transition: transform .3s;
    transform-origin: left;
}
.servizio-item:hover::after { transform: scaleX(1); }
.servizio-icon {
    margin: 0 auto 1.6rem;
}
.servizio-icon img {
    display: block;
    transition: filter .3s ease;
}
.servizio-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 0.7rem;
    white-space: nowrap;
}
.servizio-desc,
.servizio-item p:not(.servizio-icon) {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin: 0;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}
.incluso-subtitle {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--wk-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 2.5rem 0 1rem;
}
.incluso-subtitle:first-of-type { margin-top: 1rem; }
.incluso-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.incluso-item {
    background: #0D0D0D;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 1.2rem 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
}
.incluso-item::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--wk-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   FAQ (accordion nativo, senza JS)
   ═══════════════════════════════════════════════════════════ */
.wk-faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: rgba(255,255,255,0.06);
}
.wk-faq-item {
    background: #0D0D0D;
    padding: 1.3rem 1.8rem;
}
.wk-faq-item summary {
    cursor: pointer;
    list-style: none;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    letter-spacing: 0.02em;
    position: relative;
    padding-right: 2rem;
}
.wk-faq-item summary::-webkit-details-marker { display: none; }
.wk-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.3rem;
    color: var(--wk-accent);
    transition: transform .25s ease;
}
.wk-faq-item[open] summary::after { transform: rotate(45deg); }
.wk-faq-item p {
    margin: 0.9rem 0 0;
    color: rgba(255,255,255,0.6);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE INNER GRIDS (used in Chi Siamo, Contatti)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
    [style*="grid-template-columns: repeat(4, 1fr)"],
    [style*="grid-template-columns:repeat(4,1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 480px) {
    .page-hero { padding: 9rem 1.5rem 4rem; }
}

/* ═══════════════════════════════════════════════════════════
   WP / FSE OVERRIDES
   ═══════════════════════════════════════════════════════════ */
.wp-site-blocks,
.is-root-container,
body.wildakron-site { background: #000; }

.entry-content,
.wp-block-post-content {
    background: #000;
    color: rgba(255,255,255,0.65);
}

.wp-block-template-part { display: contents; }

main.wp-block-group {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ═══════════════════════════════════════════════════════════
   LAYOUT UTILITIES
   ═══════════════════════════════════════════════════════════ */
.wk-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
    width: 100%;
}
.wk-container--narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
    width: 100%;
}
.wk-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.wk-cards-grid--2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}
@media (max-width: 900px) {
    .wk-cards-grid { grid-template-columns: 1fr; }
    .wk-cards-grid--2 { grid-template-columns: 1fr; }
}
@media (min-width: 600px) and (max-width: 900px) {
    .wk-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Card internals ── */
.card-body {
    padding: 2rem 2rem 2.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    flex: 1;
}
.card-footer {
    margin-top: auto;
    padding-top: 1.3rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.card-badge {
    position: absolute;
    top: 1rem; right: 1rem;
    background: var(--wk-accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    z-index: 2;
}
.excursion-card--soon { opacity: 0.82; }
.excursion-card--soon .card-image-wrap img { filter: grayscale(60%) brightness(0.6); }
.excursion-card--soon .btn-red {
    background: #555 !important;
    border-color: #555 !important;
    cursor: default;
}
.excursion-card--soon .btn-red:hover {
    background: #555 !important;
    border-color: #555 !important;
    transform: none;
}

/* ── Footer columns ── */
.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 4.5rem;
    margin-bottom: 3.5rem;
}
@media (max-width: 768px) {
    .footer-columns { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ── btn-white: white bg, red text (for use on red backgrounds) ── */
.btn-white { color: var(--wk-accent) !important; }

/* Editor dark mode */
.editor-styles-wrapper {
    background: #000 !important;
    color: #fff !important;
    font-family: 'Inter', sans-serif !important;
}

/* ═══════════════════════════════════════════════════════════
   NAV WHATSAPP BUTTON
   ═══════════════════════════════════════════════════════════ */
.wk-nav-wa,
.wk-nav-wa-item .wp-block-navigation-item__content {
    background: var(--wk-accent) !important;
    color: #fff !important;
    padding: 0.4rem 1.1rem !important;
    margin-left: 0.5rem !important;
    transition: background .2s !important;
    border-radius: 0 !important;
}
.wk-nav-wa:hover,
.wk-nav-wa-item .wp-block-navigation-item__content:hover { background: var(--wk-accent-dark) !important; color: #fff !important; }
.wk-nav-wa-item .wp-block-navigation-item__content::after { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   CHI SIAMO – STATS GRID
   ═══════════════════════════════════════════════════════════ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1px;
    background: rgba(255,255,255,0.06);
    max-width: 900px;
    margin: 0 auto;
}
.stat-item {
    background: #0D0D0D;
    padding: 3.5rem 2rem;
    text-align: center;
}
.stat-number {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(3rem,5vw,4.5rem);
    font-weight: 800;
    color: var(--wk-accent);
    line-height: 1;
    letter-spacing: -0.02em;
    display: block;
}
.stat-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 0.5rem;
    display: block;
}

/* ═══════════════════════════════════════════════════════════
   SERVIZI – body wrapper
   ═══════════════════════════════════════════════════════════ */
.servizio-body { flex: 1; }

/* ═══════════════════════════════════════════════════════════
   INCLUSO LIST – vertical with checkmark span
   ═══════════════════════════════════════════════════════════ */
.incluso-list { flex-direction: column; }
.incluso-item { align-items: flex-start; gap: 1rem; }
.incluso-item::before { display: none; }
.incluso-check {
    color: var(--wk-accent);
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
    font-family: 'Barlow Condensed', sans-serif;
}

/* ═══════════════════════════════════════════════════════════
   ELEGANCE v2 — breathing room, refined micro-details
   ═══════════════════════════════════════════════════════════ */

/* More vertical space between wp:group sections */
.wp-block-group.alignfull + .wp-block-group.alignfull {
    border-top: 1px solid rgba(255,255,255,0.03);
}

/* CTA band: richer vertical padding */
.cta-band {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

/* Excursion card: tighter border, richer hover shadow */
.excursion-card {
    border-color: rgba(255,255,255,0.05);
    box-shadow: 0 0 0 0 transparent;
    transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.excursion-card:hover {
    box-shadow: 0 8px 40px rgba(211,47,47,0.08);
}

/* Card image container: enforce aspect ratio for uniformity */
.card-image-wrap {
    aspect-ratio: 16 / 10;
}

/* Card meta: more refined dot separator */
.card-meta-item::before {
    width: 4px; height: 4px;
    opacity: 0.6;
}

/* Why grid: refined gap line */
.why-grid {
    background: rgba(255,255,255,0.03);
}

/* Why title: slightly more generous */
.why-title {
    font-size: 1.15rem;
    margin: 0 0 0.8rem;
}

/* Testimonials: refined gap */
.testimonials-grid {
    gap: 1px;
}

/* CTA band title: slightly larger, tighter tracking for impact */
.cta-band-title {
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    letter-spacing: 0.05em;
}

/* CTA band subtitle: more refined */
.cta-band-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.02em;
    margin-bottom: 2.8rem;
}

/* Footer: refined tagline */
.footer-tagline {
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.3);
    margin-top: 0.4rem;
}

/* Footer bottom: more breathing room */
.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
}

/* Footer nav links: slightly more spaced */
.footer-nav a {
    letter-spacing: 0.12em;
    font-size: 0.84rem;
}

/* Servizi grid: slightly richer gap */
.servizi-grid {
    background: rgba(255,255,255,0.04);
    margin-bottom: 6rem;
}

/* Stats grid: refined border tone */
.stats-grid {
    background: rgba(255,255,255,0.04);
}

/* Stat label: slightly more readable */
.stat-label {
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.45);
}

/* Page hero eyebrow: luxury spacing */
.page-hero .section-label,
.page-hero .hero-eyebrow {
    letter-spacing: 0.45em;
    margin-bottom: 1.4rem;
}

/* Hero scroll hint: starts lower for more breathing room */
.hero-scroll-hint {
    bottom: 3rem;
}

/* Mobile hero padding fix for taller hero text */
@media (max-width: 480px) {
    .page-hero { padding: 10rem 1.5rem 5rem; }
    .card-image-wrap { aspect-ratio: 4 / 3; }
}


/* ═══════════════════════════════════════════════════════════
   v3 OVERRIDES: WHITE CARDS, SECTION SPACING, SVG ICONS
   ═══════════════════════════════════════════════════════════ */

/* ── Excursion cards: white redesign ── */
.excursion-card {
    background: #ffffff !important;
    border: none !important;
    border-radius: 2px;
    box-shadow: 0 2px 24px rgba(0,0,0,0.09), 0 1px 4px rgba(0,0,0,0.05) !important;
    transition: box-shadow .35s ease, transform .35s ease !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden;
    color: #000;
    height: 100%;
}
.excursion-card:hover {
    border-color: transparent !important;
    box-shadow: 0 14px 50px rgba(0,0,0,0.16), 0 2px 8px rgba(0,0,0,0.07) !important;
    transform: translateY(-5px) !important;
}
.excursion-card .wp-block-image {
    margin: 0 !important;
    flex-shrink: 0;
    overflow: hidden;
}
.excursion-card .wp-block-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform .65s ease;
}
.excursion-card:hover .wp-block-image img { transform: scale(1.04); }
.excursion-card .card-tag {
    padding: 1.5rem 1.5rem 0 !important;
    color: var(--wk-accent) !important;
    margin: 0 !important;
}
.excursion-card .card-title {
    color: #000 !important;
    padding: 0.5rem 1.5rem 0 !important;
    margin: 0 !important;
}
.excursion-card p {
    color: #444 !important;
    padding: 0.5rem 1.5rem !important;
    margin: 0 !important;
    font-size: 0.9rem;
    line-height: 1.65;
}
.excursion-card p em {
    color: #888 !important;
    font-size: 0.82rem;
}

/* ── Tour data badges (ore / km / dislivello) ── */
.wk-tour-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.4rem;
    padding: 0.6rem 1.5rem 0 !important;
    margin: 0 !important;
}
.wk-tour-badge {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    color: #000;
    text-transform: uppercase;
}
.wk-tour-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--wk-accent);
}
.excursion-card .wp-block-buttons {
    margin-top: auto !important;
    padding: 1rem 1.5rem 1.5rem !important;
}
.excursion-card .wp-block-button__link {
    background: var(--wk-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.75rem 1.5rem !important;
    transition: background .2s !important;
    width: 100%;
    display: block;
    text-align: center;
    box-shadow: none !important;
}
.excursion-card .wp-block-button__link:hover { background: var(--wk-accent-dark) !important; }
.excursion-card--soon .wp-block-button__link {
    background: #bbb !important;
    cursor: default;
    pointer-events: none;
}
.excursion-card--soon .wp-block-image img { filter: grayscale(25%) brightness(0.92); }

/* ── Section heading spacing ── */
.section-label { margin-bottom: 0.8rem !important; }
.section-title { margin-bottom: 3.5rem !important; }

/* ── "TUTTE LE ESCURSIONI": spazio sopra ── */
.wk-cards-grid + .wp-block-buttons,
.wk-cards-grid--2 + .wp-block-buttons {
    margin-top: 3rem !important;
}

/* ── White sections (testi lunghi) ── */
.section-white,
.section-white.wp-block-group,
.has-section-white-background-color {
    background: #ffffff !important;
    color: #000 !important;
}
.section-white .section-title,
.section-white h1, .section-white h2,
.section-white h3, .section-white h4,
.section-white p, .section-white .wp-block-heading {
    color: #000 !important;
}
.section-white .section-label { color: var(--wk-accent) !important; }
.section-white p { color: #333 !important; }

/* ── SVG icons for why/values items ── */
/* Replace emoji with CSS icons via ::before on each nth-child */
.wp-block-columns.why-grid .wp-block-column h3::before {
    content: '';
    display: block;
    width: 44px;
    height: 44px;
    margin: 0 auto 1.2rem;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0.45;
    transition: opacity .3s;
}
.wp-block-columns.why-grid .wp-block-column:hover h3::before { opacity: 1; }
/* 1st: Medal/Badge */
.wp-block-columns.why-grid .wp-block-column:nth-child(1) h3::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.477 12.89L17 22l-5-3-5 3 1.523-9.11'/%3E%3C/svg%3E");
}
/* 2nd: Leaf */
.wp-block-columns.why-grid .wp-block-column:nth-child(2) h3::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10z'/%3E%3Cpath d='M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12'/%3E%3C/svg%3E");
}
/* 3rd: Mountain */
.wp-block-columns.why-grid .wp-block-column:nth-child(3) h3::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='3 17 9 5 14 11 17 8 21 17 3 17'/%3E%3C/svg%3E");
}
/* 4th: Star */
.wp-block-columns.why-grid .wp-block-column:nth-child(4) h3::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E");
}

/* ── SVG icons on white sections (dark stroke) ── */
.section-white .wp-block-columns.why-grid .wp-block-column h3::before {
    filter: invert(1); /* invert white to black */
}

/* ── Servizi icons ── */
.servizi-grid .wp-block-column:nth-child(1) .servizio-icon::before,
.servizio-item:nth-child(1) .wp-block-heading.servizio-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5.5' cy='17.5' r='3'/%3E%3Ccircle cx='18.5' cy='17.5' r='3'/%3E%3Cpath d='M15 6a1 1 0 0 0-1 1v0M5.5 17.5L8 10l4 4 3-7 1.5 3.5'/%3E%3C/svg%3E");
}

/* ── Founder / Antonino Leo section ── */
.wk-founder-section {
    background: #ffffff !important;
}
.wk-founder-section .section-label { color: var(--wk-accent) !important; }
.wk-founder-name {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem) !important;
    font-weight: 800;
    color: #000 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem !important;
}
.wk-founder-role {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--wk-accent) !important;
    margin-bottom: 1.8rem !important;
}
.wk-founder-bio { max-width: 520px; }
.wk-founder-bio p {
    font-size: 1rem !important;
    color: #333 !important;
    line-height: 1.85 !important;
    margin-bottom: 1rem !important;
}
.wk-founder-photo-placeholder {
    background: #f4f4f4;
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    color: #999;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: 2px dashed #ddd;
    border-radius: 2px;
    min-height: 320px;
}
.wk-founder-photo-placeholder svg {
    width: 40px;
    height: 40px;
    opacity: 0.35;
    stroke: #999;
}

/* ── Galleria — Apple-style 3-column parallax ── */
.wk-gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    padding: 2rem 0 1rem;
    align-items: start;
}
@media (max-width: 900px) { .wk-gallery-masonry { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (max-width: 560px) { .wk-gallery-masonry { grid-template-columns: 1fr; gap: 1.1rem; } }

.wk-gallery-col {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    will-change: transform;
}
/* Columns now start flush — the old top offsets left an empty gap in the first row.
   Natural masonry variation still comes from each photo's own height + the parallax drift. */

.wk-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    cursor: pointer;
    display: block;
    background: #0a0a0a;
}

/* Scroll reveal: items emerge softly out of shadow from below — faded, blurred, rising */
.wk-reveal {
    opacity: 0;
    transform: translateY(85px);
    filter: blur(14px);
    transition: opacity 1.2s cubic-bezier(.16,1,.3,1), transform 1.2s cubic-bezier(.16,1,.3,1), filter 1.2s cubic-bezier(.16,1,.3,1);
    transition-delay: var(--wk-reveal-delay, 0ms);
}
.wk-reveal.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }
@media (prefers-reduced-motion: reduce) {
    .wk-reveal { opacity: 1; transform: none; filter: none; transition: none; }
    .wk-gallery-col { transform: none !important; }
}
/* Block editor: the scroll-reveal JS never runs there, so force everything visible
   instead of leaving it stuck at opacity:0 (looked like a blank/black page). */
.editor-styles-wrapper .wk-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
}

/* A dark veil rises out of the bottom edge as the item is still "in shadow", dissolving once revealed */
.wk-gallery-item::before {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 60%;
    background: linear-gradient(to top, #000 0%, rgba(0,0,0,0) 100%);
    opacity: 1;
    transition: opacity 1.3s cubic-bezier(.16,1,.3,1);
    transition-delay: var(--wk-reveal-delay, 0ms);
    pointer-events: none;
    z-index: 1;
}
.wk-gallery-item.is-visible::before { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
    .wk-gallery-item::before { opacity: 0; }
}
.editor-styles-wrapper .wk-gallery-item::before {
    opacity: 0 !important;
}

.wk-gallery-item img,
.wk-gallery-item video {
    width: 100%;
    display: block;
    transition: transform 5s cubic-bezier(.16,1,.3,1);
    transform: scale(1.0);
}
/* Very subtle continuous "ken burns" once the item has scrolled into view */
.wk-gallery-item.is-visible img,
.wk-gallery-item.is-visible video { transform: scale(1.04); }
/* Gentle extra zoom on direct hover, Apple-restrained rather than dramatic */
.wk-gallery-item:hover img,
.wk-gallery-item:hover video { transform: scale(1.07); transition-duration: 1s; }

.wk-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 40%);
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
}
.wk-gallery-item:hover::after { opacity: 1; }

.wk-gallery-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    margin: 0 !important;
    padding: 1.25rem 1.4rem !important;
    color: #fff !important;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: left !important;
    transform: translateY(12px);
    opacity: 0;
    transition: transform .45s cubic-bezier(.16,1,.3,1), opacity .45s ease;
    z-index: 2;
}
.wk-gallery-item:hover .wk-gallery-caption { transform: translateY(0); opacity: 1; }

/* Touch devices have no hover: reveal the caption (and its dark backdrop) together with
   the photo itself, right as it scrolls into view, instead of requiring a tap. */
@media (hover: none), (pointer: coarse) {
    .wk-gallery-item.is-visible::after { opacity: 1; }
    .wk-gallery-item.is-visible .wk-gallery-caption { transform: translateY(0); opacity: 1; }
}

/* Video items: hover-to-preview */
.wk-gallery-video video { object-fit: cover; }
.wk-play-icon {
    position: absolute;
    top: 50%; left: 50%;
    width: 56px; height: 56px;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,.45);
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    z-index: 2;
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none;
}
.wk-gallery-video:hover .wk-play-icon { opacity: 0; transform: translate(-50%, -50%) scale(1.15); }

.wk-gallery-placeholder {
    background: #111;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.7rem;
    color: rgba(255,255,255,0.2);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 2px;
}
.wk-gallery-placeholder.tall { aspect-ratio: 2/3; }
.wk-gallery-placeholder.wide { aspect-ratio: 16/9; }

/* ── Lightbox ── */
.wk-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,.94);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease;
}
.wk-lightbox.is-open { opacity: 1; visibility: visible; }
.wk-lightbox-stage {
    max-width: 90vw;
    max-height: 86vh;
    position: relative;
    opacity: 0;
    transform: scale(.96);
    transition: opacity .35s ease, transform .35s ease;
}
.wk-lightbox.is-open .wk-lightbox-stage { opacity: 1; transform: scale(1); }
.wk-lightbox-stage img,
.wk-lightbox-stage video {
    max-width: 90vw;
    max-height: 86vh;
    display: block;
    border-radius: 2px;
}
.wk-lightbox-caption {
    text-align: center;
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-top: 1rem;
    opacity: .8;
}
.wk-lightbox-close,
.wk-lightbox-prev,
.wk-lightbox-next {
    position: fixed;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    opacity: .7;
    transition: opacity .25s ease, transform .25s ease;
    z-index: 2;
}
.wk-lightbox-close:hover,
.wk-lightbox-prev:hover,
.wk-lightbox-next:hover { opacity: 1; }
.wk-lightbox-close {
    top: 1.5rem; right: 1.5rem;
    font-size: 2rem;
    line-height: 1;
}
.wk-lightbox-prev,
.wk-lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.4rem;
    padding: 0.5rem 1rem;
}
.wk-lightbox-prev:hover,
.wk-lightbox-next:hover { transform: translateY(-50%) scale(1.15); }
.wk-lightbox-prev { left: .5rem; }
.wk-lightbox-next { right: .5rem; }
@media (max-width: 600px) {
    .wk-lightbox-prev, .wk-lightbox-next { font-size: 1.8rem; padding: .4rem .6rem; }
    .wk-lightbox-close { top: .8rem; right: .8rem; font-size: 1.6rem; }
}

/* ── Contact Form 7 dark styling ── */
.wk-contact-form .wpcf7 { margin: 0 auto; }
.wk-contact-form .wpcf7-form { display: flex; flex-direction: column; gap: 0; }
.wk-contact-form input[type="text"],
.wk-contact-form input[type="email"],
.wk-contact-form input[type="tel"],
.wk-contact-form textarea {
    width: 100%;
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: #fff !important;
    padding: 0.9rem 1.1rem !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    border-radius: 0;
    transition: border-color .2s;
    box-sizing: border-box;
    margin-bottom: 1rem;
    display: block;
}
.wk-contact-form input:focus,
.wk-contact-form textarea:focus {
    outline: none !important;
    border-color: var(--wk-accent) !important;
}
.wk-contact-form input::placeholder,
.wk-contact-form textarea::placeholder { color: rgba(255,255,255,0.3); }
.wk-contact-form textarea { min-height: 140px; resize: vertical; }
.wk-contact-form input[type="submit"] {
    background: var(--wk-accent) !important;
    color: #fff !important;
    border: none !important;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase;
    cursor: pointer;
    padding: 1rem 2.5rem !important;
    transition: background .2s !important;
    border-radius: 0;
    width: 100%;
    margin-top: 0.5rem;
}
.wk-contact-form input[type="submit"]:hover { background: var(--wk-accent-dark) !important; }
.wk-contact-form .wpcf7-not-valid-tip {
    color: #ff5252;
    font-size: 0.78rem;
    margin-top: -0.7rem;
    margin-bottom: 0.5rem;
    display: block;
}
.wk-contact-form .wpcf7-mail-sent-ok {
    border: 1px solid #4caf50 !important;
    color: #4caf50 !important;
    padding: 1rem !important;
    background: rgba(76,175,80,0.08) !important;
    margin-top: 1rem;
}
.wk-contact-form .wpcf7-validation-errors {
    border-color: rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.5) !important;
    margin-top: 1rem;
}

/* ── Servizio icon alignment ── */
figure.servizio-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem !important;
}
.servizio-item:hover .servizio-icon img,
.wp-block-column:hover .servizio-icon img {
    filter: drop-shadow(0 0 7px var(--wk-accent)) brightness(1.4);
}

/* ── Card duration label ── */
.card-duration em::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 0.3rem;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* ═══════════════════════════════════════════════════════════
   HERO VIDEO VIGNETTE + BOTTOM FADE
   ═══════════════════════════════════════════════════════════ */
.wp-block-cover.alignfull::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background:
        radial-gradient(ellipse 120% 100% at 50% 50%,
            transparent 30%,
            rgba(0,0,0,0.55) 70%,
            rgba(0,0,0,0.88) 100%),
        linear-gradient(to bottom,
            rgba(0,0,0,0.55) 0%,
            transparent 20%,
            transparent 50%,
            rgba(0,0,0,0.85) 80%,
            rgba(0,0,0,1)    100%);
}
/* inner content must sit above the vignette */
.wp-block-cover.alignfull .wp-block-cover__inner-container {
    position: relative;
    z-index: 3;
}

/* Desktop: hero subtitle on one line */
@media (min-width: 901px) {
    .wp-block-cover .wp-block-cover__inner-container > p {
        white-space: nowrap;
    }
}

/* Mobile: cap video hero height */
@media (max-width: 900px) {
    .wp-block-cover.alignfull[style*="min-height:100vh"],
    .wp-block-cover.alignfull[style*="min-height: 100vh"] {
        min-height: 75vh !important;
    }
    /* Pull the "Prenota Ora" CTA up so it overlaps the video's own bottom fade-to-black,
       instead of just sitting close beneath it. Keeps the video height untouched. */
    .hero-cta {
        margin-top: -3.2rem !important;
        position: relative;
        z-index: 4;
    }
}

/* ═══════════════════════════════════════════════════════════
   CARD EQUAL HEIGHT + BUTTON ALIGNMENT
   ═══════════════════════════════════════════════════════════ */

/* Force grid layout overriding WP's is-layout-flex inline styles */
.wk-cards-grid.wp-block-columns,
.wk-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch !important;
}
.wk-cards-grid--2.wp-block-columns,
.wk-cards-grid--2 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: stretch !important;
    margin-top: 1.5rem;
}

/* Cards fill the full grid cell height */
.wk-cards-grid .wp-block-column.excursion-card,
.wk-cards-grid--2 .wp-block-column.excursion-card {
    height: 100%;
    display: flex !important;
    flex-direction: column !important;
}

/* Description paragraph grows to fill space, pushing button down */
.excursion-card > p:not(.card-duration):not([class*="has-text-align"]) {
    flex: 1 1 auto;
}

@media (max-width: 900px) {
    .wk-cards-grid.wp-block-columns,
    .wk-cards-grid { grid-template-columns: 1fr !important; }
    .wk-cards-grid--2.wp-block-columns,
    .wk-cards-grid--2 { grid-template-columns: 1fr !important; }
}
@media (min-width: 600px) and (max-width: 900px) {
    .wk-cards-grid.wp-block-columns,
    .wk-cards-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
