/* =============================================================
   HOSPED MAIN CSS v1.2 — hosped-child/assets/css/hosped-main.css
   ============================================================= */

:root {
    --green:       #009C1B;
    --green-dark:  #007814;
    --green-pale:  #e8f7eb;
    --green-light: #f0faf2;
    --orange:      #FF5900;
    --orange-pale: #fff1eb;
    --evergreen:   #0B1F1B;
    --lime:        #A3FF12;
    --lime-dark:   #7acc00;
    --white:       #ffffff;
    --gray-50:     #f8faf8;
    --gray-100:    #f0f4f1;
    --gray-200:    #dde8de;
    --gray-400:    #9aad9b;
    --gray-600:    #5a6e5b;
    --gray-800:    #2d3e2e;
    --font-display: 'Montserrat', sans-serif;
    --font-body:    'Plus Jakarta Sans', sans-serif;
    --shadow-sm:  0 1px 4px rgba(11,31,27,.07);
    --shadow-md:  0 4px 16px rgba(11,31,27,.09);
    --shadow-lg:  0 12px 40px rgba(11,31,27,.12);
    --shadow-xl:  0 24px 64px rgba(11,31,27,.14);
    --radius:     16px;
    --radius-sm:  10px;
    --radius-lg:  24px;
    /* Slider card width — JS reads this via getComputedStyle, keeps CSS & JS in sync */
    --testi-card-width: 380px;
    --testi-gap: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--evergreen);
    overflow-x: hidden;
    margin: 0;
}
.site-content, .entry-content, #page { all: unset; display: block; }

/* ===== LOADER ===== */
#loader {
    position: fixed; inset: 0; background: var(--white); z-index: 9999;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: opacity .7s ease, visibility .7s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { font-family: var(--font-display); font-weight: 900; font-size: 3rem; color: var(--evergreen); letter-spacing: .08em; margin-bottom: 1.5rem; }
.loader-logo span { color: var(--green); }
.loader-bar { width: 180px; height: 3px; background: var(--gray-200); border-radius: 2px; overflow: hidden; }
.loader-bar-fill { height: 100%; background: linear-gradient(90deg, var(--green), var(--lime-dark)); animation: loadFill 1.8s ease forwards; width: 0; }
@keyframes loadFill { to { width: 100%; } }
.loader-tagline { font-size: .72rem; color: var(--gray-400); margin-top: 1rem; letter-spacing: .2em; text-transform: uppercase; }

/* ===== NAVBAR ===== */
#mainNav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1.1rem 0; background: rgba(255,255,255,0);
    transition: background .4s, box-shadow .4s, padding .4s;
}
#mainNav.scrolled {
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(11,31,27,.08), var(--shadow-sm);
    padding: .65rem 0;
}
.navbar-brand {
    font-family: var(--font-display); font-weight: 900;
    font-size: 1.45rem; color: var(--evergreen) !important; letter-spacing: .05em;
    display: flex; align-items: center; gap: .6rem;
}
/* Logo image inside navbar brand */
.navbar-brand img.site-logo {
    height: 40px; width: auto;
    transition: height .3s;
}
#mainNav.scrolled .navbar-brand img.site-logo { height: 32px; }
/* Fallback text when no logo uploaded */
.navbar-brand .logo-text { color: var(--evergreen); }
.navbar-brand .logo-text span { color: var(--green); }

.navbar-nav .nav-link { color: var(--gray-600) !important; font-weight: 500; font-size: .875rem; padding: .4rem .85rem !important; transition: color .2s; }
.navbar-nav .nav-link:hover { color: var(--green) !important; }
.btn-nav-cta {
    background: var(--green); color: var(--white) !important; font-weight: 700;
    border-radius: 50px; padding: .45rem 1.25rem !important; font-size: .85rem;
    transition: transform .2s, box-shadow .2s, background .2s;
    text-decoration: none;
}
.btn-nav-cta:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,156,27,.3); }
.navbar-toggler { border: 1px solid var(--gray-200); }

