/* ======================================================
   SURE FIT WELLNESS CLUB — MAIN STYLESHEET
   Brand: Lime Green · Gold · Black · White
   Fonts: Playfair Display · Inter · Space Grotesk
   ====================================================== */

/* ---- 1. CSS TOKENS (matched to actual logo) ---- */
:root {
    /* Brand colours from the logo */
    --green:       #38D128;   /* The lime green from logo text */
    --green-dark:  #2AAD1D;   /* Darker shade for hover */
    --green-glow:  rgba(56,209,40,.15);
    --green-faint: rgba(56,209,40,.07);

    --gold:        #C9A84C;   /* Gold runner figure */
    --gold-light:  #DFC07A;
    --gold-faint:  rgba(201,168,76,.12);

    --ink:         #111111;   /* Near-black for text/headers */
    --ink-deep:    #0A0A0A;   /* Dark sections bg */
    --ink-mid:     rgba(17,17,17,.6);
    --ink-soft:    rgba(17,17,17,.35);

    --white:       #FFFFFF;
    --off-white:   #F9F9F6;
    --light-grey:  #F2F2EE;
    --border:      #E5E5E0;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', system-ui, sans-serif;
    --font-mono:    'Space Grotesk', monospace;

    --radius-sm:  6px;
    --radius:     12px;
    --radius-lg:  20px;
    --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
    --shadow:     0 6px 28px rgba(0,0,0,.10);
    --shadow-lg:  0 16px 52px rgba(0,0,0,.16);
    --transition: 0.28s ease;

    --nav-h:      80px;
    --max-w:      1200px;
    --section-pad: clamp(64px, 8vw, 112px);
}

/* ---- 2. RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
input, textarea, select, button { font: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ---- 3. TYPOGRAPHY ---- */
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; }
p  { font-size: 1rem; color: var(--ink-mid); line-height: 1.75; }

.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green);
    display: block;
    margin-bottom: 0.8rem;
}
.text-green { color: var(--green); }
.text-gold  { color: var(--gold); }
.text-white { color: var(--white); }

/* ---- 4. LAYOUT ---- */
.container   { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.section     { padding: var(--section-pad) 0; }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--ink-deep); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.65); }
.text-center { text-align: center; }

.section-header { max-width: 680px; margin-bottom: clamp(40px, 6vw, 68px); }
.section-header.center { margin-inline: auto; text-align: center; }

/* Gold + green divider — the brand's signature element */
.divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 28px;
}
.divider-line    { flex: 1; height: 1.5px; background: var(--gold); max-width: 80px; }
.divider-diamond { width: 8px; height: 8px; background: var(--green); transform: rotate(45deg); flex-shrink: 0; }

/* ---- 5. BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.82rem 1.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: var(--transition);
    white-space: nowrap;
    border: 2px solid transparent;
}
.btn-green {
    background: var(--green);
    color: var(--ink-deep);
    border-color: var(--green);
}
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(56,209,40,.35); }

.btn-gold {
    background: var(--gold);
    color: var(--ink-deep);
    border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,.3); }

.btn-dark {
    background: var(--ink-deep);
    color: var(--white);
    border-color: var(--ink-deep);
}
.btn-dark:hover { background: #1a1a1a; transform: translateY(-2px); }

.btn-outline-green {
    background: transparent;
    border-color: var(--green);
    color: var(--green);
}
.btn-outline-green:hover { background: var(--green); color: var(--ink-deep); }

.btn-outline-white {
    background: transparent;
    border-color: rgba(255,255,255,.7);
    color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--ink-deep); }

.btn-outline-gold {
    background: transparent;
    border-color: var(--gold);
    color: var(--gold);
    padding: 0.7rem 1.5rem;
}
.btn-outline-gold:hover { background: var(--gold); color: var(--ink-deep); }

.btn-lg { padding: 1rem 2.2rem; font-size: 1rem; }

/* ---- 6. NAVIGATION ---- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    height: var(--nav-h);
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
    background: var(--ink-deep);
    box-shadow: 0 2px 20px rgba(0,0,0,.35);
}
/* On light pages (non-hero), start with dark nav */
.site-header.light-nav {
    background: var(--ink-deep);
    box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 48px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Logo — actual image */
.nav-logo { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
.nav-logo img { height: 58px; width: auto; object-fit: contain; }

/* Fallback text logo */
.nav-logo-text { display: flex; align-items: center; gap: 10px; }
.logo-mark {
    width: 42px; height: 42px;
    background: var(--green);
    color: var(--ink-deep);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.logo-words { display: flex; flex-direction: column; line-height: 1.15; }
.logo-primary   { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--white); }
.logo-secondary { font-size: 0.65rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--green); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
}
.nav-link {
    padding: 0.45rem 0.9rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255,255,255,.8);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--green); }
