/* ===================================
   NEW EVEREST — Clean Corporate
   Inter · Teal & Lime · White base
   =================================== */

html { scroll-behavior: smooth; }
::selection { background: rgba(200,248,169,0.35); }

@media (max-width: 1023px) {
    body { padding-bottom: 68px; }
}

/* -- Nav -- */
#main-nav { background: transparent; }
#main-nav.scrolled {
    background: rgba(15,61,58,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 32px rgba(15,61,58,0.15);
}

.nav-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    padding: 8px 16px;
    border-radius: 10px;
    transition: all 0.25s cubic-bezier(.23,1,.32,1);
}
.nav-link:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.12);
}
.nav-link.active {
    color: #ffffff;
    font-weight: 600;
    background: rgba(255,255,255,0.15);
}

/* -- Buttons -- */
.btn-primary {
    display: inline-block;
    background: #C8F8A9;
    color: #0F3D3A;
    font-size: 15px;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(.23,1,.32,1);
}
.btn-primary:hover {
    background: #0F3D3A;
    color: #F2F5F1;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(15,61,58,0.2);
}

.btn-secondary {
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    color: #0F3D3A;
    padding: 16px 36px;
    border: 1.5px solid rgba(15,61,58,0.2);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(.23,1,.32,1);
}
.btn-secondary:hover {
    color: #0F3D3A;
    border-color: #0F3D3A;
    background: rgba(15,61,58,0.04);
    transform: translateY(-2px);
}

/* -- Cards -- */
.card {
    background: #ffffff;
    border: 1px solid rgba(15,61,58,0.08);
    border-radius: 16px;
    padding: 36px 40px;
    transition: all 0.35s cubic-bezier(.23,1,.32,1);
}
@media (min-width: 768px) {
    .card { padding: 44px; }
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(15,61,58,0.08);
}

/* -- Section label -- */
.section-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #0F3D3A;
}

/* -- Display heading -- */
.display {
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* -- Accordion -- */
.accordion-content { overflow: hidden; height: 0; }
body.gsap-pending .accordion-group > :first-child > .accordion-content { height: auto; }
body.gsap-pending .accordion-group > :first-child > .accordion-trigger .accordion-icon { transform: rotate(180deg); }
.accordion-icon { transition: transform 0.4s cubic-bezier(.23,1,.32,1); }
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(180deg); }

/* -- Form -- */
.form-input {
    background: #ffffff;
    border: 1.5px solid rgba(15,61,58,0.15);
    color: #0F3D3A;
    font-weight: 400;
    transition: all 0.25s;
}
.form-input::placeholder { color: #7A9A97; }
.form-input:focus {
    outline: none;
    border-color: #0F3D3A;
    box-shadow: 0 0 0 3px rgba(15,61,58,0.08);
}
select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%237A9A97' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* -- Progress bar -- */
.progress-bar { height: 2px; border-radius: 1px; background: rgba(15,61,58,0.1); overflow: hidden; }
.progress-bar-fill { height: 100%; border-radius: 1px; background: #0F3D3A; transition: width 0.4s cubic-bezier(.23,1,.32,1); }

/* -- Stats card -- */
.stat-card {
    text-align: center;
    padding: 32px 20px;
}
.stat-number {
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 300;
    letter-spacing: -0.02em;
    color: #0F3D3A;
    line-height: 1.1;
}

/* -- Floating decorative -- */
.float-ring { border: 1px solid currentColor; border-radius: 50%; opacity: 0.07; position: absolute; pointer-events: none; }
.float-dot { background: currentColor; border-radius: 50%; opacity: 0.05; position: absolute; pointer-events: none; }

/* -- GSAP states + fallbacks -- */
[data-reveal],[data-reveal-card],[data-hero-badge],[data-hero-title],[data-hero-sub],[data-hero-cta] { opacity: 0; }

body.gsap-pending [data-reveal],body.gsap-pending [data-reveal-card],body.gsap-pending [data-hero-badge],body.gsap-pending [data-hero-title],body.gsap-pending [data-hero-sub],body.gsap-pending [data-hero-cta] {
    animation: gsap-fallback 0.6s ease-out 4s forwards;
}
@keyframes gsap-fallback { to { opacity: 1; transform: none; } }

html.no-js [data-reveal],html.no-js [data-reveal-card],html.no-js [data-hero-badge],html.no-js [data-hero-title],html.no-js [data-hero-sub],html.no-js [data-hero-cta] { opacity: 1 !important; transform: none !important; }
html.no-js .accordion-content { height: auto !important; }

.split-line { overflow: hidden; display: inline-block; }
.split-word { display: inline-block; will-change: transform; }

/* -- Swiper overrides -- */
.testimonials-swiper {
    overflow: visible;
}
.testimonials-swiper .swiper-slide {
    height: auto;
    opacity: 0.4;
    transition: opacity 0.4s cubic-bezier(.23,1,.32,1);
}
.testimonials-swiper .swiper-slide-active,
.testimonials-swiper .swiper-slide-next,
.testimonials-swiper .swiper-slide-next + .swiper-slide {
    opacity: 1;
}
@media (max-width: 768px) {
    .testimonials-swiper .swiper-slide-active,
    .testimonials-swiper .swiper-slide-next {
        opacity: 1;
    }
}
.testimonials-swiper .swiper-wrapper {
    align-items: stretch;
}

/* -- Quote block -- */
.quote-block {
    position: relative;
    padding-left: 24px;
    border-left: 3px solid #C8F8A9;
}
.quote-block::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: -8px;
    font-size: 48px;
    color: #C8F8A9;
    font-family: Georgia, serif;
    line-height: 1;
}

/* -- Feature check list -- */
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 6px 0;
}
.feature-list .check-icon {
    width: 20px;
    height: 20px;
    background: #C8F8A9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .hide-mobile { display: none; }
}

/* -- Prose (blog content) -- */
.prose {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    color: #0F3D3A;
}
.prose h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-top: 2.5em;
    margin-bottom: 0.8em;
}
.prose h3 {
    font-size: clamp(20px, 2.5vw, 24px);
    font-weight: 500;
    line-height: 1.3;
    margin-top: 2em;
    margin-bottom: 0.6em;
}
.prose h2:first-child,
.prose h3:first-child { margin-top: 0; }
.prose p { margin-bottom: 1.4em; }
.prose p:last-child { margin-bottom: 0; }
.prose a {
    color: #0F3D3A;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color 0.2s;
}
.prose a:hover { color: #4A6A67; }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { margin-bottom: 1.4em; padding-left: 1.5em; }
.prose ul { list-style-type: disc; }
.prose ol { list-style-type: decimal; }
.prose li { margin-bottom: 0.5em; padding-left: 0.25em; }
.prose li::marker { color: #C8F8A9; }
.prose blockquote {
    border-left: 3px solid #C8F8A9;
    padding-left: 1.25em;
    margin: 1.5em 0;
    font-style: italic;
    color: #4A6A67;
}
.prose img { border-radius: 16px; margin: 2em 0; max-width: 100%; height: auto; }
.prose hr { border: none; border-top: 1px solid rgba(15,61,58,0.1); margin: 2.5em 0; }

/* -- Line clamp -- */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
