*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --cream: #fafaf7;
    --white: #ffffff;
    --ink: #111110;
    --ink-2: #2c2c2a;
    --ink-3: #4a4a47;
    --ink-4: #6b6b68;
    --ink-5: #9a9a96;
    --border: rgba(17, 17, 16, 0.08);
    --border-md: rgba(17, 17, 16, 0.14);
    --accent: #1a56e8;
    --accent-light: #ebf0fd;
    --accent-mid: #3b6fef;
    --green: #0e8f5a;
    --green-light: #e6f5ee;
    --r: 12px;
    --r-lg: 20px;
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.1);
    --font: "DM Sans", system-ui, sans-serif;
    --font-serif: "DM Serif Display", Georgia, serif;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(59, 131, 246, 0.096) 1px, transparent 1px), linear-gradient(90deg, rgba(59, 131, 246, 0.096) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(59, 131, 246, 0.220) 1px, transparent 1px), linear-gradient(90deg, rgba(59, 131, 246, 0.220) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    padding: 0 2rem;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}

.nav.scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.nav-logo img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: cover;
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a {
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink-3);
    transition: background 0.18s, color 0.18s;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--accent-light);
    color: var(--accent);
}

.nav-cta {
    padding: 0.5rem 1.1rem;
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--accent-mid);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-mobile {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    z-index: 890;
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 0.5rem;
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile a {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink-2);
    border-bottom: 1px solid var(--border);
}

.nav-mobile a:hover {
    background: var(--accent-light);
    color: var(--accent);
}

.nav-mobile .btn-primary {
    margin-top: 0.5rem;
    justify-content: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    background: var(--accent);
    color: #fff;
    border-radius: var(--r);
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.2s, transform 0.15s;
}

.page-hero {
    padding: 120px 2rem 64px;
    text-align: center;
    background: linear-gradient(155deg, #f8f9ff 0%, var(--white) 60%);
}

.page-hero-inner {
    max-width: 640px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.page-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 1rem;
    font-weight: 400;
}

.page-hero h1 em {
    font-style: italic;
    color: var(--accent);
}

.page-hero p {
    font-size: 1rem;
    color: var(--ink-4);
    line-height: 1.7;
}

.contact-section {
    padding: 0 2rem 96px;
}

.contact-grid {
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3.5rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 1.4rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 1.4rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-item-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ink-5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.contact-item-val {
    font-size: 0.95rem;
    color: var(--ink-2);
    font-weight: 500;
}

.contact-item-val a {
    color: var(--ink-2);
    transition: color 0.2s;
}

.contact-item-val a:hover {
    color: var(--accent);
}

.contact-hours {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1.2rem 1.4rem;
    margin-top: 1.6rem;
}

.contact-hours h3 {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.8rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.83rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--border);
}

.hours-row:last-child {
    border: none;
}

.hours-row span:first-child {
    color: var(--ink-4);
}

.hours-row span:last-child {
    color: var(--ink-2);
    font-weight: 500;
}

.wa-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.2rem;
    background: #25d366;
    color: #fff;
    border-radius: var(--r);
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 1.6rem;
    transition: background 0.2s, transform 0.15s;
    text-align: left;
}

.wa-btn:hover {
    background: #1ebe5c;
    transform: translateY(-1px);
}

.wa-btn svg {
    width: 22px;
    height: 22px;
    fill: #fff;
    flex-shrink: 0;
}

.contact-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2.2rem;
    box-shadow: var(--shadow-lg);
}

