﻿:root {
    --primary: #4E6E65;
    --primary-rgb: 78,110,101;
    --secondary: #7F9C94;
    --secondary-rgb: 127,156,148;
    --accent: #C4A484;
    --accent-rgb: 196,164,132;
    --text-main: #2F343A;
    --text-main-rgb: 47,52,58;
    --text-muted: #6B7280;
    --bg: #F6F8F7;
    --card-bg: #FFFFFF;
    --radius-xl: 1.25rem;
    --radius-pill: 999px;
    --seg-bg: rgba(78,110,101,.10);
    --seg-active: var(--primary);
    --seg-active-shadow: rgba(78,110,101,.25);
    --footer-bg: #1E2B28;
    --footer-bg-2: #141C1A;
    --success: #4F7C62;
    --success-rgb: 79,124,98;
    --warning: #C2A44D;
    --warning-rgb: 194,164,77;
    --danger: #A35D5D;
    --danger-rgb: 163,93,93;
    --info: #5E7F8C;
    --info-rgb: 94,127,140;
}


/*:root {
    --primary: #9C5A3C;
    --primary-rgb: 156,90,60;
    --secondary: #C07A5A;
    --secondary-rgb: 192,122,90;
    --accent: #D7B49E;
    --accent-rgb: 215,180,158;
    --text-main: #2F2A28;
    --text-main-rgb: 47,42,40;
    --text-muted: #7A6F68;
    --bg: #FAF6F2;
    --card-bg: #FFFFFF;
    --radius-xl: 1.25rem;
    --radius-pill: 999px;
    --seg-bg: rgba(156,90,60,.10);
    --seg-active: var(--primary);
    --seg-active-shadow: rgba(156,90,60,.30);
    --footer-bg: #2C1A14;
    --footer-bg-2: #1F120E;
    --success: #6F8A5C;
    --success-rgb: 111,138,92;
    --warning: #D29A2E;
    --warning-rgb: 210,154,46;
    --danger: #B14C3A;
    --danger-rgb: 177,76,58;
    --info: #6A7F8C;
    --info-rgb: 106,127,140;
}*/


/*:root {
    --primary: #5C3B4D;
    --primary-rgb: 92,59,77;
    --secondary: #7D5A6C;
    --secondary-rgb: 125,90,108;
    --accent: #C8B6A6;
    --accent-rgb: 200,182,166;
    --text-main: #2E2C31;
    --text-main-rgb: 46,44,49;
    --text-muted: #6B6670;
    --bg: #F8F5F7;
    --card-bg: #FFFFFF;
    --radius-xl: 1.25rem;
    --radius-pill: 999px;
    --seg-bg: rgba(92,59,77,.10);
    --seg-active: var(--primary);
    --seg-active-shadow: rgba(92,59,77,.28);
    --footer-bg: #24161F;
    --footer-bg-2: #1A1017;
    --success: #5C7A63;
    --success-rgb: 92,122,99;
    --warning: #C9A64A;
    --warning-rgb: 201,166,74;
    --danger: #A04A58;
    --danger-rgb: 160,74,88;
    --info: #5F6F8A;
    --info-rgb: 95,111,138;
}*/






body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto;
    color: var(--text-main);
    background: var(--bg);
}

/* ================= UTILITIES ================= */
.alert-persist {
    border-radius: var(--radius-xl);
}

.focus-box {
    border: 1px solid rgba(var(--text-main-rgb), .06);
    border-left: 4px solid var(--accent);
    background: rgba(var(--secondary-rgb), .08);
    /* fix layout */
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-xl);
}

    .focus-box h1,
    .focus-box .h3 {
        margin-bottom: .35rem;
        font-weight: 750;
    }

    .focus-box .text-muted {
        color: var(--text-muted) !important;
        line-height: 1.35;
    }
    .focus-box .focus-icon i {
        font-size: 3.5rem;
        color: var(--primary);
        line-height: 1;
    }


/* ================= NAV ================= */
.navbar {
    background: rgba(var(--primary-rgb), .04);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: -.02em;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
}

    .nav-link:hover {
        color: var(--primary);
    }

.custom-navbar {
    background: rgba(var(--primary-rgb), .05);
    border-bottom: 1px solid rgba(var(--primary-rgb), .15);
    backdrop-filter: blur(8px);
}

/* ================= HERO ================= */
.hero {
    padding: 4.5rem 0;
}

