/* ============================================================
   ALLROUND SOLUTIONS — Matched to Clean Webflow theme
   Primary green: #1e3b2f | Accent green: #2a5a47
   Background cream: #f7f4ef | Text: #1e1e1e
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --green: #1e3b2f;
    --green-light: #2a5a47;
    --green-soft: #e7ede9;
    --cream: #f7f4ef;
    --cream-dark: #efe9e1;
    --white: #ffffff;
    --dark: #1e1e1e;
    --text: #2b2b2b;
    --text-muted: #626262;
    --border: #e3ddd4;
    --radius: 6px;
    --radius-lg: 12px;
    --shadow: 0 10px 30px rgba(30, 59, 47, 0.07);
    --shadow-hover: 0 16px 40px rgba(30, 59, 47, 0.12);
    --transition: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; height: auto; }
button { font-family: inherit; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4, h5 {
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--dark);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: var(--green);
}
.italic { font-style: italic; font-weight: 400; }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}
.btn-primary:hover {
    background: var(--green-light);
    border-color: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 59, 47, 0.18);
}
.btn-outline {
    background: transparent;
    color: var(--green);
    border-color: var(--green);
}
.btn-outline:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-small { padding: 10px 20px; font-size: 0.88rem; }

/* ---------- SCROLL REVEAL ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left { transform: translateX(-30px); }
.reveal-left.is-visible { transform: translateX(0); }
.reveal-right { transform: translateX(30px); }
.reveal-right.is-visible { transform: translateX(0); }

/* ---------- NAVBAR ---------- */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 14px 0;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.02em;
}
.logo i { font-size: 1.35rem; color: var(--green); }
.logo-light { font-weight: 300; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 26px;
}
.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    transition: color var(--transition);
    position: relative;
    padding: 4px 0;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--green);
    transition: width var(--transition);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link:hover,
.nav-link.active { color: var(--green); }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--green);
    cursor: pointer;
}

/* ---------- HERO ---------- */
.hero { padding: 64px 0 80px; }
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.hero-content h1 {
    color: var(--green);
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
    background: var(--cream-dark);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- SECTION ---------- */
.section { padding: 80px 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-green { background: var(--green); color: var(--white); }

.section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 48px;
}
.section-header h2 { color: var(--green); margin-bottom: 12px; }
.section-header p { color: var(--text-muted); font-size: 1rem; }
.section-green .section-header h2 { color: var(--white); }
.section-green .section-header p { color: rgba(255,255,255,0.75); }

/* ---------- SERVICE CARDS WITH IMAGES ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.service-card-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--cream-dark);
}
.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition);
}
.service-card:hover .service-card-img img { transform: scale(1.05); }

.service-card-body { padding: 24px; }
.service-card-body h3 {
    color: var(--green);
    margin-bottom: 10px;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.service-card-body h3 i { font-size: 1.1rem; }
.service-card-body p {
    color: var(--text-muted);
    font-size: 0.94rem;
    margin-bottom: 16px;
}
.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--green);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap var(--transition);
}
.service-card-link:hover { gap: 12px; }

/* ---------- FEATURE LIST ---------- */
.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 18px;
    margin-top: 8px;
}
.feature-list li {
    position: relative;
    padding-left: 22px;
    font-size: 0.92rem;
    color: var(--text-muted);
}
.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

/* ---------- QUOTE FORM ---------- */
.quote-wrap { padding: 0 0 20px; }
.quote-card {
    background: var(--green);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow);
}
.quote-card h2 { color: var(--white); margin-bottom: 8px; }
.quote-card > p { color: rgba(255,255,255,0.8); margin-bottom: 32px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: rgba(255,255,255,0.9);
}
.form-group label .req { color: #ffd966; }

.form-control {
    padding: 13px 15px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.06);
    color: var(--white);
    font-family: inherit;
    font-size: 0.94rem;
    transition: border var(--transition), background var(--transition);
}
.form-control::placeholder { color: rgba(255,255,255,0.5); }
.form-control:focus {
    outline: none;
    border-color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.12);
}
select.form-control option { color: var(--dark); background: var(--white); }

