/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Hero Gradient ── */
.hero-gradient {
    background: linear-gradient(135deg, #022C22 0%, #064E3B 30%, #047857 60%, #059669 85%, #D97706 100%);
}

/* ── Floating Dots ── */
.hero-dots { pointer-events: none; }
.dot {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 251, 240, 0.4);
}
.dot-1 { width: 12px; height: 12px; top: 18%; left: 8%; }
.dot-2 { width: 20px; height: 20px; top: 25%; right: 12%; background: rgba(251, 191, 36, 0.5); }
.dot-3 { width: 8px; height: 8px; top: 55%; left: 5%; background: rgba(251, 191, 36, 0.4); }
.dot-4 { width: 16px; height: 16px; top: 70%; right: 8%; }
.dot-5 { width: 10px; height: 10px; top: 40%; left: 15%; background: rgba(251, 191, 36, 0.3); }
.dot-6 { width: 24px; height: 24px; bottom: 20%; left: 18%; background: rgba(255, 251, 240, 0.2); }
.dot-7 { width: 14px; height: 14px; top: 12%; right: 25%; background: rgba(255, 251, 240, 0.3); }
.dot-8 { width: 6px; height: 6px; bottom: 35%; right: 20%; }
.dot-9 { width: 18px; height: 18px; top: 80%; left: 40%; background: rgba(251, 191, 36, 0.25); }

/* ── Blobs ── */
.hero-blobs { pointer-events: none; }
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
}
.blob-1 {
    width: 400px; height: 400px;
    background: #D97706;
    top: -100px; right: -100px;
    animation: blobFloat 8s ease-in-out infinite;
}
.blob-2 {
    width: 300px; height: 300px;
    background: #34D399;
    bottom: -50px; left: -50px;
    animation: blobFloat 10s ease-in-out infinite reverse;
}
.blob-3 {
    width: 200px; height: 200px;
    background: #FBBF24;
    top: 40%; left: 60%;
    animation: blobFloat 6s ease-in-out infinite;
}
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ── Hero Headline Animation ── */
.hero-headline {
    opacity: 0;
    animation: heroFadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
}
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #D97706;
    color: #022C22;
    font-weight: 800;
    padding: 16px 32px;
    border-radius: 60px;
    font-size: 1rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(217, 119, 6, 0.4);
}
.btn-primary:hover {
    background: #F59E0B;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(217, 119, 6, 0.5);
}
.btn-arrow { transition: transform 0.25s ease; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 251, 240, 0.15);
    backdrop-filter: blur(8px);
    color: #FFFBF0;
    font-weight: 800;
    padding: 16px 32px;
    border-radius: 60px;
    font-size: 1rem;
    border: 2px solid rgba(255, 251, 240, 0.3);
    transition: all 0.25s ease;
}
.btn-secondary:hover {
    background: rgba(255, 251, 240, 0.25);
    border-color: rgba(255, 251, 240, 0.6);
    transform: translateY(-2px);
}

/* ── Navbar ── */
#navbar {
    background: transparent;
}
#navbar.scrolled {
    background: rgba(255, 251, 240, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(4, 120, 87, 0.1);
}
.nav-text { color: #022C22; }
#navbar:not(.scrolled) .nav-text { color: rgba(255, 251, 240, 0.9); }
#navbar:not(.scrolled) a[href="tel:14054675232"] {
    background: rgba(255, 251, 240, 0.2);
    border: 1px solid rgba(255, 251, 240, 0.4);
}
#navbar:not(.scrolled) a[href="tel:14054675232"]:hover {
    background: rgba(255, 251, 240, 0.3);
}
#navbar.scrolled a[href="tel:14054675232"] {
    background: #047857;
}
#navbar.scrolled a[href="tel:14054675232"]:hover {
    background: #065F46;
}

/* ── Mobile Menu ── */
.mobile-link {
    border-bottom: 1px solid rgba(4, 120, 87, 0.1);
    padding-bottom: 8px;
}
.mobile-link:last-child { border: none; }

/* ── Cards ── */
.card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(4, 120, 87, 0.08);
    border: 1px solid rgba(4, 120, 87, 0.06);
    transition: all 0.3s ease;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(4, 120, 87, 0.15);
}
.card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
}
.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.card:hover .card-img-wrap img {
    transform: scale(1.05);
}
.card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #D97706;
    color: #022C22;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.card-body {
    padding: 22px 24px 26px;
}

/* ── Testimonial Cards ── */
.testimonial-card {
    background: white;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(4, 120, 87, 0.08);
    border: 1px solid rgba(4, 120, 87, 0.06);
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(4, 120, 87, 0.12);
}

/* ── About Pattern ── */
.about-pattern {
    background-image: radial-gradient(circle at 2px 2px, rgba(255,251,240,0.3) 1px, transparent 0);
    background-size: 24px 24px;
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-headline { font-size: 2.5rem; }
    .card-img-wrap { height: 180px; }
}
@media (min-width: 769px) and (max-width: 1023px) {
    .card-img-wrap { height: 200px; }
}