.nav-cta { margin-left: 10px; font-size: 0.85rem; padding: 0.6rem 1.35rem; }

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}
.nav-burger span {
    display: block; width: 22px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ---- 7. HERO ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-h);
    background: var(--ink-deep);
    position: relative;
    overflow: hidden;
}
/* Diagonal lines texture */
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(
        -55deg, transparent, transparent 28px,
        rgba(56,209,40,.04) 28px, rgba(56,209,40,.04) 29px
    );
    pointer-events: none;
}
/* Large ghost "SF" watermark */
.hero::after {
    content: 'SF';
    position: absolute; right: -2%; bottom: -8%;
    font-family: var(--font-display);
    font-size: clamp(180px, 28vw, 380px);
    font-weight: 700;
    color: rgba(56,209,40,.04);
    pointer-events: none;
    user-select: none;
    line-height: 1;
}
/* Green spotlight radial */
.hero-spotlight {
    position: absolute;
    top: -20%; right: -10%;
    width: 65vw; height: 65vw;
    background: radial-gradient(circle, rgba(56,209,40,.09) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero .eyebrow { color: var(--green); }
.hero h1 { color: var(--white); font-weight: 700; }
.hero h1 em { font-style: italic; color: var(--gold); display: block; }
.hero-sub {
    margin: 1.5rem 0 2.5rem;
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    color: rgba(255,255,255,.68);
    max-width: 540px;
    line-height: 1.8;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- 8. STATS STRIP ---- */
.stats-strip {
    background: var(--green);
    padding: 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.stat-item {
    text-align: center;
    padding: 32px 20px;
    border-right: 1px solid rgba(0,0,0,.1);
    transition: var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(0,0,0,.05); }
.stat-number {
    font-family: var(--font-mono);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--ink-deep);
    line-height: 1;
    display: block;
}
.stat-label {
    font-size: 0.78rem;
    color: rgba(0,0,0,.65);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-top: 5px;
    font-weight: 600;
    display: block;
}

/* ---- 9. ABOUT ---- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}
.about-image-wrap {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}
.about-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-image-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 16px; color: rgba(255,255,255,.35);
    font-size: 0.82rem; text-align: center; padding: 20px;
}
.about-image-placeholder i { font-size: 3rem; color: var(--green); }
/* Green accent frame */
.about-image-wrap::after {
    content: '';
    position: absolute;
    top: 14px; left: 14px; right: -14px; bottom: -14px;
    border: 2px solid var(--green);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.3;
}
.about-credentials { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.credential-badge {
    background: var(--light-grey);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    text-align: center;
    flex: 1; min-width: 100px;
}
.credential-badge strong { display: block; font-family: var(--font-mono); font-size: 1.2rem; color: var(--green); }
.credential-badge span { font-size: 0.73rem; color: var(--ink-mid); }

/* ---- 10. SERVICES ---- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--green); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
    width: 52px; height: 52px;
    background: var(--green-faint);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    transition: var(--transition);
}
.service-icon i { font-size: 1.35rem; color: var(--green); }
.service-card:hover .service-icon { background: var(--green); }
.service-card:hover .service-icon i { color: var(--ink-deep); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.91rem; }
.service-card .btn { margin-top: 22px; font-size: 0.83rem; padding: 0.58rem 1.15rem; }

/* ---- 11. PARTNERS / CLIENTS ---- */
.partners-section { background: var(--off-white); padding: var(--section-pad) 0; }
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 0;
}
.partner-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}
.partner-card:hover { border-color: var(--green); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.partner-icon {
    width: 52px; height: 52px;
    background: var(--green-faint);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.partner-icon i { font-size: 1.3rem; color: var(--green); }
.partner-name { font-weight: 700; font-size: 0.95rem; color: var(--ink); line-height: 1.3; margin-bottom: 3px; }
.partner-type { font-size: 0.78rem; color: var(--ink-soft); }

/* Trust bar (logo strip) */
.trust-bar {
    background: var(--ink-deep);
    padding: 32px 0;
    border-top: 1px solid rgba(56,209,40,.15);
}
.trust-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
    text-align: center;
    margin-bottom: 20px;
}
.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(24px, 4vw, 60px);
    flex-wrap: wrap;
}
.trust-logo-item {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    color: rgba(255,255,255,.4);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
    text-align: center;
    line-height: 1.3;
}
.trust-logo-item:hover { color: var(--green); }

/* ---- 12. TESTIMONIALS ---- */
.testimonials-track {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}
.testimonial-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
}
.testimonial-stars { color: var(--gold); font-size: 0.95rem; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-text { font-size: 0.93rem; line-height: 1.78; color: rgba(255,255,255,.82); font-style: italic; margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--green);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-weight: 700;
    font-size: 0.88rem; color: var(--ink-deep); flex-shrink: 0;
}
.author-name    { font-weight: 600; font-size: 0.88rem; color: var(--white); }
.author-service { font-size: 0.76rem; color: var(--green); }
.quote-mark     { position: absolute; top: 14px; right: 18px; font-family: var(--font-display); font-size: 5rem; line-height: 1; color: rgba(56,209,40,.1); pointer-events: none; }

/* ---- 13. PRICING ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan-card {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    transition: var(--transition);
}
.plan-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.plan-card.featured { border-color: var(--green); box-shadow: 0 0 0 2px var(--green-glow), var(--shadow); transform: scale(1.035); }
.plan-card.featured:hover { transform: scale(1.035) translateY(-4px); }
.plan-header { padding: 26px 26px 22px; border-bottom: 1px solid var(--border); background: var(--off-white); }
.plan-card.featured .plan-header { background: var(--ink-deep); border-color: rgba(255,255,255,.08); }
.plan-badge { display: inline-block; background: var(--green); color: var(--ink-deep); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; }
.plan-name  { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); margin-bottom: 3px; }
.plan-card.featured .plan-name { color: var(--white); }
.plan-desc  { font-size: 0.83rem; }
.plan-card.featured .plan-desc { color: rgba(255,255,255,.6); }
.plan-price-wrap { padding: 22px 26px 0; }
.plan-price { font-family: var(--font-mono); font-size: 2.6rem; font-weight: 700; color: var(--green); line-height: 1; }
.plan-period { font-size: 0.8rem; color: var(--ink-soft); }
.plan-features { padding: 18px 26px 22px; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--ink); padding: 6px 0; border-bottom: 1px solid var(--light-grey); }
.plan-features li:last-child { border-bottom: none; }
.plan-features li i { color: var(--green); margin-top: 3px; font-size: 0.78rem; flex-shrink: 0; }
.plan-cta { padding: 0 26px 26px; }
.plan-cta .btn { width: 100%; justify-content: center; }

/* ---- 14. BLOG ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card { border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--border); background: var(--white); transition: var(--transition); }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--green); }
.blog-thumb { aspect-ratio: 16/9; background: var(--ink-deep); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-thumb-placeholder { color: var(--green); font-size: 2.5rem; opacity: 0.5; }
.blog-body { padding: 22px; }
.blog-category { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.blog-card h3 { font-size: 1rem; line-height: 1.4; margin-bottom: 8px; }
.blog-card p  { font-size: 0.86rem; line-height: 1.65; }
.blog-meta    { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; }
.blog-date    { font-size: 0.76rem; color: var(--ink-soft); }
.blog-read-more { font-size: 0.8rem; font-weight: 600; color: var(--green); display: flex; align-items: center; gap: 4px; }
.blog-read-more:hover { color: var(--green-dark); }

/* ---- 15. NEWSLETTER ---- */
.newsletter-strip { background: #111; border-top: 1px solid rgba(56,209,40,.18); padding: 56px 0; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.newsletter-copy h3 { font-family: var(--font-display); color: var(--white); font-size: 1.6rem; margin-bottom: 6px; }
.newsletter-copy p { color: rgba(255,255,255,.55); font-size: 0.9rem; }
.newsletter-form { display: flex; flex-direction: column; gap: 12px; }
.newsletter-form input { padding: 0.78rem 1.05rem; border: 1.5px solid rgba(255,255,255,.12); border-radius: var(--radius-sm); background: rgba(255,255,255,.05); color: var(--white); font-size: 0.9rem; transition: var(--transition); }
.newsletter-form input::placeholder { color: rgba(255,255,255,.35); }
.newsletter-form input:focus { outline: none; border-color: var(--green); }
.newsletter-msg { font-size: 0.83rem; color: var(--green); min-height: 1.2em; }

/* ---- 16. FOOTER ---- */
.site-footer { background: var(--ink-deep); color: var(--white); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; padding-bottom: 56px; }
.footer-logo img { height: 64px; width: auto; }
.footer-tagline { font-family: var(--font-display); font-style: italic; color: var(--green); font-size: 0.92rem; margin: 14px 0 10px; }
.footer-bio { font-size: 0.86rem; color: rgba(255,255,255,.5); line-height: 1.7; }
.social-links { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.social-links a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: rgba(255,255,255,.55); transition: var(--transition); }
.social-links a:hover { border-color: var(--green); color: var(--green); }
.footer-links h4, .footer-contact h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.footer-links ul li a { font-size: 0.88rem; color: rgba(255,255,255,.55); display: block; padding: 4px 0; transition: var(--transition); }
.footer-links ul li a:hover { color: var(--white); padding-left: 5px; }
.footer-contact ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.86rem; color: rgba(255,255,255,.55); padding: 5px 0; }
.footer-contact ul li i { color: var(--green); margin-top: 3px; width: 16px; flex-shrink: 0; }
.footer-contact ul li a { color: rgba(255,255,255,.55); transition: var(--transition); }
.footer-contact ul li a:hover { color: var(--white); }
.footer-cta { margin-top: 22px; font-size: 0.8rem; padding: 0.6rem 1.25rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,.28); }