.hero-img {
    border-radius: var(--radius-xl);
    background: linear-gradient( 135deg, rgba(var(--primary-rgb), .12), rgba(var(--accent-rgb), .10) );
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 40px rgba(0,0,0,.10);
    color: var(--primary);
    font-weight: 600;
    font-size: 1.15rem;
}

.hero h1 {
    font-weight: 750;
    letter-spacing: -.02em;
}
.blog-hero-image {
    height: 180px;
    border-radius: 1rem;
    border: 1px solid rgba(43,47,54,.06);
    background-size: cover;
    background-position: center;
}

.blog-hero-placeholder {
    height: 180px;
    border-radius: 1rem;
    border: 1px dashed var(--accent);
    background: linear-gradient(135deg, #f8f9fa, #eef2f6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

/* ================= BUTTONS ================= */

/* -------- FILLED BUTTONS -------- */

.btn-primary-custom {
    background: var(--primary);
    border: 1px solid rgba(var(--primary-rgb), .25);
    color: #fff;
    border-radius: var(--radius-pill);
    padding: .75rem 2rem;
    box-shadow: 0 10px 22px rgba(0,0,0,.10);
}

    .btn-primary-custom:hover {
        background: rgba(var(--primary-rgb), .85);
        color: #fff;
    }

.btn-secondary-custom {
    background: var(--secondary);
    border: 1px solid rgba(var(--secondary-rgb), .25);
    color: #fff;
    border-radius: var(--radius-pill);
    padding: .75rem 2rem;
}

    .btn-secondary-custom:hover {
        background: rgba(var(--secondary-rgb), .85);
        color: #fff;
    }

.btn-accent-custom {
    background: var(--accent);
    border: 1px solid rgba(var(--accent-rgb), .25);
    color: #fff;
    border-radius: var(--radius-pill);
    padding: .75rem 2rem;
}

    .btn-accent-custom:hover {
        background: rgba(var(--accent-rgb), .85);
        color: #fff;
    }

/* -------- OUTLINE BUTTONS -------- */

.btn-outline-primary-custom {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius-pill);
    padding: .6rem 1.75rem;
}

    .btn-outline-primary-custom:hover {
        background: rgba(var(--primary-rgb), .10);
        color: var(--primary);
    }

.btn-outline-secondary-custom {
    background: transparent;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    border-radius: var(--radius-pill);
    padding: .6rem 1.75rem;
}

    .btn-outline-secondary-custom:hover {
        background: rgba(var(--secondary-rgb), .10);
        color: var(--secondary);
    }

.btn-outline-accent-custom {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: var(--radius-pill);
    padding: .6rem 1.75rem;
}

    .btn-outline-accent-custom:hover {
        background: rgba(var(--accent-rgb), .10);
        color: var(--accent);
    }

.btn-success-custom {
    background: var(--success);
    border: 1px solid rgba(var(--success-rgb), .25);
    color: #fff;
    border-radius: var(--radius-pill);
}

.btn-warning-custom {
    background: var(--warning);
    border: 1px solid rgba(var(--warning-rgb), .25);
    color: #fff;
    border-radius: var(--radius-pill);
}

.btn-danger-custom {
    background: var(--danger);
    border: 1px solid rgba(var(--danger-rgb), .25);
    color: #fff;
    border-radius: var(--radius-pill);
}

.btn-info-custom {
    background: var(--info);
    border: 1px solid rgba(var(--info-rgb), .25);
    color: #fff;
    border-radius: var(--radius-pill);
}

.btn-outline-success-custom {
    border: 1px solid var(--success);
    color: var(--success);
    border-radius: var(--radius-pill);
}

    .btn-outline-success-custom:hover {
        background: rgba(var(--success-rgb),.10);
    }

.btn-outline-warning-custom {
    border: 1px solid var(--warning);
    color: var(--warning);
    border-radius: var(--radius-pill);
}

    .btn-outline-warning-custom:hover {
        background: rgba(var(--warning-rgb),.10);
    }

.btn-outline-danger-custom {
    border: 1px solid var(--danger);
    color: var(--danger);
    border-radius: var(--radius-pill);
}

    .btn-outline-danger-custom:hover {
        background: rgba(var(--danger-rgb),.10);
    }

.btn-outline-info-custom {
    border: 1px solid var(--info);
    color: var(--info);
    border-radius: var(--radius-pill);
}

    .btn-outline-info-custom:hover {
        background: rgba(var(--info-rgb),.10);
    }

.btn-outline-soft {
    border-radius: var(--radius-pill);
    padding: .6rem 1.75rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
    transition: all .2s ease;
}

    .btn-outline-soft:hover {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }


/* ================= SERVICES ================= */
.services {
    padding: 3.5rem 0 4.5rem;
}

.service-card {
    background: var(--card-bg);
    border-radius: calc(var(--radius-xl) + .25rem);
    padding: 2.25rem 2rem;
    text-align: center;
    border: 1px solid rgba(var(--text-main-rgb), .06);
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 22px 55px rgba(0,0,0,.11);
    }

.service-icon {
    width: 86px;
    height: 86px;
    margin: 0 auto 1.1rem;
    border-radius: 50%;
    background: rgba(var(--secondary-rgb), .12);
    border: 1px solid rgba(var(--secondary-rgb), .16);
    display: grid;
    place-items: center;
}

    .service-icon i {
        font-size: 2.15rem;
        color: var(--primary);
    }

.service-card h3 {
    font-weight: 750;
    margin-bottom: .9rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    color: var(--text-muted);
}

    .service-card ul li {
        margin-bottom: .45rem;
    }

/* ================= CONTACT ================= */
.contact {
    padding: 4.5rem 0;
}

.contact-card {
    background: var(--card-bg);
    border-radius: calc(var(--radius-xl) + .25rem);
    box-shadow: 0 18px 45px rgba(0,0,0,.09);
    overflow: hidden;
    border: 1px solid rgba(var(--text-main-rgb), .06);
}

/* LEFT PANEL */
.contact-side {
    background: linear-gradient( 135deg, rgba(var(--primary-rgb), .3), rgba(var(--secondary-rgb), .3) );
    padding: 2.25rem;
    height: 100%;
}

    .contact-side h2,
    .contact-side p,
    .contact-side .hint {
        color: var(--text-main);
    }

    .contact-side .badge {
        background: rgba(255,255,255,.85);
        color: var(--primary);
        border: 1px solid rgba(var(--primary-rgb), .20);
    }

    .contact-side .footer-chip {
        background: rgba(255,255,255,.75);
        border: 1px solid rgba(var(--primary-rgb), .12);
        color: var(--text-main);
        transition: all .2s ease;
    }

        .contact-side .footer-chip:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
        }


