@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
    --bg: #f1f5ef;
    --bg-soft: #f9f4ea;
    --surface: #ffffff;
    --surface-tint: #f8fbf8;
    --text: #173530;
    --muted: #58726c;
    --primary: #0f766e;
    --primary-dark: #0b5d57;
    --secondary: #ef7f37;
    --accent: #f2c14f;
    --border: #d2e0d9;
    --shadow: 0 22px 48px rgba(18, 57, 51, 0.12);
    --radius: 20px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    line-height: 1.68;
    background-color: var(--bg);
    background-image: radial-gradient(circle at 10% 10%, rgba(15, 118, 110, 0.12), transparent 28%),
        radial-gradient(circle at 88% 14%, rgba(239, 127, 55, 0.12), transparent 24%),
        linear-gradient(180deg, #f8fcf7 0%, #f1f5ef 100%);
    position: relative;
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -1;
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0.45;
    pointer-events: none;
}

body::before {
    width: 280px;
    height: 280px;
    top: -90px;
    right: -70px;
    background: radial-gradient(circle at 35% 35%, rgba(15, 118, 110, 0.26), rgba(15, 118, 110, 0));
    animation: driftBlobA 15s ease-in-out infinite;
}

body::after {
    width: 220px;
    height: 220px;
    left: -60px;
    bottom: 8%;
    background: radial-gradient(circle at 60% 45%, rgba(239, 127, 55, 0.24), rgba(239, 127, 55, 0));
    animation: driftBlobB 17s ease-in-out infinite;
}

@keyframes driftBlobA {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(-22px, 18px, 0) scale(1.06);
    }
}

@keyframes driftBlobB {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(18px, -16px, 0) scale(1.08);
    }
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Space Grotesk", sans-serif;
    color: #12322e;
    line-height: 1.28;
}

.section-space {
    padding: 5.5rem 0;
}

.section-space-sm {
    padding: 4rem 0;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--secondary);
}

.section-title {
    font-size: clamp(1.95rem, 3vw, 2.8rem);
    margin-bottom: 0.85rem;
}

.section-lead {
    max-width: 780px;
    color: var(--muted);
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1100;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #0f766e 0%, #ef7f37 100%);
    box-shadow: 0 3px 12px rgba(12, 50, 45, 0.25);
}

.back-to-top {
    position: fixed;
    right: 1.2rem;
    bottom: 6.2rem;
    z-index: 1080;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #115f59 0%, #0c4c47 100%);
    box-shadow: 0 14px 28px rgba(9, 35, 32, 0.3);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.navbar-custom {
    border-bottom: 1px solid rgba(26, 72, 65, 0.1);
    box-shadow: 0 10px 24px rgba(19, 56, 51, 0.06);
    background: rgba(250, 253, 250, 0.92);
    backdrop-filter: blur(8px);
    transition: box-shadow 0.24s ease, background-color 0.24s ease;
}

.navbar-custom.navbar-scrolled {
    box-shadow: 0 12px 30px rgba(14, 41, 38, 0.14);
    background: rgba(248, 252, 247, 0.97);
}

.brand-logo {
    color: #102f2b;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    letter-spacing: 0.03em;
    position: relative;
}

.brand-logo::after {
    content: ".";
    color: var(--secondary);
    margin-left: 1px;
}

.navbar .nav-link {
    color: #1f3f3a;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.48rem 0.9rem;
    transition: background-color 0.22s ease, color 0.22s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    background: rgba(15, 118, 110, 0.12);
    color: #0e5953;
}

.hero {
    padding: 5rem 0 4.1rem;
}

.hero-wrap {
    border-radius: 28px;
    border: 1px solid #cddfd6;
    background: linear-gradient(140deg, #fcfffc 0%, #f5f9f4 45%, #fff7ec 100%);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.hero-wrap::before {
    content: "";
    position: absolute;
    inset: auto -40px -130px auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(15, 118, 110, 0.12), transparent 70%);
    pointer-events: none;
}

.hero-copy {
    padding: 2.7rem;
}

.hero-title {
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    margin-bottom: 1rem;
}

.hero-text {
    color: var(--muted);
    font-size: 1.06rem;
    max-width: 600px;
}

.hero-note {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.48rem 0.88rem;
    border-radius: 999px;
    font-size: 0.83rem;
    font-weight: 700;
    color: #11403c;
    background: #deefe8;
}

.stat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.4rem;
}

