:root {
    --green-dark:   #1a3a1f;
    --green-mid:    #2d6a35;
    --green-light:  #4caf50;
    --green-pale:   #e8f5e9;
    --amber:        #f59e0b;
    --amber-dark:   #b45309;
    --earth:        #7c5c3e;
    --cream:        #faf8f3;
    --white:        #ffffff;
    --text-dark:    #1a2110;
    --text-mid:     #3d4a35;
    --text-light:   #6b7a5e;
    --shadow-green: 0 8px 40px rgba(26,58,31,.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    overflow-x: hidden;
}

h1, h2, h3, .display-font { font-family: 'Playfair Display', serif; }

/* ─── NAVBAR ─── */
.navbar-kapp {
    background: rgba(26,58,31,0.97);
    backdrop-filter: blur(12px);
    padding: 0.75rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1050;
    border-bottom: 1px solid rgba(76,175,80,.2);
    transition: background .3s;
}
.navbar-kapp .navbar-brand img { height: 48px; }
.navbar-kapp .nav-link {
    color: rgba(255,255,255,.85) !important;
    font-weight: 500;
    font-size: .9rem;
    letter-spacing: .03em;
    padding: .5rem 1rem !important;
    transition: color .2s;
}
.navbar-kapp .nav-link:hover { color: var(--green-light) !important; }
.navbar-kapp .dropdown-menu {
    background: var(--green-dark);
    border: 1px solid rgba(76,175,80,.2);
    min-width: 200px;
}
.navbar-kapp .dropdown-item {
    color: rgba(255,255,255,.8);
    font-size: .875rem;
    padding: .5rem 1.25rem;
}
.navbar-kapp .dropdown-item:hover { background: rgba(76,175,80,.15); color: #fff; }
.btn-nav-cta {
    background: var(--amber);
    color: var(--green-dark) !important;
    border-radius: 4px;
    padding: .45rem 1.2rem !important;
    font-weight: 600 !important;
    transition: background .2s, transform .15s;
}
.btn-nav-cta:hover { background: var(--amber-dark); color: #fff !important; transform: translateY(-1px); }

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--green-dark) 0%, #2a5232 55%, #3a7a40 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://kappagtech.com/wp-content/uploads/2024/06/pt-layer.webp') center/cover no-repeat;
    opacity: .08;
}
.hero-pattern {
    position: absolute;
    right: -120px;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 60px solid rgba(76,175,80,.1);
    pointer-events: none;
}
.hero-pattern::after {
    content: '';
    position: absolute;
    inset: 60px;
    border-radius: 50%;
    border: 30px solid rgba(76,175,80,.08);
}
.hero-badge {
    display: inline-block;
    background: rgba(76,175,80,.15);
    border: 1px solid rgba(76,175,80,.4);
    color: var(--green-light);
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .35rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}
.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    color: #fff;
    line-height: 1.12;
    margin-bottom: 1rem;
}
.hero h1 span { color: var(--green-light); }
.hero .lead {
    color: rgba(255,255,255,.75);
    font-size: 1.05rem;
    max-width: 500px;
    margin-bottom: 2rem;
    font-weight: 300;
}
.btn-hero-primary {
    background: var(--amber);
    color: var(--green-dark);
    font-weight: 700;
    padding: .85rem 2rem;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-hero-primary:hover {
    background: var(--amber-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245,158,11,.35);
}
.btn-hero-outline {
    background: transparent;
    color: #fff;
    font-weight: 500;
    padding: .85rem 2rem;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,.4);
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-left: 1rem;
    transition: border-color .2s, background .2s;
}
.btn-hero-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

.hero-stats {
    margin-top: 3rem;
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.stat-item .stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--green-light);
    line-height: 1;
}
.stat-item .stat-label { color: rgba(255,255,255,.6); font-size: .82rem; letter-spacing: .05em; }

/* ─── SECTION COMMON ─── */
section { padding: 5rem 0; }
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--green-mid);
    font-weight: 600;
    margin-bottom: .75rem;
}
.section-eyebrow::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--green-light);
    border-radius: 2px;
}
.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--green-dark);
    line-height: 1.2;
}
.section-title span { color: var(--green-mid); }

/* ─── FEATURES ─── */
.features-section { background: #fff; }
.feature-card {
    background: var(--cream);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(76,175,80,.12);
    height: 100%;
    transition: transform .25s, box-shadow .25s;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-green);
}
.feature-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--green-light), var(--green-mid));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.3rem;
    color: #fff;
}
.feature-card h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--green-dark);
    margin-bottom: .6rem;
}
.feature-card p { color: var(--text-light); font-size: .9rem; line-height: 1.65; }

/* ─── ABOUT ─── */
.about-section { background: var(--green-pale); }
.about-image-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-green);
}
.about-image-wrap img { width: 100%; height: 420px; object-fit: cover; }
.about-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: var(--green-dark);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-size: .85rem;
}
.about-badge strong { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--green-light); display: block; }
.tag-pill {
    display: inline-block;
    background: rgba(76,175,80,.12);
    color: var(--green-mid);
    border: 1px solid rgba(76,175,80,.25);
    border-radius: 100px;
    padding: .3rem .85rem;
    font-size: .8rem;
    font-weight: 500;
    margin: .2rem .2rem .2rem 0;
}
.check-list li {
    list-style: none;
    padding: .4rem 0;
    color: var(--text-mid);
    font-size: .92rem;
}
.check-list li::before { content: '✓'; color: var(--green-light); font-weight: 700; margin-right: .6rem; }