/* FORM */
.contact-form {
    padding: 2.25rem;
}

.form-label {
    font-weight: 650;
    color: var(--text-main);
}

.form-control,
.form-select,
.form-check-input {
    border-radius: 1rem;
    border-color: rgba(43,47,54,.14);
}

    .form-control:focus,
    .form-select:focus {
        border-color: rgba(var(--primary-rgb), .45);
        box-shadow: 0 0 0 .25rem rgba(var(--primary-rgb), .14);
    }

.hint {
    color: var(--text-muted);
}

/* ================= FOOTER ================= */
.site-footer {
    margin-top: 2rem;
    background: radial-gradient( 1200px 600px at 20% -10%, rgba(var(--accent-rgb), .20), transparent 60% ), linear-gradient(180deg, var(--footer-bg) 0%, var(--footer-bg-2) 100%);
    color: rgba(255,255,255,.86);
}

.footer-title {
    color: #fff;
    font-weight: 750;
    letter-spacing: -.01em;
    margin-bottom: 1rem;
}

.footer-link {
    color: rgba(255,255,255,.76);
    text-decoration: none;
}

    .footer-link:hover {
        color: #fff;
        text-decoration: underline;
    }

.footer-chip {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    padding: .55rem .85rem;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    text-decoration: none;
    transition: all .2s ease;
}

    .footer-chip:hover {
        background: #fff;
        color: var(--footer-bg);
        border-color: #fff;
    }


.map-embed {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 18px 50px rgba(0,0,0,.28);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.10);
    color: rgba(255,255,255,.65);
}
.blog-hero {
    height: 200px;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(43,47,54,.06);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 12px 30px rgba(0,0,0,.05);
    position: relative;
}

    .blog-hero.is-placeholder {
        background: linear-gradient(135deg, rgba(43,47,54,.04), rgba(43,47,54,.08));
    }

    .blog-hero .blog-hero-placeholder {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: rgba(0,0,0,.55);
    }

    .blog-hero.has-image .blog-hero-placeholder {
        display: none;
    }