.stat-pill {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 0.72rem 0.92rem;
    min-width: 156px;
    box-shadow: 0 8px 20px rgba(16, 45, 40, 0.05);
}

.stat-pill strong {
    display: block;
    color: #133f39;
    font-size: 1.14rem;
}

.hero-form-card,
.form-card,
.auth-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-form-card {
    margin: 1.3rem;
    padding: 1.35rem;
}

.about-home-shell {
    background: linear-gradient(135deg, #ffffff 0%, #f3faf7 52%, #fff4e8 100%);
    border: 1px solid #cbded5;
    border-radius: 24px;
    box-shadow: 0 20px 44px rgba(15, 50, 45, 0.12);
    padding: 2rem;
}

.about-home-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.about-home-points div {
    border: 1px solid #d5e4de;
    background: #fff;
    border-radius: 12px;
    padding: 0.85rem;
    font-size: 0.94rem;
    color: var(--muted);
}

.about-home-points strong {
    display: block;
    font-size: 1.05rem;
    color: #154640;
    margin-bottom: 0.2rem;
}

.about-home-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.about-card {
    background: #fff;
    border: 1px solid #d4e3dc;
    border-radius: 14px;
    padding: 1rem;
    min-height: 100%;
    box-shadow: 0 10px 24px rgba(13, 42, 38, 0.08);
}

.about-card h3 {
    font-size: 1.06rem;
    margin-bottom: 0.4rem;
}

.about-card p {
    color: var(--muted);
    font-size: 0.93rem;
}

.feature-card,
.service-card,
.blog-card,
.pricing-card,
.info-card,
.calc-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.4rem;
    height: 100%;
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.feature-card:hover,
.service-card:hover,
.blog-card:hover,
.pricing-card:hover,
.info-card:hover,
.calc-card:hover {
    transform: translateY(-6px);
    border-color: #b9d4c8;
    box-shadow: 0 25px 52px rgba(17, 57, 51, 0.16);
}

.icon-chip {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(145deg, #e6f4ee 0%, #ffefe3 100%);
    color: #16524b;
    font-size: 1.2rem;
    margin-bottom: 0.85rem;
}

.calc-card h3,
.feature-card h3,
.service-card h3,
.blog-card h3,
.pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.65rem;
}

.countup {
    letter-spacing: -0.02em;
    color: #114740;
}

.result-box {
    margin-top: 1rem;
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    background: linear-gradient(145deg, #eef8f3 0%, #fdf7ef 100%);
    padding: 0.95rem 1rem;
}

.result-box p {
    margin-bottom: 0.34rem;
}

.result-box strong {
    color: #114740;
}

.price-tag {
    font-size: 2rem;
    font-weight: 800;
    color: #103f39;
}

.price-tag small {
    font-size: 0.95rem;
    color: var(--muted);
}

.pricing-card.featured {
    border: 2px solid rgba(15, 118, 110, 0.42);
    position: relative;
}

.pricing-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -13px;
    right: 18px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    padding: 0.3rem 0.68rem;
    border-radius: 999px;
    background: var(--primary);
}

.billing-toggle-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 12px 24px rgba(18, 58, 52, 0.09);
}

.billing-toggle {
    display: inline-flex;
    gap: 0.45rem;
    background: #f0f7f4;
    border: 1px solid #d0e1d9;
    border-radius: 999px;
    padding: 0.35rem;
}

.billing-toggle button {
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #1a514b;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.42rem 0.9rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.billing-toggle button.active {
    background: var(--primary);
    color: #fff;
}

.check-list {
    list-style: none;
    margin: 1rem 0 1.3rem;
    padding: 0;
}

.check-list li {
    margin-bottom: 0.45rem;
    position: relative;
    padding-left: 1.3rem;
}

.check-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary);
    font-weight: 800;
}

.blog-cover {
    border-radius: 13px;
    min-height: 174px;
    margin-bottom: 0.95rem;
    background: linear-gradient(135deg, #d8f0e7 0%, #ffe8d4 100%);
    position: relative;
    overflow: hidden;
}

.blog-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(120deg, rgba(255, 255, 255, 0.15) 0%, transparent 55%);
}