/* ---- 17. WHATSAPP FLOAT ---- */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 999; width: 56px; height: 56px; background: #25D366; color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 4px 20px rgba(37,211,102,.4); transition: var(--transition); animation: wa-pulse 3s ease infinite; }
.wa-float:hover { transform: scale(1.1); }
@keyframes wa-pulse { 0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); } 50% { box-shadow: 0 4px 28px rgba(37,211,102,.6), 0 0 0 8px rgba(37,211,102,.1); } }

/* ---- 18. FORMS ---- */
.form-section { background: var(--off-white); padding: var(--section-pad) 0; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 56px); box-shadow: var(--shadow); max-width: 760px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.83rem; font-weight: 600; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea { padding: 0.78rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 0.91rem; color: var(--ink); background: var(--white); transition: var(--transition); width: 100%; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-glow); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; justify-content: center; padding: 1rem; font-size: 0.96rem; }
.form-msg { margin-top: 12px; font-size: 0.88rem; text-align: center; min-height: 1.4em; }
.form-msg.success { color: var(--green-dark); font-weight: 600; }
.form-msg.error   { color: #c0392b; }

/* ---- 19. PAGE HERO ---- */
.page-hero { background: var(--ink-deep); padding: calc(var(--nav-h) + 60px) 0 64px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(-55deg, transparent, transparent 28px, rgba(56,209,40,.035) 28px, rgba(56,209,40,.035) 29px); }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); }
.page-hero p  { color: rgba(255,255,255,.65); margin-top: 12px; max-width: 560px; }
.breadcrumb   { font-size: 0.8rem; color: rgba(255,255,255,.4); margin-bottom: 14px; }
.breadcrumb a { color: var(--green); }
.breadcrumb span { margin: 0 8px; }

