:root {
    --brand: #0f766e;
    --brand-dark: #0b4f48;
    --bg: #f4f7f9;
    --text: #17313b;
    --muted: #667985;
    --card: #ffffff;
    --border: rgba(15, 118, 110, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
}

a {
    text-decoration: none;
}

.site-header .navbar {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    box-shadow: 0 10px 30px rgba(11, 79, 72, 0.18);
}

.navbar-brand {
    letter-spacing: 0.3px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-right: 0.5rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.9rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    border-radius: 999px;
    padding-inline: 0.9rem !important;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.14);
}

.hero {
    position: relative;
    padding: 5rem 0 4rem;
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.14), transparent 34%),
        radial-gradient(circle at left center, rgba(59, 130, 246, 0.10), transparent 28%),
        linear-gradient(180deg, #ffffff, #f6fbfb);
}

.hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 118, 110, 0.2), transparent);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.8rem;
    background: rgba(15, 118, 110, 0.09);
    color: var(--brand-dark);
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
}

.hero h1,
.page-hero h1 {
    letter-spacing: -0.03em;
}

.hero-card,
.info-card,
.service-card,
.stat-card,
.panel-card,
.contact-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.35rem;
    box-shadow: 0 18px 40px rgba(14, 50, 60, 0.06);
}

.hero-card {
    padding: 1.25rem;
}

.hero-card .mini-stat {
    padding: 1rem;
    border-radius: 1rem;
    background: #f8fcfc;
    border: 1px solid rgba(15, 118, 110, 0.08);
}

.section {
    padding: 4.5rem 0;
}

.section-title {
    max-width: 44rem;
}

.section-kicker {
    color: var(--brand);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.82rem;
}

.service-card,
.info-card,
.stat-card,
.panel-card,
.contact-card {
    padding: 1.4rem;
    height: 100%;
}

.icon-pill {
    width: 3rem;
    height: 3rem;
    border-radius: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 118, 110, 0.1);
    color: var(--brand);
    font-size: 1.25rem;
}

.stat-number {
    font-size: 2rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.stat-label,
.muted {
    color: var(--muted);
}

.btn-brand {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: #fff;
    border: none;
    box-shadow: 0 12px 25px rgba(15, 118, 110, 0.22);
}

.btn-brand:hover {
    color: #fff;
    filter: brightness(1.03);
}

.btn-outline-brand {
    border-color: rgba(15, 118, 110, 0.2);
    color: var(--brand-dark);
    background: #fff;
}

.btn-outline-brand:hover {
    color: #fff;
    background: var(--brand-dark);
    border-color: var(--brand-dark);
}

.feature-list li,
.check-list li {
    margin-bottom: 0.8rem;
}

.feature-list i,
.check-list i,
.timeline i {
    color: var(--brand);
}

.timeline {
    padding-left: 0;
    list-style: none;
}

.timeline li {
    position: relative;
    padding-left: 2.6rem;
    margin-bottom: 1.4rem;
}

.timeline li::before {
    content: '';
    position: absolute;
    left: 0.78rem;
    top: 2rem;
    bottom: -1.2rem;
    width: 2px;
    background: rgba(15, 118, 110, 0.16);
}

.timeline li:last-child::before {
    display: none;
}

.timeline .step-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.page-hero {
    padding: 4.5rem 0 2rem;
    background: linear-gradient(180deg, #f7fbfb, #ffffff);
}

.page-shell {
    margin-top: -1.5rem;
    position: relative;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(15, 118, 110, 0.08);
    color: var(--brand-dark);
}

.form-control,
.form-select {
    border-radius: 0.9rem;
    border-color: rgba(103, 121, 133, 0.22);
    padding: 0.85rem 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(15, 118, 110, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.12);
}

.alert {
    border-radius: 1rem;
}

.calculator-form {
    padding: 1rem;
    border-radius: 1rem;
    background: #f8fcfc;
    border: 1px solid rgba(15, 118, 110, 0.08);
}

.result-box {
    padding: 1rem;
    border-radius: 1rem;
    background: #ffffff;
    border: 1px solid rgba(15, 118, 110, 0.16);
}

.result-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.6rem;
}

.result-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px dashed rgba(15, 118, 110, 0.2);
    padding: 0.55rem 0;
}

.result-list li:last-child {
    border-bottom: 0;
}

.result-note {
    color: var(--muted);
    font-size: 0.92rem;
}

.calculators-main {
    padding-bottom: 2.5rem;
}

.calculator-faq-section {
    margin-top: 1rem;
}

.site-footer {
    background: linear-gradient(180deg, #0b2d33, #081d22);
    color: #fff;
}

.footer-links a,
.site-footer a {
    color: rgba(255, 255, 255, 0.74);
}

.footer-links a:hover,
.site-footer a:hover {
    color: #fff;
}

.social-link {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
}

.floating-cta {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1030;
}

.floating-cta a {
    width: 3.2rem;
    height: 3.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    box-shadow: 0 15px 35px rgba(15, 118, 110, 0.24);
}

@media (max-width: 991.98px) {
    .hero {
        padding-top: 3.5rem;
    }

    .calculators-main {
        padding-bottom: 1.5rem;
    }

    .calculator-faq-section {
        margin-top: 0.5rem;
    }

    .navbar-collapse {
        padding: 1rem 0 0.5rem;
    }

    .nav-link {
        margin-bottom: 0.25rem;
    }
}