.quote-card .btn {
    width: 100%;
    margin-top: 8px;
    background: var(--white);
    color: var(--green);
    border-color: var(--white);
    font-weight: 600;
}
.quote-card .btn:hover {
    background: var(--cream);
    color: var(--green);
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--green);
    color: var(--white);
    padding: 64px 0 24px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-block { flex: 1 1 280px; max-width: 340px; }
.footer-logo { color: var(--white); margin-bottom: 14px; }
.footer-logo i { color: var(--white); }
.footer-tagline {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 300px;
}
.socials { display: flex; gap: 10px; }
.socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 0.9rem;
    transition: background var(--transition);
}
.socials a:hover { background: rgba(255,255,255,0.22); }

.footer-right {
    display: flex;
    gap: 64px;
    flex-wrap: wrap;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 { color: rgba(255,255,255,0.55); margin-bottom: 4px; }
.footer-col a {
    color: rgba(255,255,255,0.85);
    font-size: 0.92rem;
    transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-line {
    height: 1px;
    background: rgba(255,255,255,0.15);
    margin: 16px 0 24px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.86rem;
    color: rgba(255,255,255,0.65);
}

/* ---------- PAGE HERO ---------- */
.page-hero { padding: 56px 0 32px; }
.page-hero .badge {
    display: inline-block;
    background: var(--green-soft);
    color: var(--green);
    padding: 6px 14px;
    border-radius: var(--radius);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.page-hero h1 { color: var(--green); margin-bottom: 12px; }
.page-hero p { color: var(--text-muted); max-width: 560px; font-size: 1rem; }

/* ---------- BLOG ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.blog-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.blog-card-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--cream-dark);
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition);
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 22px; }
.blog-tag {
    display: inline-block;
    background: var(--green-soft);
    color: var(--green);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}
.blog-card-body h4 {
    font-size: 1.1rem;
    color: var(--green);
    margin-bottom: 8px;
}
.blog-card-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.blog-card-link {
    color: var(--green);
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}
.blog-card:hover .blog-card-link { gap: 12px; }

/* ---------- CONTACT ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 36px;
    align-items: start;
}
.contact-info {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.contact-info h3 { color: var(--green); margin-bottom: 18px; }
.contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.contact-info i { color: var(--green); width: 18px; }

.contact-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.contact-form-card h3 { color: var(--green); margin-bottom: 18px; }
.contact-form-card .form-group { margin-bottom: 16px; }
.contact-form-card label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text);
}
.contact-form-card .form-control {
    width: 100%;
    border: 1px solid var(--border);
    background: var(--cream);
    color: var(--dark);
}
.contact-form-card .form-control:focus {
    border-color: var(--green);
    background: var(--white);
}
.contact-form-card textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

/* ---------- FAQ ---------- */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.faq-item h4 {
    color: var(--green);
    margin-bottom: 8px;
    font-size: 1.05rem;
}
.faq-item p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- ERROR PAGES ---------- */
.error-page {
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
}
.error-page h1 {
    font-size: clamp(4rem, 12vw, 8rem);
    color: var(--green);
    margin-bottom: 4px;
}
.error-page h3 { color: var(--green); margin-bottom: 10px; }
.error-page p { color: var(--text-muted); margin-bottom: 24px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero-grid { gap: 36px; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-right { gap: 40px; }
}

@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-image { order: -1; aspect-ratio: 16 / 10; }
    .services-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-top { flex-direction: column; }
    .footer-block { max-width: 100%; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
        gap: 16px;
        border-top: 1px solid var(--border);
        box-shadow: 0 16px 32px rgba(0,0,0,0.06);
        display: none;
    }
    .nav-menu.open { display: flex; }
    .nav-menu .btn { width: 100%; }

    .form-row { grid-template-columns: 1fr; }
    .quote-card { padding: 32px 24px; }
    .section { padding: 56px 0; }
    .hero { padding: 40px 0 56px; }

    .blog-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 6px; }
    .footer-right { flex-direction: column; gap: 28px; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .btn { width: 100%; justify-content: center; }
    .hero-actions { flex-direction: column; }
    .feature-list { grid-template-columns: 1fr; }
}