/* ---- 20. ALERTS ---- */
.alert { padding: 14px 20px; border-radius: var(--radius-sm); font-size: 0.9rem; margin-bottom: 16px; }
.alert-success { background: #e8fbe8; color: #166016; border-left: 4px solid var(--green); }
.alert-error   { background: #fce4e4; color: #b71c1c; border-left: 4px solid #c62828; }

/* ---- 21. ANIMATIONS ---- */
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---- 22. RESPONSIVE ---- */
@media (max-width: 1024px) {
    .services-grid  { grid-template-columns: repeat(2,1fr); }
    .pricing-grid   { grid-template-columns: 1fr; gap: 16px; }
    .plan-card.featured { transform: scale(1); }
    .plan-card.featured:hover { transform: translateY(-4px); }
    .footer-grid    { grid-template-columns: 1fr 1fr; }
    .footer-brand   { grid-column: 1 / -1; }
    .blog-grid      { grid-template-columns: repeat(2,1fr); }
    .about-grid     { grid-template-columns: 1fr; }
    .about-image-wrap { max-width: 440px; aspect-ratio: 3/2; }
    .about-image-wrap::after { display: none; }
    .partners-grid  { grid-template-columns: repeat(2,1fr); }
    .newsletter-inner { grid-template-columns: 1fr; }
    .stats-grid     { grid-template-columns: repeat(2,1fr); }
    .stat-item      { border-right: none; border-bottom: 1px solid rgba(0,0,0,.08); }
    .stat-item:nth-child(2n) { border-right: none; }
    .stat-item:last-child    { border-bottom: none; }
}
@media (max-width: 768px) {
    :root { --nav-h: 66px; }
    .nav-burger { display: flex; }
    .nav-menu { position: fixed; inset: var(--nav-h) 0 0 0; background: var(--ink-deep); flex-direction: column; align-items: stretch; gap: 0; padding: 16px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; }
    .nav-menu.open { transform: translateX(0); }
    .nav-link { padding: 14px 16px; font-size: 1rem; border-radius: var(--radius-sm); }
    .nav-cta  { margin: 12px 0 0; text-align: center; justify-content: center; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    .services-grid, .blog-grid, .partners-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom .container { flex-direction: column; text-align: center; }
    .wa-float { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 1.3rem; }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* =====================================================
   MOBILE & PERFORMANCE ENHANCEMENTS
   Applied: Frontend Engineering · Performance · A11y
   ===================================================== */

/* ---- SKIP LINK (Accessibility) ---- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--green);
    color: var(--ink-deep);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    transition: top 0.2s;
    text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ---- Focus styles (Accessibility) ---- */
:focus-visible {
    outline: 2.5px solid var(--green);
    outline-offset: 3px;
    border-radius: 4px;
}
a:focus-visible, button:focus-visible { outline: 2.5px solid var(--green); }

/* ---- Touch targets: min 44×44px everywhere ---- */
.btn          { min-height: 44px; }
.nav-link     { min-height: 44px; display: inline-flex; align-items: center; }
.nav-burger   { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }

/* ---- MOBILE BOTTOM ACTION BAR ---- */
.mobile-bar {
    display: none;                      /* Desktop: hidden */
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 950;
    background: var(--ink-deep);
    border-top: 2px solid var(--green);
    /* Safe area for notched phones (iPhone X+) */
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
    gap: 8px;
}

.mobile-bar__btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 54px;
    padding: 6px 8px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: var(--transition);
    color: rgba(255,255,255,.75);
    border: 1.5px solid rgba(255,255,255,.1);
    -webkit-tap-highlight-color: transparent;
}
.mobile-bar__btn i { font-size: 1.25rem; }

.mobile-bar__btn--wa {
    background: rgba(37,211,102,.12);
    border-color: rgba(37,211,102,.3);
    color: #25D366;
}
.mobile-bar__btn--wa:hover, .mobile-bar__btn--wa:active {
    background: #25D366;
    color: var(--white);
}

.mobile-bar__btn--call {
    background: rgba(201,168,76,.1);
    border-color: rgba(201,168,76,.3);
    color: var(--gold);
}
.mobile-bar__btn--call:hover, .mobile-bar__btn--call:active {
    background: var(--gold);
    color: var(--ink-deep);
}

.mobile-bar__btn--book {
    background: var(--green);
    border-color: var(--green);
    color: var(--ink-deep);
    flex: 1.4;                          /* Slightly wider — primary CTA */
}
.mobile-bar__btn--book:hover, .mobile-bar__btn--book:active {
    background: var(--green-dark);
}

/* ---- FORM: Inline field-level validation ---- */
.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: #e74c3c;
    background: #fff5f5;
}
.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: var(--green);
}
.field-error {
    font-size: 0.78rem;
    color: #e74c3c;
    margin-top: 3px;
    display: none;
}
.field-error.show { display: block; }

/* ---- Loading spinner on form submit ---- */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.75;
}
.btn-loading::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px; height: 16px;
    border: 2px solid rgba(0,0,0,.25);
    border-top-color: var(--ink-deep);
    border-radius: 50%;
    animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }

/* ---- Scroll progress bar (top of page) ---- */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    background: var(--green);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s linear;
    transform-origin: left;
}

/* ---- Toast notification ---- */
.toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--ink-deep);
    color: var(--white);
    border: 1px solid var(--green);
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 0.88rem;
    font-weight: 500;
    z-index: 9000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    max-width: 90vw;
    text-align: center;
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ---- Image lazy load fade-in ---- */
img.lazy { opacity: 0; transition: opacity 0.4s ease; }
img.lazy.loaded { opacity: 1; }

/* =====================================================
   MOBILE RESPONSIVE OVERRIDES
   ===================================================== */
@media (max-width: 768px) {
    /* Show mobile bar */
    .mobile-bar { display: flex; }

    /* Hide desktop float (mobile bar replaces it) */
    .wa-float { display: none; }

    /* Add space for the sticky bar at bottom */
    body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

    /* ---- Nav ---- */
    .nav-burger { display: flex; }
    .nav-menu {
        position: fixed;
        inset: var(--nav-h) 0 0 0;
        background: var(--ink-deep);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px 16px calc(80px + env(safe-area-inset-bottom));
        transform: translateX(100%);
        transition: transform 0.32s cubic-bezier(.4,0,.2,1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .nav-menu.open { transform: translateX(0); }
    .nav-link {
        padding: 16px;
        font-size: 1.05rem;
        border-radius: var(--radius-sm);
        min-height: 52px;
    }
    .nav-cta {
        margin: 16px 0 0;
        text-align: center;
        justify-content: center;
        min-height: 52px;
        font-size: 1rem;
    }

    /* Burger → X animation */
    .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav-burger span { transition: transform 0.3s ease, opacity 0.2s; }

    /* ---- Hero ---- */
    .hero { min-height: 100svh; /* Use svh for mobile browsers */ }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; justify-content: center; min-height: 52px; font-size: 1rem; }

    /* ---- Sections ---- */
    .services-grid,
    .blog-grid,
    .partners-grid { grid-template-columns: 1fr; }

    /* ---- Forms ---- */
    .form-grid { grid-template-columns: 1fr; }
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevent iOS auto-zoom on focus */
        min-height: 48px;
    }
    .form-group textarea { min-height: 110px; }

    /* ---- Pricing ---- */
    .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
    .plan-card.featured { transform: scale(1); order: -1; /* Feature plan first on mobile */ }

    /* ---- Stats ---- */
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,.08);
    }
    .stat-item:nth-child(odd)  { border-right: 1px solid rgba(0,0,0,.08); }
    .stat-item:nth-child(3),
    .stat-item:nth-child(4)    { border-bottom: none; }

    /* ---- About grid ---- */
    .about-grid { grid-template-columns: 1fr; }
    .about-image-wrap { max-width: 100%; aspect-ratio: 4/3; }
    .about-image-wrap::after { display: none; }

    /* ---- Partners row ---- */
    .partners-row { grid-template-columns: 1fr !important; }

    /* ---- Newsletter ---- */
    .newsletter-inner { grid-template-columns: 1fr; }

    /* ---- Footer ---- */
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom .container { flex-direction: column; text-align: center; }

    /* ---- Blog featured ---- */
    .blog-featured { grid-template-columns: 1fr !important; direction: ltr !important; }
    .blog-featured > div:first-child { aspect-ratio: 16/7 !important; }
    .blog-featured > div:last-child { padding: 24px !important; }

    /* ---- Blog post sidebar ---- */
    .container[style*="grid-template-columns:1fr 320px"] { grid-template-columns: 1fr !important; }

    /* ---- Contact columns ---- */
    .container[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
    .container[style*="grid-template-columns:1fr 380px"] { grid-template-columns: 1fr !important; }
}

