* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --brand: #2f7a6b;
    --brand-dark: #255e53;
    --brand-soft: #e6f2ef;
    --text: #18181b;
    --muted: #52525b;
    --line: #e4e4e7;
    --white: #ffffff;
    --soft-bg: #fafafa;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(8px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    object-fit: contain;
    background: #f4f4f5;
}

.brand-title {
    font-size: 22px;
    font-weight: 700;
}

.brand-sub {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #71717a;
}

.nav {
    display: flex;
    gap: 22px;
    font-size: 14px;
    color: #3f3f46;
}

.nav a:hover,
.footer-links a:hover {
    color: var(--text);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 16px;
    padding: 14px 22px;
    font-weight: 700;
    font-size: 14px;
    transition: 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-dark {
    background: var(--brand);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--brand-dark);
}

.btn-light {
    background: var(--white);
    color: var(--text);
    border: 1px solid #d4d4d8;
}

.btn-light:hover {
    background: #fafafa;
}

.btn-full {
    width: 100%;
}

.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.882)), url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 42px;
    padding: 72px 0;
    align-items: center;
}

.pill {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #d4d4d8;
    background: var(--white);
    color: #3f3f46;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

h1 {
    margin: 18px 0 0;
    font-size: clamp(38px, 6vw, 62px);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.lead {
    margin-top: 22px;
    font-size: 18px;
    color: var(--muted);
    max-width: 760px;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 34px;
    max-width: 560px;
}

.stat-card,
.card,
.service-card,
.process-card,
.testimonial,
.contact-card,
.about-card {
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 28px;
    box-shadow: 0 8px 24px rgba(24, 24, 27, 0.05);
}

.stat-card {
    padding: 18px;
}

.stat-title {
    font-size: 28px;
    font-weight: 800;
}

.stat-text {
    font-size: 14px;
    color: var(--muted);
    margin-top: 4px;
}

.hero-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.card {
    padding: 24px;
}

.muted {
    color: #71717a;
    font-size: 14px;
}

.muted-light {
    color: #d4d4d8;
}

.service-mini {
    background: var(--soft-bg);
    border-radius: 20px;
    padding: 16px;
    margin-top: 12px;
}

.service-mini strong {
    display: block;
    margin-top: 8px;
    font-size: 16px;
}

.benefit-card {
    padding: 24px;
    background: #18181b;
    color: var(--white);
    border-radius: 28px;
    border: 1px solid #27272a;
    box-shadow: 0 8px 24px rgba(24, 24, 27, 0.16);
    margin-top: 36px;
}

.benefit-list {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.benefit-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 18px;
    font-size: 14px;
}

section {
    padding: 82px 0;
}

.section-kicker {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    color: #71717a;
}

.section-title {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    margin: 14px 0 0;
    letter-spacing: -0.03em;
}

.section-text {
    margin-top: 16px;
    color: var(--muted);
    font-size: 18px;
    max-width: 760px;
}

.section-text-small {
    margin-top: 12px;
    font-size: 17px;
}

.services-grid,
.process-grid,
.portfolio-grid,
.testimonials-grid {
    display: grid;
    gap: 20px;
    margin-top: 42px;
}

.services-grid {
    grid-template-columns: repeat(4, 1fr);
}

.service-card {
    padding: 24px;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--brand);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.service-card h3 {
    margin: 16px 0 10px;
    font-size: 22px;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.bg-soft {
    background: var(--brand-soft);
}

.estimator-grid,
.about-grid,
.contact-grid {
    display: grid;
    gap: 28px;
    align-items: start;
}

.estimator-grid {
    grid-template-columns: 1fr 1.05fr;
}

.about-grid {
    grid-template-columns: 1fr 1fr;
}

.contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
}

.feature-list {
    margin-top: 28px;
    display: grid;
    gap: 14px;
}

.feature-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(24, 24, 27, 0.04);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: var(--brand);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.process-grid {
    grid-template-columns: repeat(4, 1fr);
}

.process-card {
    padding: 24px;
}

.process-number {
    color: #71717a;
    font-weight: 700;
    font-size: 14px;
}

.process-card strong {
    display: block;
    margin-top: 10px;
    font-size: 20px;
}

.portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
}

.portfolio-grid img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 8px 20px rgba(24, 24, 27, 0.08);
}

.dark-section {
    background: #18181b;
    color: var(--white);
}

.dark-section .section-kicker {
    color: #a1a1aa;
}

.testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
}

.testimonial {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f4f4f5;
    padding: 24px;
}

.testimonial-name {
    margin-top: 18px;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
}

.about-card {
    padding: 28px;
}

.about-heading {
    margin: 0;
    font-size: 24px;
}

.about-list {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.about-list div {
    background: var(--soft-bg);
    border-radius: 18px;
    padding: 14px;
    font-size: 14px;
    color: #3f3f46;
}

.contact-card {
    padding: 28px;
    background: var(--soft-bg);
}

.field {
    margin-bottom: 14px;
}

.field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #3f3f46;
}

.field input,
.field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d4d4d8;
    border-radius: 16px;
    font-size: 15px;
    background: var(--white);
    outline: none;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--text);
}

.footer {
    border-top: 1px solid var(--line);
    background: var(--white);
    color: #71717a;
    font-size: 14px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 18px;
}

/* Estimator */
#eli-quote-widget {
    max-width: 100%;
    margin: 0 auto;
}

.eli-card {
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(24, 24, 27, 0.05);
    background: var(--white);
}

.eli-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.eli-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.eli-field label {
    display: block;
    font-size: 13px;
    color: #374151;
    margin: 0 0 8px;
    font-weight: 600;
}

.eli-field input,
.eli-field select,
.eli-field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d1d5db;
    border-radius: 16px;
    font-size: 14px;
    outline: none;
}

.eli-field input:focus,
.eli-field select:focus,
.eli-field textarea:focus {
    border-color: #111827;
}

.eli-toggles {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.eli-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    padding: 10px 14px;
    border: 1px solid #d4d4d8;
    border-radius: 999px;
    background: var(--white);
}

.eli-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.eli-btn {
    border: 0;
    border-radius: 16px;
    padding: 13px 16px;
    font-weight: 700;
    cursor: pointer;
}

.eli-btn-primary {
    background: var(--brand);
    color: var(--white);
}

.eli-btn-primary:hover {
    background: var(--brand-dark);
}

.eli-btn-ghost {
    background: #e4e4e7;
    color: #111827;
}

.eli-note {
    font-size: 12px;
    color: #6b7280;
    margin-top: 12px;
    line-height: 1.5;
}

.eli-result {
    margin-top: 18px;
    border-top: 1px solid #e5e7eb;
    padding-top: 18px;
}

.eli-pill {
    display: inline-block;
    background: #e4e4e7;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
}

.eli-big {
    font-size: 30px;
    font-weight: 800;
    margin: 8px 0;
}

.eli-small {
    font-size: 13px;
    color: #374151;
}

.eli-hidden {
    display: none;
}

@media (max-width: 1024px) {

    .hero-grid,
    .estimator-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .process-grid,
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .nav {
        display: none;
    }

    .hero-grid {
        padding: 56px 0;
    }

    .hero-side,
    .services-grid,
    .process-grid,
    .portfolio-grid,
    .about-list,
    .stats,
    .eli-row,
    .eli-row-3 {
        grid-template-columns: 1fr;
    }

    .header-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}