.contact-info-card {
    padding: 2.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ink-3);
    margin-bottom: 0.45rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.7rem 0.95rem;
    border: 1px solid var(--border-md);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: var(--font);
    color: var(--ink);
    background: var(--white);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(26, 86, 232, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-submit {
    width: 100%;
    padding: 0.9rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--r);
    font-family: var(--font);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-submit:hover {
    background: var(--accent-mid);
    transform: translateY(-1px);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-note {
    font-size: 0.78rem;
    color: var(--ink-5);
    text-align: center;
    margin-top: 0.8rem;
}

.form-submit.loading {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.form-submit.loading .spinner {
    display: block;
    animation: spin 1s linear infinite;
}

.form-submit.loading .spinner {
    display: block;
    animation: spin 1s linear infinite;
}

.form-submit.loading .button-content {
    display: none;
}

.form-submit .spinner {
    display: none;
}

.form-submit .button-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-submit .spinner {
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.success-state {
    display: none;
    text-align: center;
    padding: 2rem;
}

.success-state.show {
    display: block;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

.success-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--green);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer {
    background: #2c2c2a;
    color: rgba(255, 255, 255, 0.75);
    padding: 48px 2rem 28px;
}

.footer-inner {
    max-width: 1160px;
    margin: 0 auto;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 800;
    width: 54px;
    height: 54px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s;
}

.wa-float:hover {
    transform: scale(1.1);
}

.wa-float svg {
    width: 26px;
    height: 26px;
    fill: #fff;
}

@media (max-width:768px) {
    .nav {
        padding: 0 1.25rem;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-section {
        padding: 0 1.25rem 72px;
    }
}

.footer {
    background: var(--ink-2);
    color: rgba(255, 255, 255, .75);
    padding: 64px 2rem 32px;
}

.footer-inner {
    max-width: 1160px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand-name {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-brand-name img {
    width: 30px;
    height: 30px;
    border-radius: 7px;
}

.footer-brand p {
    font-size: .88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .85);
    max-width: 260px;
    margin-bottom: 1.2rem;
}

.footer-social {
    display: flex;
    gap: .6rem;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

.footer-social a svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: fill .2s ease;
}

.footer-social a[aria-label*="LinkedIn"] {
    color: #0077b5;
    background: rgba(0, 119, 181, 0.12);
}

.footer-social a[aria-label*="LinkedIn"]:hover {
    color: #fff;
    background: #0077b5 !important;
}

.footer-social a[aria-label*="Instagram"] {
    color: #e1306c;
    background: rgba(225, 48, 108, 0.12);
}

.footer-social a[aria-label*="Instagram"]:hover {
    color: #fff;
    background: #e1306c !important;
}

.footer-social a[aria-label*="Reddit"] {
    color: #ff4500;
    background: rgba(255, 69, 0, 0.12);
}

.footer-social a[aria-label*="Reddit"]:hover {
    color: #fff;
    background: #ff4500 !important;
}

.footer-social a[aria-label*="Facebook"] {
    color: #1877f2;
    background: rgba(24, 119, 242, 0.12);
}

.footer-social a[aria-label*="Facebook"]:hover {
    color: #fff;
    background: #1877f2 !important;
}

.footer-social a[aria-label*="Twitter"],
.footer-social a[aria-label*="X"] {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.footer-social a[aria-label*="Twitter"]:hover,
.footer-social a[aria-label*="X"]:hover {
    color: #000;
    background: #ffffff !important;
}

.footer-social a[aria-label*="WhatsApp"] {
    color: #25d366;
    background: rgba(37, 211, 102, 0.12);
}

.footer-social a[aria-label*="WhatsApp"]:hover {
    color: #fff;
    background: #25d366 !important;
}

.footer-col h3 {
    font-size: .88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.footer-col ul li a {
    font-size: .85rem;
    color: rgba(255, 255, 255, .8);
    transition: color .2s;
}

.footer-col ul li a:hover {
    color: rgba(255, 255, 255, .9);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin-bottom: .75rem;
    font-size: .85rem;
    color: rgba(255, 255, 255, .85);
}

.footer-contact-item svg {
    width: 15px;
    height: 15px;
    stroke: rgba(255, 255, 255, .4);
    fill: none;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, .85);
}

.footer-contact-item a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: gap;
    font-size: .8rem;
    color: rgba(255, 255, 255, .7);
}

.footer-bottom a {
    color: rgba(255, 255, 255, .7);
}

.footer-bottom a:hover {
    color: rgba(255, 255, 255, .7);
}

.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 800;
    width: 54px;
    height: 54px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transition: transform .2s;
    cursor: pointer;
}

.wa-float:hover {
    transform: scale(1.1);
}

.wa-float svg {
    width: 26px;
    height: 26px;
    fill: #fff;
}

.wa-tooltip {
    position: absolute;
    right: 64px;
    background: var(--ink);
    color: #fff;
    font-size: .8rem;
    white-space: nowrap;
    padding: .4rem .85rem;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}

.wa-float:hover .wa-tooltip {
    opacity: 1;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: none;
}

.error-message {
    display: none;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.2rem;
    border: 1px solid #fecaca;
    border-radius: var(--r);
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #dc2626;
    margin-top: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
}

.error-icon {
    display: none;
    color: #ef4444;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.error-message .error-icon {
    display: block;
}

#errorText {
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 500;
}

@media (max-width:1024px) {

    .hero-inner,
    .why-grid,
    .calculator-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        display: none;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps::before {
        display: none;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:768px) {
    section {
        padding: 64px 1.25rem;
    }

    .nav {
        padding: 0 1.25rem;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-mobile {
        display: none;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, .97);
        backdrop-filter: blur(20px);
        z-index: 890;
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: .5rem;
    }

    .nav-mobile.open {
        display: flex;
    }

    .nav-mobile a {
        padding: .85rem 1rem;
        border-radius: 10px;
        font-size: 1rem;
        font-weight: 500;
        color: var(--ink-2);
        border-bottom: 1px solid var(--border);
    }

    .nav-mobile a:hover {
        background: var(--accent-light);
        color: var(--accent);
    }

    .nav-mobile .btn-primary {
        margin-top: .5rem;
        justify-content: center;
        color: #fff;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: .5rem;
        text-align: center;
    }

    .calc-checkboxes {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 90px 1.25rem 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        gap: 1.2rem;
        flex-wrap: wrap;
    }
}

@media (max-width:480px) {
    .hero-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.72) !important;
    backdrop-filter: blur(24px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
    border: 1px solid rgba(17, 17, 16, 0.08) !important;
    box-shadow: 0 10px 30px rgba(26, 86, 232, 0.03), 0 1px 3px rgba(0, 0, 0, 0.01) !important;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(12px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(150%) !important;
    border: 1px solid rgba(17, 17, 16, 0.05) !important;
    border-radius: var(--r-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01) !important;
}

.contact-hours {
    background: rgba(17, 17, 16, 0.03) !important;
    border: 1px solid rgba(17, 17, 16, 0.05) !important;
}