/* ===== BUTTONS ===== */
.btn-primary-hosped {
    background: var(--green); color: var(--white); font-family: var(--font-display); font-weight: 700;
    font-size: .9rem; padding: .85rem 2rem; border-radius: 50px; border: none;
    display: inline-flex; align-items: center; gap: .5rem; transition: all .25s; text-decoration: none;
}
.btn-primary-hosped:hover { background: var(--green-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,156,27,.3); }
.btn-secondary-hosped {
    background: transparent; color: var(--orange); font-family: var(--font-display); font-weight: 700;
    font-size: .9rem; padding: .82rem 2rem; border-radius: 50px; border: 2px solid var(--orange);
    display: inline-flex; align-items: center; gap: .5rem; transition: all .25s; text-decoration: none;
}
.btn-secondary-hosped:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,89,0,.25); }

/* ===== SECTION LABELS & TITLES ===== */
.section-label {
    display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem;
    font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
    color: var(--green); margin-bottom: .85rem;
}
.section-label::before { content: ''; display: block; width: 20px; height: 2px; background: var(--green); }
.section-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.2; color: var(--evergreen); }
.section-title .accent { color: var(--green); }
.section-subtitle { color: var(--gray-600); font-size: .95rem; line-height: 1.75; max-width: 560px; }
.section-divider { width: 48px; height: 3px; background: linear-gradient(90deg, var(--green), var(--lime-dark)); border-radius: 2px; margin: 1.25rem 0; }

/* ===== SECTIONS ===== */
section { padding: 5.5rem 0; }
section.bg-white { background: var(--white); }
section.bg-light-green { background: var(--gray-50); }

/* ===== HERO ===== */
#hero {
    min-height: 100vh; display: flex; align-items: center;
    padding: 7rem 0 4rem; background: var(--white); position: relative; overflow: hidden;
}
#hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(0,156,27,.12) 1px, transparent 1px);
    background-size: 36px 36px; pointer-events: none;
}
.hero-blob { position: absolute; top: -120px; right: -180px; width: 600px; height: 600px; pointer-events: none; background: radial-gradient(ellipse at center, rgba(0,156,27,.08) 0%, transparent 70%); }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: var(--green-pale); border: 1px solid rgba(0,156,27,.2); border-radius: 50px; padding: .35rem 1rem; font-size: .73rem; font-weight: 600; color: var(--green-dark); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.5rem; }
.hero-badge-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: pulseDot 1.5s infinite; }
@keyframes pulseDot { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.4; transform:scale(.75); } }
.hero-headline { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.1rem, 4.5vw, 3.6rem); line-height: 1.1; color: var(--evergreen); margin-bottom: 1.25rem; }
.hero-headline .accent-green  { color: var(--green); }
.hero-headline .accent-orange { color: var(--orange); }
.hero-sub { color: var(--gray-600); font-size: 1rem; line-height: 1.8; max-width: 500px; margin-bottom: 2.5rem; }
.hero-stats {
    display: flex; margin-bottom: 2.5rem; background: var(--white);
    border: 1px solid var(--gray-200); border-radius: var(--radius);
    box-shadow: var(--shadow-md); overflow: hidden; width: fit-content;
}
.stat-item { padding: 1rem 1.5rem; display: flex; flex-direction: column; align-items: center; text-align: center; }
.stat-item + .stat-item { border-left: 1px solid var(--gray-200); }
.stat-number { font-family: var(--font-display); font-weight: 900; font-size: 1.8rem; color: var(--green); line-height: 1; }
.stat-label { font-size: .72rem; color: var(--gray-600); margin-top: .3rem; line-height: 1.4; }