.form-card,
.auth-card {
    padding: 1.6rem;
}

.form-hint {
    color: var(--muted);
    font-size: 0.93rem;
}

.form-control,
.form-select {
    border-radius: 11px;
    border-color: #bfd3ca;
    padding-top: 0.64rem;
    padding-bottom: 0.64rem;
    background-color: #fcfefc;
}

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

.form-alert {
    margin-top: 1rem;
}

.auth-shell {
    min-height: calc(100vh - 250px);
    display: grid;
    place-items: center;
    padding: 2rem 0 4rem;
}

.page-banner {
    padding: 4.3rem 0 2.7rem;
}

.page-banner .banner-box {
    background: linear-gradient(140deg, #ffffff 0%, #f3faf6 52%, #fff4e8 100%);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 16px 34px rgba(20, 61, 55, 0.1);
}

.accordion-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.85rem;
    box-shadow: 0 8px 18px rgba(18, 47, 42, 0.06);
}

.accordion-button:not(.collapsed) {
    background: #e9f5f0;
    color: #16514a;
}

.comparison-table,
.tax-table {
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(18, 56, 50, 0.1);
}

.comparison-table thead th,
.tax-table thead th {
    background: #e8f6f1;
    color: #174b45;
    border-bottom: 1px solid #c9ddd3;
    font-family: "Space Grotesk", sans-serif;
}

.comparison-table td,
.comparison-table th,
.tax-table td,
.tax-table th {
    padding: 0.78rem;
}

.calculator-panel {
    position: relative;
}

.calculator-panel::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    border-radius: 0 0 18px 18px;
    background: linear-gradient(90deg, #0f766e 0%, #ef7f37 100%);
}

