/* ════════════════════════════════════════════════════════
   Quaint Automation — Global Stylesheet (Light Mode)
════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: #F1F5F9;
    color: #1E293B;
    font-family: 'Inter', sans-serif;
}

::selection { background: #0284C733; color: #0284C7; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F1F5F9; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #0284C766; }

/* ════════════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════════════ */
#navbar.scrolled #main-nav {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-link {
    padding: 0.5rem 0.875rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    transition: color 0.2s, background 0.2s;
    text-decoration: none;
}
.nav-link:hover,
.nav-link.active {
    color: #0284C7;
    background: rgba(2, 132, 199, 0.06);
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
    border-bottom: 1px solid #E2E8F0;
}
.mobile-nav-link:hover { color: #0284C7; background: rgba(2, 132, 199, 0.04); }

/* ════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════ */
.hero-grid-bg {
    background-image:
        linear-gradient(rgba(2, 132, 199, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(2, 132, 199, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-progress-bar {
    width: 0;
    transition: width 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ════════════════════════════════════════════════════════
   TYPOGRAPHY HELPERS
════════════════════════════════════════════════════════ */
.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0284C7;
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.2);
    padding: 0.25rem 0.875rem;
    border-radius: 999px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: #0F172A;
    text-align: center;
    margin-top: 0.75rem;
    line-height: 1.2;
}

.section-subtitle {
    color: #64748B;
    max-width: 38rem;
    margin: 1rem auto 0;
    text-align: center;
    font-size: 1rem;
    line-height: 1.7;
}

/* ════════════════════════════════════════════════════════
   CARDS & SHADOWS
════════════════════════════════════════════════════════ */
.card-shadow {
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.06);
    transition: box-shadow 0.25s;
}
.card-shadow:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08), 0 12px 40px rgba(0,0,0,0.10);
}

/* ════════════════════════════════════════════════════════
   FORM ELEMENTS
════════════════════════════════════════════════════════ */
.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 0.375rem;
}

.form-input {
    display: block;
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 0.625rem;
    padding: 0.75rem 1rem;
    color: #1E293B;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.form-input:focus {
    border-color: #0284C7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}
.form-input::placeholder { color: #94A3B8; }
.form-input option { background: #FFFFFF; color: #1E293B; }

/* ════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
.footer-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0F172A;
    margin-bottom: 1.25rem;
}

.footer-link {
    display: block;
    font-size: 0.875rem;
    color: #64748B;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}
.footer-link:hover { color: #0284C7; padding-left: 4px; }

.footer-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    color: #64748B;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-social-btn:hover {
    color: #0284C7;
    border-color: rgba(2, 132, 199, 0.4);
    background: rgba(2, 132, 199, 0.06);
}

/* ════════════════════════════════════════════════════════
   WHATSAPP BUTTON
════════════════════════════════════════════════════════ */
.whatsapp-float {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
    animation: wa-pulse 2.5s ease-in-out infinite;
}
@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35); }
    50%       { box-shadow: 0 8px 48px rgba(37, 211, 102, 0.65); }
}

/* ════════════════════════════════════════════════════════
   PAGE HEADER IMAGES
════════════════════════════════════════════════════════ */
.page-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.12;
}

.page-hero-overlay {
    background: linear-gradient(135deg, rgba(241,245,249,0.97) 0%, rgba(241,245,249,0.80) 60%, rgba(241,245,249,0.50) 100%);
}

/* ════════════════════════════════════════════════════════
   IMAGE UTILITIES
════════════════════════════════════════════════════════ */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-card {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 0.875rem 0.875rem 0 0;
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .section-title { font-size: 1.75rem; }
    .section-subtitle { font-size: 0.9375rem; }
}

.w-4\.5 { width: 1.125rem; }
.h-4\.5 { height: 1.125rem; }
