:root {
    /* Color Palette — Warm & Inviting Light Mode */
    --bg-main: #FDFAF6;
    --bg-secondary: #F5EFE6;
    --bg-card: #FFFFFF;
    --text-primary: #2C1810;
    --text-secondary: #6B5B4E;
    --text-muted: #9B8B7E;

    --accent-warm: #D97706;
    --accent-terracotta: #C2410C;
    --accent-amber: #F59E0B;
    --accent-sage: #4D7C5E;
    --accent-dark: #3D2E22;

    --border-color: rgba(60, 40, 20, 0.08);
    --glass-bg: rgba(253, 250, 246, 0.8);
    --glass-border: rgba(60, 40, 20, 0.06);

    --shadow-soft: 0 4px 24px rgba(60, 40, 20, 0.06);
    --shadow-hover: 0 16px 48px rgba(60, 40, 20, 0.12);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-pad: 120px 0;

    /* Transitions */
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.text-center {
    text-align: center;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-terracotta), var(--accent-warm), var(--accent-amber));
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.badge-pill {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(217, 119, 6, 0.08);
    border: 1px solid rgba(217, 119, 6, 0.15);
    color: var(--accent-warm);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

/* ===== LOGO ===== */
#logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}
.logo-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}
.logo-text .accent {
    color: var(--accent-warm);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 22px 0;
    transition: var(--transition);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(253, 250, 246, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 2px solid var(--accent-warm);
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(60, 40, 20, 0.08);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
    padding: 8px 18px;
    border-radius: 12px;
    border: 1px solid transparent;
}
.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(60, 40, 20, 0.05);
    border-color: rgba(60, 40, 20, 0.1);
}
.nav-links a.active {
    color: #fff;
    background: var(--accent-warm);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent-warm), var(--accent-terracotta));
    color: #fff;
    box-shadow: 0 4px 20px rgba(217, 119, 6, 0.25);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(217, 119, 6, 0.4), 0 0 60px rgba(245, 158, 11, 0.1);
}
.btn-secondary {
    background: rgba(60, 40, 20, 0.04);
    color: var(--text-primary);
    border: 1px solid rgba(60, 40, 20, 0.12);
}
.btn-secondary:hover {
    background: rgba(60, 40, 20, 0.08);
    border-color: rgba(60, 40, 20, 0.2);
    transform: translateY(-2px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding-top: 160px;
    padding-bottom: 60px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
}
.hero-glow-1 {
    top: -15%;
    left: -8%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
}
.hero-glow-2 {
    bottom: -15%;
    right: -8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(77, 124, 94, 0.08) 0%, transparent 70%);
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(40px, 5.5vw, 68px);
    margin: 16px 0 24px;
    font-weight: 900;
    line-height: 1.08;
}
.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 40px;
    line-height: 1.8;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Image Area */
.image-wrapper {
    position: relative;
    height: 500px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatHero 8s ease-in-out infinite;
}
@keyframes floatHero {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
.canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
#heroCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* ===== SERVICES ===== */
.services {
    padding: var(--section-pad);
    background-color: var(--bg-secondary);
    position: relative;
}
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 70px;
}
.section-title {
    font-size: clamp(32px, 4vw, 44px);
    margin-bottom: 16px;
    font-weight: 800;
}
.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-soft);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-warm), var(--accent-amber), var(--accent-sage));
    opacity: 0;
    transition: opacity 0.4s ease;
}
.service-card:hover::before {
    opacity: 1;
}
.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(60, 40, 20, 0.12);
    box-shadow: var(--shadow-hover);
}
.card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.card-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, var(--bg-card), transparent);
    pointer-events: none;
}
.service-card:hover .card-img img {
    transform: scale(1.08);
}
.card-body {
    padding: 28px 28px 32px;
}
.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(217, 119, 6, 0.08);
    border: 1px solid rgba(217, 119, 6, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-warm);
    transition: var(--transition);
}
.service-card:hover .card-icon {
    background: rgba(217, 119, 6, 0.12);
    border-color: rgba(217, 119, 6, 0.2);
    transform: scale(1.1);
}
.card-body h3 {
    font-size: 21px;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 700;
}
.card-body p {
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact {
    padding: var(--section-pad);
    background-color: var(--bg-main);
}
.contact-container {
    background: var(--bg-secondary);
    border-radius: 28px;
    border: 1px solid var(--border-color);
    padding: 72px;
    position: relative;
    overflow: hidden;
}
.contact-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}
.contact-orb-1 {
    top: -40px;
    right: -40px;
    width: 300px;
    height: 300px;
    background: rgba(245, 158, 11, 0.08);
}
.contact-orb-2 {
    bottom: -60px;
    left: -60px;
    width: 250px;
    height: 250px;
    background: rgba(77, 124, 94, 0.06);
}
.contact-grid {
    position: relative;
    z-index: 1;
}
.contact-info h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    margin-bottom: 20px;
    line-height: 1.2;
}
.contact-info p {
    color: var(--text-secondary);
    font-size: 17px;
    margin-bottom: 20px;
    line-height: 1.8;
}
.contact-cta {
    display: flex;
    align-items: center;
    justify-content: center;
}
.cta-card {
    text-align: center;
    padding: 48px 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}
.cta-card:hover {
    border-color: rgba(217, 119, 6, 0.15);
    box-shadow: var(--shadow-hover);
}
.cta-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(217,119,6,0.08), rgba(245,158,11,0.08));
    border: 1px solid rgba(217, 119, 6, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--accent-warm);
}
.cta-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}
.cta-card p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 28px;
    line-height: 1.7;
}
.btn-email {
    width: 100%;
    padding: 18px 24px;
    font-size: 15px;
    border-radius: 14px;
}

/* ===== FOOTER ===== */
footer {
    border-top: 1px solid var(--border-color);
    padding: 56px 0 40px;
    background-color: var(--accent-dark);
    color: #F5EFE6;
}
.footer-container {
    max-width: 500px;
}
.footer-logo {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #F5EFE6;
}
.footer-logo .accent {
    color: var(--accent-amber);
}
footer p {
    color: rgba(245, 239, 230, 0.7);
    font-size: 14px;
    margin-bottom: 6px;
}
.footer-address {
    margin-top: 4px;
    margin-bottom: 24px;
    line-height: 1.8;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}
.footer-divider {
    width: 50px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(245,239,230,0.3), transparent);
    margin: 20px auto;
}
.footer-note {
    color: rgba(245, 239, 230, 0.45);
    font-size: 13px !important;
    margin-top: 4px;
}

/* ===== ANIMATIONS ===== */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero {
        text-align: center;
        padding-top: 140px;
        min-height: auto;
        padding-bottom: 40px;
    }
    .hero-image {
        display: none;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-desc {
        margin: 0 auto 40px;
    }
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    .contact-container {
        padding: 48px 28px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 80px 0;
    }
    .hero-title {
        font-size: 36px;
    }
    .nav-links {
        display: none;
    }
    .section-title {
        font-size: 30px;
    }
    .contact-container {
        padding: 36px 20px;
    }
    .cta-card {
        padding: 32px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 30px;
    }
    .hero-desc {
        font-size: 16px;
    }
    .btn {
        padding: 12px 22px;
        font-size: 14px;
    }
    .btn-email {
        padding: 14px 16px;
        font-size: 13px;
    }
}