.clients-grid {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.client-logo-card {
    border: 1px solid #cfddd7;
    background: #fff;
    border-radius: 13px;
    min-height: 74px;
    display: grid;
    place-items: center;
    text-align: center;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.96rem;
    font-weight: 600;
    color: #1f4a44;
    box-shadow: 0 10px 22px rgba(15, 44, 39, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.client-logo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 28px rgba(14, 43, 38, 0.12);
}

.testimonial-card {
    background: #fff;
    border: 1px solid #d2e0d9;
    border-radius: 16px;
    padding: 1.2rem;
    height: 100%;
    box-shadow: 0 16px 34px rgba(16, 49, 44, 0.09);
}

.review-stars {
    letter-spacing: 0.09em;
    color: #ec8a25;
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 0.72rem;
    margin-top: 0.95rem;
}

.review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(140deg, #0f766e 0%, #0c5953 100%);
}

.tax-pulse-section {
    padding-top: 1rem;
}

.pulse-shell {
    background: linear-gradient(135deg, #ffffff 0%, #f3faf7 48%, #fff4e8 100%);
    border: 1px solid #cadcd4;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 24px 52px rgba(19, 58, 53, 0.13);
}

.mini-tool-card {
    background: #fff;
    border: 1px solid #d5e2db;
    border-radius: 14px;
    padding: 1rem;
    height: 100%;
}

.mini-tool-card h3 {
    font-size: 1.02rem;
    margin-bottom: 0.35rem;
}

.mini-tool-card p {
    margin-bottom: 0.7rem;
    font-size: 0.92rem;
    color: var(--muted);
}

.deadline-tool {
    margin-top: 1rem;
    border: 1px dashed #b9d0c5;
    border-radius: 14px;
    padding: 1rem;
    background: #fafdfb;
}

.deadline-inline-form .form-control,
.deadline-inline-form .form-select {
    background: #fff;
}

.deadline-note {
    font-size: 0.86rem;
    color: var(--muted);
    margin-top: 0.6rem;
    margin-bottom: 0;
}

.site-footer {
    background: linear-gradient(180deg, #f8fcf8 0%, #ebf3ef 100%);
    border-top: 1px solid var(--border);
}

.footer-title {
    margin-bottom: 0.82rem;
}

.footer-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2e645c;
    margin-bottom: 0.75rem;
}

.footer-links li {
    margin-bottom: 0.45rem;
}

.footer-links a,
.footer-contact a {
    color: #234f48;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #0e5e57;
}

.footer-contact li {
    margin-bottom: 0.6rem;
}

.footer-contact i {
    margin-right: 0.45rem;
    color: #2d6a61;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    color: #fff;
    background: #2f6d63;
}

.footer-social a:hover {
    background: #0f5c55;
    color: #fff;
}

.floating-actions {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1085;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.float-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 999px;
    padding: 0.63rem 0.92rem;
    box-shadow: 0 14px 30px rgba(12, 36, 33, 0.28);
    transition: transform 0.22s ease, filter 0.22s ease;
    animation: gentlePulse 3.1s ease-in-out infinite;
}

@keyframes gentlePulse {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
    }
}

.float-btn:hover {
    color: #fff;
    transform: translateY(-3px);
    filter: brightness(1.04);
}

.call-btn {
    background: #0f766e;
}

.whatsapp-btn {
    background: #1fae63;
}

.reveal {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    filter: blur(4px);
    transition: opacity 0.65s ease, transform 0.65s ease, filter 0.65s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: blur(0);
}

.btn-primary {
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: var(--primary-dark);
    --bs-btn-hover-border-color: var(--primary-dark);
    --bs-btn-active-bg: var(--primary-dark);
    --bs-btn-active-border-color: var(--primary-dark);
    --bs-btn-padding-y: 0.58rem;
    --bs-btn-padding-x: 1.05rem;
    --bs-btn-font-weight: 700;
}

.btn-outline-primary {
    --bs-btn-color: var(--primary);
    --bs-btn-border-color: rgba(15, 118, 110, 0.45);
    --bs-btn-hover-bg: var(--primary);
    --bs-btn-hover-border-color: var(--primary);
    --bs-btn-font-weight: 700;
}

@media (max-width: 1199.98px) {
    .hero-copy {
        padding: 2.2rem;
    }

    .section-space {
        padding: 5rem 0;
    }
}

@media (max-width: 991.98px) {
    .section-space {
        padding: 4.4rem 0;
    }

    .section-space-sm {
        padding: 3.5rem 0;
    }

    .hero {
        padding-top: 3.95rem;
    }

    .hero-copy {
        padding: 1.95rem;
    }

    .hero-form-card {
        margin: 1rem;
    }

    .about-home-shell {
        padding: 1.5rem;
    }

    .about-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clients-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .navbar-collapse {
        margin-top: 0.9rem;
        border: 1px solid #cfe0d8;
        border-radius: 14px;
        background: #fbfdfb;
        padding: 0.9rem;
    }

    .navbar-collapse .nav-item {
        width: 100%;
    }

    .navbar-collapse .btn {
        width: 100%;
        margin-top: 0.35rem;
    }

    .navbar-collapse .nav-item.ms-lg-2 {
        margin-left: 0 !important;
    }

    .pulse-shell {
        padding: 1.5rem;
    }

    .floating-actions {
        right: 0.75rem;
        bottom: 0.75rem;
    }
}

@media (max-width: 767.98px) {

    body::before,
    body::after {
        display: none;
    }

    .hero-copy {
        padding: 1.45rem;
    }

    .hero-form-card {
        margin: 0.75rem;
        padding: 1.15rem;
    }

    .about-home-shell {
        padding: 1.2rem;
        border-radius: 18px;
    }

    .about-home-points,
    .about-home-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-banner .banner-box,
    .feature-card,
    .service-card,
    .blog-card,
    .pricing-card,
    .info-card,
    .calc-card,
    .pulse-shell {
        border-radius: 16px;
    }

    .floating-actions .float-btn span {
        display: none;
    }

    .float-btn {
        width: 42px;
        height: 42px;
        justify-content: center;
        padding: 0;
        border-radius: 50%;
    }

    .back-to-top {
        right: 0.75rem;
        bottom: 5.9rem;
    }

    .comparison-table,
    .tax-table {
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .stat-pill {
        min-width: 134px;
    }

    .billing-toggle {
        display: flex;
        width: 100%;
    }

    .billing-toggle button {
        width: 50%;
    }

    .price-tag {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero .btn-lg {
        width: 100%;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .client-logo-card {
        min-height: 66px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}