/* ===== MAP PANEL ===== */
.map-panel { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); padding: 1.5rem; position: relative; overflow: hidden; }
.map-panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--gray-200); }
.map-panel-title { font-family: var(--font-display); font-weight: 700; font-size: .82rem; color: var(--evergreen); }
.map-panel-badge { font-size: .68rem; font-weight: 600; color: var(--green); background: var(--green-pale); padding: .2rem .65rem; border-radius: 50px; }
#map-svg-container { width: 100%; position: relative; }
#map-svg-container svg { width: 100%; height: auto; display: block; }
/* Style province paths from the simplemaps SVG */
#map-svg-container svg path,
#map-svg-container svg polygon {
    fill: var(--green-pale); stroke: var(--white); stroke-width: .8; transition: fill .2s;
}
#map-svg-container svg path:hover,
#map-svg-container svg polygon:hover { fill: rgba(0,156,27,.25); cursor: pointer; }

/* Pulse markers — percentage-based over SVG container */
.map-markers { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.map-marker  { position: absolute; transform: translate(-50%, -50%); }
.map-marker-core {
    width: 10px; height: 10px; background: var(--green);
    border-radius: 50%; border: 2px solid var(--white);
    box-shadow: 0 2px 6px rgba(0,156,27,.4); position: relative; z-index: 2;
}
.map-marker-ring {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 10px; height: 10px; border-radius: 50%;
    border: 2px solid var(--green); animation: markerRing 2s ease-out infinite;
}
.map-marker.orange .map-marker-core { background: var(--orange); box-shadow: 0 2px 6px rgba(255,89,0,.4); }
.map-marker.orange .map-marker-ring { border-color: var(--orange); }
@keyframes markerRing { 0% { width:10px; height:10px; opacity:.7; } 100% { width:32px; height:32px; opacity:0; } }
.map-legend { display: flex; gap: 1.25rem; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--gray-200); font-size: .72rem; color: var(--gray-600); }
.map-legend-item { display: flex; align-items: center; gap: .4rem; }
.map-legend-dot  { width: 8px; height: 8px; border-radius: 50%; }

/* ===== EVENT CARDS ===== */
.event-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; transition: all .3s ease; height: 100%; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(0,156,27,.2); }
.event-card-img  { width: 100%; height: 185px; object-fit: cover; display: block; }
.event-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.event-type-badge { display: inline-flex; font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); background: var(--green-pale); border-radius: 50px; padding: .2rem .65rem; margin-bottom: .5rem; }
.event-date-badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 600; color: var(--orange); background: var(--orange-pale); border-radius: 50px; padding: .25rem .75rem; margin-bottom: .75rem; }
.event-card-title { font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: var(--evergreen); line-height: 1.45; margin-bottom: .5rem; flex: 1; }
.event-card-desc  { font-size: .8rem; color: var(--gray-600); line-height: 1.65; margin-bottom: 1rem; }
.event-meta { display: flex; gap: 1rem; font-size: .74rem; color: var(--gray-400); margin-bottom: 1rem; }

/* Event action buttons — two-button layout */
.event-card-actions { display: flex; gap: .5rem; margin-top: auto; }
.btn-register {
    flex: 1; display: block; text-align: center; background: var(--green);
    border: none; color: var(--white); font-family: var(--font-display); font-weight: 700;
    font-size: .78rem; padding: .6rem .5rem; border-radius: var(--radius-sm);
    text-decoration: none; transition: all .25s;
}
.btn-register:hover { background: var(--green-dark); color: var(--white); }
.btn-detail {
    display: block; text-align: center; background: transparent;
    border: 1.5px solid var(--gray-200); color: var(--gray-600);
    font-family: var(--font-display); font-weight: 600; font-size: .78rem;
    padding: .6rem .75rem; border-radius: var(--radius-sm);
    text-decoration: none; transition: all .25s; white-space: nowrap;
}
.btn-detail:hover { border-color: var(--green); color: var(--green); }

/* ===== SERVICE CARDS ===== */
.service-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 2rem; height: 100%; transition: all .3s ease; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--green), var(--lime-dark)); transform: scaleX(0); transition: transform .35s ease; transform-origin: left; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(0,156,27,.15); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { width: 54px; height: 54px; background: var(--green-pale); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.45rem; color: var(--green); margin-bottom: 1.25rem; }
.service-card-title { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--evergreen); margin-bottom: .7rem; }
.service-card-desc  { font-size: .85rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 1rem; }
.service-tag        { font-size: .68rem; color: var(--green-dark); background: var(--green-pale); padding: .2rem .65rem; border-radius: 50px; font-weight: 600; }

