:root {
    
    --primary-darkest: #057057;
    --primary-dark: #068a6c;
    --primary: #0aad86;
    --primary-light: #12c99a;
    --primary-soft: #e6f7f3;
    --primary-muted: rgba(5, 112, 87, 0.12);

    --secondary: #057057;
    --dark: #1a2e28;
    --light-bg: #f4faf8;
    --radius: 0.75rem;
    --shadow: 0 0.5rem 1.5rem rgba(5, 112, 87, 0.1);
    --transition: all 0.25s ease;
}

.btn-primary {
    --bs-btn-bg: var(--primary-darkest);
    --bs-btn-border-color: var(--primary-darkest);
    --bs-btn-hover-bg: var(--primary-dark);
    --bs-btn-hover-border-color: var(--primary-dark);
    --bs-btn-active-bg: #045c48;
    --bs-btn-active-border-color: #045c48;
    --bs-btn-disabled-bg: var(--primary-darkest);
    --bs-btn-disabled-border-color: var(--primary-darkest);
}

.btn-outline-primary {
    --bs-btn-color: var(--primary-darkest);
    --bs-btn-border-color: var(--primary-darkest);
    --bs-btn-hover-bg: var(--primary-darkest);
    --bs-btn-hover-border-color: var(--primary-darkest);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--primary-dark);
    --bs-btn-active-border-color: var(--primary-dark);
}

.btn-outline-light:hover {
    color: var(--primary-darkest);
}

.text-primary {
    color: var(--primary-darkest) !important;
}

.bg-primary {
    background-color: var(--primary-darkest) !important;
}

.border-primary {
    border-color: var(--primary-darkest) !important;
}

.alert-primary {
    --bs-alert-color: #045c48;
    --bs-alert-bg: var(--primary-soft);
    --bs-alert-border-color: #b8e8dc;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #2c3e3a;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

a {
    transition: var(--transition);
    color: var(--primary-darkest);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.top-bar {
    background-color: var(--primary-darkest) !important;
}

.top-bar a:hover {
    opacity: 0.85;
}

.navbar-brand {
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    color: var(--primary-darkest) !important;
}

.navbar .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--primary-darkest) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--primary-muted);
    color: var(--primary-darkest);
}

.hero {
    background: linear-gradient(135deg, #057057 0%, #068a6c 45%, #0aad86 100%);
    color: #fff;
    padding: 4.5rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    line-height: 1.25;
}

.hero .lead {
    font-size: 1.15rem;
    opacity: 0.95;
}

.section-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.section-subtitle {
    color: #5a736c;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1rem 2rem rgba(5, 112, 87, 0.14);
}

.service-card .card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    background: var(--primary-muted);
    color: var(--primary-darkest);
}

.service-card.green .card-icon {
    background: rgba(10, 173, 134, 0.12);
    color: var(--primary);
}

.feature-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-list .bi {
    color: var(--primary-darkest);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.cta-box {
    background: linear-gradient(135deg, #057057, #068a6c);
    border-radius: var(--radius);
    color: #fff;
    padding: 2.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-soft);
    color: var(--primary-darkest);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(5, 112, 87, 0.25);
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: 0.5rem;
    padding: 0.7rem 1rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(5, 112, 87, 0.2);
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1050;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background: #1ebe57;
    color: #fff;
    transform: scale(1.08);
}

.footer {
    background-color: #1a2e28 !important;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer .text-primary {
    color: var(--primary-light) !important;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
}

.breadcrumb a {
    color: var(--primary-darkest);
}

.page-header {
    background: linear-gradient(135deg, #e6f7f3 0%, #d4f0e9 100%);
    padding: 2.5rem 0 2rem;
    border-bottom: 1px solid #c5e8de;
}

.page-header h1 {
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--dark);
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
}

.stat-box .stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-darkest);
    line-height: 1.2;
}

.stat-box .stat-label {
    color: #5a736c;
    font-size: 0.95rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step .step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-darkest);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

section.bg-primary {
    background: linear-gradient(135deg, #057057, #068a6c) !important;
}

.alert-success {
    --bs-alert-color: #045c48;
    --bs-alert-bg: var(--primary-soft);
    --bs-alert-border-color: #b8e8dc;
}

@media (max-width: 767.98px) {
    .hero {
        padding: 3rem 0 3.5rem;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--primary-darkest);
    outline-offset: 2px;
}

@media print {
    .top-bar,
    .navbar,
    .whatsapp-float,
    .footer {
        display: none !important;
    }
}