/* Very small screens */
@media (max-width: 380px) {
    .mobile-bar__btn span { font-size: 0.64rem; }
    .mobile-bar__btn i { font-size: 1.1rem; }
    .hero h1 { font-size: 2rem; }
}

/* Landscape phones */
@media (max-width: 768px) and (orientation: landscape) {
    .hero { min-height: 100vw; padding-top: calc(var(--nav-h) + 20px); }
    .mobile-bar { padding: 6px 16px calc(6px + env(safe-area-inset-bottom)); }
    .mobile-bar__btn { min-height: 44px; }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .scroll-progress { transition: none; }
}

/* High contrast mode */
@media (forced-colors: active) {
    .btn { border: 2px solid ButtonText; }
    .mobile-bar { border-top: 2px solid ButtonText; }
}

/* =====================================================
   GALLERY PAGE
   ===================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.gallery-item {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: var(--light-grey);
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__overlay {
    position: absolute; inset: 0;
    background: rgba(10,10,10,0);
    display: flex; align-items: center; justify-content: center;
    color: transparent;
    font-size: 1.4rem;
    transition: var(--transition);
}
.gallery-item:hover .gallery-item__overlay,
.gallery-item:focus-visible .gallery-item__overlay {
    background: rgba(10,10,10,.35);
    color: var(--white);
}
.gallery-item--video .gallery-item__overlay--video {
    background: rgba(10,10,10,.25);
    color: var(--white);
}
.gallery-item--video .gallery-item__overlay--video i {
    width: 52px; height: 52px;
    background: var(--green);
    color: var(--ink-deep);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
}
.gallery-item:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* ---- Lightbox ---- */
.lightbox {
    position: fixed; inset: 0;
    background: rgba(5,5,5,.95);
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 24px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
}
.lightbox.open { display: flex; }
.lightbox__content {
    max-width: min(90vw, 1000px);
    max-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox__content img,
.lightbox__content video {
    max-width: 100%;
    max-height: 78vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox__caption {
    color: rgba(255,255,255,.75);
    font-size: 0.9rem;
    margin-top: 18px;
    text-align: center;
    max-width: 600px;
    padding: 0 16px;
}
.lightbox__close {
    position: absolute;
    top: 20px; right: 20px;
    width: 44px; height: 44px;
    background: rgba(255,255,255,.1);
    border: 1.5px solid rgba(255,255,255,.2);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
    z-index: 2;
}
.lightbox__close:hover { background: var(--green); color: var(--ink-deep); border-color: var(--green); }
.lightbox__nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px;
    background: rgba(255,255,255,.1);
    border: 1.5px solid rgba(255,255,255,.2);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
    z-index: 2;
}
.lightbox__nav:hover { background: var(--green); color: var(--ink-deep); border-color: var(--green); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

/* ---- Responsive gallery ---- */
@media (max-width: 1024px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .lightbox__nav { width: 40px; height: 40px; font-size: 0.95rem; }
    .lightbox__nav--prev { left: 8px; }
    .lightbox__nav--next { right: 8px; }
    .lightbox__close { top: 12px; right: 12px; width: 40px; height: 40px; }
    .lightbox__content { max-height: 68vh; }
    .lightbox__content img, .lightbox__content video { max-height: 68vh; }
    #galleryFilters { justify-content: center; }
}
@media (max-width: 380px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