/* ===== PORTFOLIO CARDS ===== */
.portfolio-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; transition: all .3s ease; height: 100%; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.portfolio-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(255,89,0,.2); }
.portfolio-card-img-wrap { position: relative; overflow: hidden; }
.portfolio-card-img { width: 100%; height: 195px; object-fit: cover; display: block; transition: transform .4s ease; }
.portfolio-card:hover .portfolio-card-img { transform: scale(1.04); }
.portfolio-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.portfolio-category  { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: .5rem; }
.portfolio-card-title { font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: var(--evergreen); margin-bottom: .5rem; flex: 1; line-height: 1.45; }
.portfolio-card-desc  { font-size: .8rem; color: var(--gray-600); line-height: 1.65; margin-bottom: .85rem; }
.portfolio-meta { display: flex; justify-content: space-between; font-size: .73rem; color: var(--gray-400); margin-bottom: 1rem; }
.btn-story {
    display: block; text-align: center; background: transparent;
    border: 1.5px solid var(--orange); color: var(--orange);
    font-family: var(--font-display); font-weight: 700; font-size: .8rem;
    padding: .6rem; border-radius: var(--radius-sm); text-decoration: none; transition: all .25s;
}
.btn-story:hover { background: var(--orange); color: var(--white); }

/* ===== TESTIMONIALS — FIXED SLIDER ===== */
.testimonial-slider-wrap {
    position: relative;
    overflow: hidden;
    /* Clip cards that slide out of view */
    width: 100%;
}

.testimonial-track {
    display: flex;
    /* gap is set via CSS variable so JS can read it */
    gap: var(--testi-gap);
    transition: transform .5s cubic-bezier(.4,0,.2,1);
    /* No width constraint — cards define the width */
    will-change: transform;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 2rem;
    /* FIX: fixed pixel width, not percentage — JS can reliably read offsetWidth */
    flex: 0 0 var(--testi-card-width);
    width: var(--testi-card-width);
    box-shadow: var(--shadow-sm);
}

.testi-quote  { font-size: 2.5rem; line-height: 1; color: var(--green); margin-bottom: .75rem; font-family: Georgia,serif; }
.testi-stars  { color: #f59e0b; font-size: .82rem; margin-bottom: .85rem; }
.testi-text   { font-size: .87rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: .75rem; }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--green-pale); }
.testi-name   { font-family: var(--font-display); font-weight: 700; font-size: .83rem; color: var(--evergreen); }
.testi-role   { font-size: .72rem; color: var(--gray-400); }

.slider-controls { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; justify-content: center; }
.slider-btn {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1.5px solid var(--gray-200); background: var(--white); color: var(--gray-600);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: all .25s; font-size: 1rem; box-shadow: var(--shadow-sm);
}
.slider-btn:hover { border-color: var(--green); color: var(--green); }
.slider-dots { display: flex; gap: .5rem; }
.slider-dot  { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-200); cursor: pointer; transition: all .25s; border: none; padding: 0; }
.slider-dot.active { background: var(--green); width: 24px; border-radius: 4px; }

/* ===== WHY HOSPED CARDS ===== */
.why-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.5rem; height: 100%; transition: all .3s ease; display: flex; gap: 1rem; align-items: flex-start; box-shadow: var(--shadow-sm); }
.why-card:hover { border-color: rgba(0,156,27,.25); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.why-icon { width: 44px; height: 44px; min-width: 44px; background: var(--green-pale); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--green); }
.why-card-title { font-family: var(--font-display); font-weight: 700; font-size: .88rem; color: var(--evergreen); margin-bottom: .35rem; }
.why-card-desc  { font-size: .8rem; color: var(--gray-600); line-height: 1.65; }