/* ─── SERVICES ─── */
.services-section { background: #fff; }
.service-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.07);
    transition: transform .25s, box-shadow .25s;
    height: 100%;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.service-card-header {
    background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
    padding: 2rem 1.75rem 1.5rem;
    color: #fff;
}
.service-card-header .svc-icon { font-size: 2rem; margin-bottom: .75rem; color: var(--green-light); }
.service-card-header h4 { font-family: 'Playfair Display', serif; font-size: 1.3rem; }
.service-card-body { padding: 1.5rem 1.75rem; }
.service-card-body p { color: var(--text-light); font-size: .9rem; line-height: 1.7; }
.btn-service {
    color: var(--green-mid);
    font-weight: 600;
    font-size: .85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: 1rem;
    transition: gap .2s;
}
.btn-service:hover { gap: .7rem; color: var(--green-dark); }

/* ─── BENEFITS TABS ─── */
.benefits-section { background: var(--green-dark); }
.benefits-section .section-title { color: #fff; }
.benefits-section .section-eyebrow { color: var(--green-light); }
.benefits-section .section-eyebrow::before { background: var(--green-light); }
.ben-tab-btn {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.7);
    padding: .7rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: .88rem;
    font-weight: 500;
    transition: all .2s;
    width: 100%;
    text-align: left;
    margin-bottom: .5rem;
}
.ben-tab-btn.active, .ben-tab-btn:hover {
    background: rgba(76,175,80,.2);
    border-color: var(--green-light);
    color: #fff;
}
.ben-panel { display: none; }
.ben-panel.active { display: block; }
.ben-panel-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    padding: 2rem;
}
.ben-panel-card p { color: rgba(255,255,255,.75); font-size: .92rem; line-height: 1.75; margin-bottom: 1rem; }
.ben-panel-card p:last-child { margin-bottom: 0; }

/* ─── FAQ ─── */
.faq-section { background: var(--cream); }
.accordion-button:not(.collapsed) {
    background: var(--green-pale);
    color: var(--green-dark);
    font-weight: 600;
    box-shadow: none;
}
.accordion-button:focus { box-shadow: none; }
.accordion-button { font-weight: 500; color: var(--text-dark); }
.accordion-item { border: 1px solid rgba(76,175,80,.2); border-radius: 8px !important; margin-bottom: .75rem; overflow: hidden; }
.accordion-body { color: var(--text-mid); font-size: .9rem; line-height: 1.7; }

/* ─── SUSTAINABILITY ─── */
.sustain-section { background: #fff; }
.sustain-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 10px;
    border: 1px solid rgba(76,175,80,.12);
    margin-bottom: 1rem;
    transition: background .2s;
}
.sustain-item:hover { background: var(--green-pale); }
.sustain-icon { width: 40px; height: 40px; background: var(--green-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.sustain-item h6 { color: var(--green-dark); font-weight: 600; margin-bottom: .25rem; font-size: .95rem; }
.sustain-item p { color: var(--text-light); font-size: .85rem; margin: 0; }

/* ─── CONTACT ─── */
.contact-section { background: var(--green-pale); }
.contact-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 30px rgba(26,58,31,.08);
}
.form-control, .form-select {
    border: 1px solid rgba(76,175,80,.25);
    border-radius: 8px;
    padding: .75rem 1rem;
    font-size: .9rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--green-mid);
    box-shadow: 0 0 0 3px rgba(76,175,80,.12);
}
.btn-submit {
    background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
    color: #fff;
    font-weight: 600;
    padding: .85rem 2.5rem;
    border-radius: 8px;
    border: none;
    font-size: .95rem;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
}
.btn-submit:hover { opacity: .9; transform: translateY(-1px); }
.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-info-item .ci-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--green-light), var(--green-mid));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1rem; flex-shrink: 0;
}
.contact-info-item .ci-text span { font-size: .78rem; color: var(--text-light); display: block; }
.contact-info-item .ci-text strong { font-size: .92rem; color: var(--text-dark); }

/* ─── FOOTER ─── */
footer {
    background: var(--green-dark);
    padding: 4rem 0 2rem;
    color: rgba(255,255,255,.75);
}
footer h5 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}
footer a { color: rgba(255,255,255,.65); text-decoration: none; font-size: .88rem; display: block; margin-bottom: .5rem; transition: color .2s; }
footer a:hover { color: var(--green-light); }
.footer-brand img { height: 50px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .85rem; line-height: 1.65; max-width: 280px; }
.footer-divider { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem; }
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-links a { display: inline; margin: 0 .75rem; color: rgba(255,255,255,.5); font-size: .8rem; }

/* ─── UTILS ─── */
.divider-green {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--green-light), var(--green-mid));
    border-radius: 3px;
    margin: .75rem 0 1.5rem;
}
@media (max-width: 768px) {
    .btn-hero-outline { margin-left: 0; margin-top: .75rem; display: block; text-align: center; }
    .hero-stats { gap: 1.5rem; }
}