/* ===== CTA SECTION ===== */
#cta-section { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); position: relative; overflow: hidden; }
#cta-section::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; }
.cta-content { position: relative; z-index: 1; }
.cta-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem,3.8vw,2.9rem); color: var(--white); line-height: 1.2; margin-bottom: 1rem; }
.cta-sub   { color: rgba(255,255,255,.8); font-size: 1rem; line-height: 1.75; max-width: 560px; margin: 0 auto 2rem; }
.btn-cta-white { background: var(--white); color: var(--green-dark); font-family: var(--font-display); font-weight: 700; font-size: .9rem; padding: .85rem 2rem; border-radius: 50px; border: none; display: inline-flex; align-items: center; gap: .5rem; transition: all .25s; text-decoration: none; }
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.2); color: var(--green-dark); }
.btn-cta-outline { background: transparent; color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: .9rem; padding: .82rem 2rem; border-radius: 50px; border: 2px solid rgba(255,255,255,.5); display: inline-flex; align-items: center; gap: .5rem; transition: all .25s; text-decoration: none; }
.btn-cta-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); color: var(--white); }

/* ===== FOOTER ===== */
footer { background: var(--evergreen); color: rgba(255,255,255,.6); padding: 4rem 0 2rem; }
.footer-brand { font-family: var(--font-display); font-weight: 900; font-size: 1.55rem; color: var(--white); margin-bottom: .75rem; display: flex; align-items: center; gap: .6rem; }
.footer-brand span { color: var(--lime-dark); }
.footer-brand img { height: 45px; width: auto; filter: brightness(0) invert(1); }
.footer-desc { font-size: .83rem; line-height: 1.75; margin-bottom: 1.5rem; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.55); font-size: .9rem; margin-right: .4rem; transition: all .25s; text-decoration: none; }
.footer-social a:hover { background: var(--green); color: var(--white); }
.footer-heading { font-family: var(--font-display); font-weight: 700; font-size: .8rem; color: var(--white); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: rgba(255,255,255,.45); font-size: .85rem; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--lime-dark); }

.footer-address { font-size: .83rem; line-height: 1.8; }
.footer-address p { margin-bottom: .5rem; display: flex; gap: .55rem; }
.footer-address i { color: var(--lime-dark); flex-shrink: 0; margin-top: .2rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); margin-top: 3rem; padding-top: 1.5rem; font-size: .78rem; color: rgba(255,255,255,.25); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }

/* ===== FLOATING WHATSAPP ===== */
.floating-wa { position: fixed; bottom: 2rem; right: 2rem; z-index: 900; display: flex; align-items: center; gap: .75rem; background: #25D366; color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: .85rem; padding: .75rem 1.2rem .75rem .75rem; border-radius: 50px; text-decoration: none; box-shadow: 0 4px 20px rgba(37,211,102,.4); transition: all .3s ease; animation: floatBounce 3s ease-in-out infinite; }
.floating-wa:hover { transform: scale(1.05); box-shadow: 0 8px 30px rgba(37,211,102,.5); color: var(--white); }
.floating-wa-icon { width: 36px; height: 36px; background: rgba(255,255,255,.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
@keyframes floatBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
    :root { --testi-card-width: 320px; }
}
@media (max-width: 991px) {
    :root { --testi-card-width: 300px; }
}
@media (max-width: 767px) {
    :root { --testi-card-width: calc(100vw - 3rem); }
    .floating-wa span { display: none; }
    .floating-wa { padding: .75rem; border-radius: 50%; }
    .floating-wa-icon { width: 42px; height: 42px; font-size: 1.3rem; }
    .hero-stats { width: 100%; }
    .stat-item { padding: .75rem 1rem; }
    .stat-number { font-size: 1.5rem; }
    .event-card-actions { flex-direction: column; }
}

/* ===== GENERATEPRESS STRUCTURAL OVERRIDES ===== */
.hosped-homepage .site-header,
.hosped-homepage .site-nav,
.hosped-homepage .main-navigation,
.hosped-homepage .site-footer,
.hosped-homepage #page,
.hosped-homepage .inside-page-hero,
.hosped-homepage .page-hero-container,
.hosped-homepage .generate-columns-container > .widget-area,
.hosped-homepage .inside-site-header { display: none !important; }

.hosped-homepage .site-content,
.hosped-homepage .content-area,
.hosped-homepage #primary,
.hosped-homepage .entry-content,
.hosped-homepage .inside-article { all: unset !important; display: block !important; }

.hosped-homepage section { width: 100%; }

/* ===== TRUSTED CLIENTS — HOMEPAGE ===== */
/* Tab nav */
.client-tab-nav {
    display: flex; gap: .5rem; flex-wrap: wrap;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 0;
}
.client-tab-btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .65rem 1.25rem;
    font-family: var(--font-display); font-weight: 700; font-size: .85rem;
    color: var(--gray-600); background: transparent; border: none;
    border-bottom: 2px solid transparent; margin-bottom: -2px;
    cursor: pointer; transition: all .25s;
}
.client-tab-btn:hover { color: var(--green); }
.client-tab-btn.active { color: var(--green); border-bottom-color: var(--green); }

.client-panel { display: none; }
.client-panel.active { display: block; }

.client-logo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.client-logo-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.client-logo-box {
    width: 100%; aspect-ratio: 3/2;
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    padding: 1rem; transition: all .25s; box-shadow: var(--shadow-sm);
}
.client-logo-box:hover { border-color: rgba(0,156,27,.2); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.client-logo-img {
    max-width: 100%; max-height: 64px; width: auto; height: auto;
    object-fit: contain; filter: grayscale(40%); transition: filter .25s;
}
.client-logo-box:hover .client-logo-img { filter: grayscale(0%); }
.client-logo-fallback { display: flex; flex-direction: column; align-items: center; gap: .3rem; color: var(--green); font-size: .85rem; }
.client-logo-fallback i { font-size: 1.5rem; }
.client-logo-name { font-size: .72rem; font-weight: 600; color: var(--evergreen); margin-top: .4rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.client-logo-city { font-size: .67rem; color: var(--gray-400); }

@media (max-width: 1199px) { .client-logo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px)  { .client-logo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .client-tab-btn { font-size: .78rem; padding: .55rem .85rem; } }


/* ===== DROPDOWN MENU — hosped-dropdown ===== */
.hosped-dropdown {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: .4rem 0;
    min-width: 240px;
    margin-top: .35rem !important;
}
.hosped-dropdown .dropdown-item {
    font-family: var(--font-body);
    font-size: .875rem;
    font-weight: 500;
    color: var(--gray-600);
    padding: .55rem 1.1rem;
    transition: background .15s, color .15s;
    white-space: normal;
    line-height: 1.4;
}
.hosped-dropdown .dropdown-item:hover,
.hosped-dropdown .dropdown-item:focus {
    background: var(--green-pale);
    color: var(--green);
}
.hosped-dropdown .dropdown-item.active,
.hosped-dropdown .dropdown-item:active {
    background: var(--green);
    color: var(--white);
}
/* Dropdown toggle arrow */
.navbar-nav .dropdown-toggle::after {
    border: none;
    content: '\F282';              /* bi-chevron-down */
    font-family: 'bootstrap-icons';
    font-size: .7rem;
    vertical-align: middle;
    margin-left: .25rem;
    transition: transform .2s;
}
.navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* ===== NAV CTA BUTTON WRAP ===== */
/* The CTA button is injected as a sibling to the <ul> inside .navbar-collapse */
.nav-cta-wrap {
    display: flex;
    align-items: center;
}
/* On mobile: stack below nav items */
@media (max-width: 991px) {
    .nav-cta-wrap {
        padding: .5rem 0 .25rem;
        margin-left: 0 !important;
    }
    .hosped-dropdown {
        border: none;
        box-shadow: none;
        background: var(--gray-50);
        border-radius: var(--radius-sm);
        margin-top: 0 !important;
        padding: .25rem 0;
    }
    .hosped-dropdown .dropdown-item {
        padding-left: 1.5rem;
        font-size: .85rem;
    }
    /* Show dropdown on mobile without hover — Bootstrap handles this */
}
