/* -------------------------------------------------------
   GLOBAL POLISH
   Makes ASP.NET Core + Bootstrap look premium
---------------------------------------------------------*/

:root {
    --brand-primary: var(--brand-primary, #0d6efd);
    --brand-secondary: var(--brand-secondary, #6c757d);
    --brand-bg-light: var(--brand-bg-light, #ffffff);
    --brand-border-light: var(--brand-border-light, #e5e7eb);
    --brand-accent: var(--brand-accent, #f8f9fa);
    --brand-font-heading: var(--brand-font-heading, "Inter", "Segoe UI", sans-serif);
    --brand-font-body: var(--brand-font-body, "Inter", "Segoe UI", sans-serif);
    --radius-soft: 14px;
    --radius-full: 999px;
    --shadow-soft: 0 4px 18px rgba(0,0,0,0.06);
    --shadow-hover: 0 10px 24px rgba(0,0,0,0.10);
    --transition-smooth: 180ms ease;
}


/* -------------------------------------------------------
   TYPOGRAPHY
---------------------------------------------------------*/

body {
    font-family: var(--brand-font-body);
    color: #3a3a3a;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--brand-font-heading);
    font-weight: 600;
    color: #1f2937; /* neutral dark slate */
    letter-spacing: -0.01em;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.card-premium h3,
.card-premium h4 {
    word-break: keep-all;
    overflow-wrap: break-word;
    hyphens: none;
}


/* -------------------------------------------------------
   NAVBAR POLISH
   (neutral modern aesthetic)
---------------------------------------------------------*/

.navbar {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    background-color: var(--brand-bg-light) !important;
    box-shadow: none;
    border-bottom: 1px solid var(--brand-border-light);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    color: #374151 !important;
    transition: color var(--transition-smooth);
}

    .navbar-nav .nav-link:hover {
        color: var(--brand-primary) !important;
    }

.navbar .btn-quote {
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: background var(--transition-smooth), box-shadow var(--transition-smooth);
}

    .navbar .btn-quote:hover {
        box-shadow: var(--shadow-soft);
    }


/* -------------------------------------------------------
   FOOTER POLISH
---------------------------------------------------------*/

.site-footer {
    background-color: var(--brand-bg-light);
    border-top: 1px solid var(--brand-border-light);
    padding: 3rem 0;
}

    .site-footer h6 {
        font-size: 0.95rem;
        font-weight: 600;
        margin-bottom: 1rem;
        color: #1f2937;
    }

    .site-footer a {
        color: #4b5563;
        text-decoration: none;
        padding: 0.25rem 0;
        display: inline-block;
        transition: color var(--transition-smooth);
    }

        .site-footer a:hover {
            color: var(--brand-primary);
        }

.footer-bottom {
    border-top: 1px solid var(--brand-border-light);
    padding: 1rem 0;
    margin-top: 2.5rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.footer-location-pill {
    display: inline-flex;
    padding: 0.3rem 0.75rem;
    background: var(--brand-accent);
    border-radius: var(--radius-full);
    border: 1px solid var(--brand-border-light);
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}


/* -------------------------------------------------------
   SPACING + RHYTHM (Apple/Stripe Pattern)
---------------------------------------------------------*/

/* Typography spacing following Apple/Stripe rhythm */
h1 {
    margin-bottom: 24px;
}

h2 {
    margin-bottom: 16px;
}

h3 {
    margin-bottom: 12px;
}

.lead {
    margin-bottom: 24px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1f2937;
    letter-spacing: -0.01em;
}

.section-subtitle {
    color: #6b7280;
    font-size: 1.05rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    margin-bottom: 24px;
}

.section {
    /* Spacing handled by section-small, section-medium, section-large classes */
}

/* iOS: Mobile spacing adjustments */
@media (max-width: 767.98px) {
    h1 {
        margin-bottom: 20px;
    }
    
    h2 {
        margin-bottom: 14px;
    }
    
    .lead {
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 14px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }
}

/* -------------------------------------------------------
   CARDS (Premium style)
---------------------------------------------------------*/

.card-premium {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 2rem;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

    .card-premium:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 28px rgba(0,0,0,0.08);
    }

    .card-premium p {
        font-size: 0.98rem;
        color: #4b5563;
        line-height: 1.55;
    }

/* -------------------------------------------------------
   ICONS (Modern style)
---------------------------------------------------------*/

.icon-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    color: var(--brand-primary);
    font-size: 1.75rem;
}

.icon-modern i {
    display: block;
}

.step-number-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: var(--brand-primary);
    color: white;
    border-radius: 50%;
    font-size: 1.75rem;
    font-weight: 700;
}

/* -------------------------------------------------------
   TESTIMONIALS (Premium style)
---------------------------------------------------------*/

.testimonial-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 2rem;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: transform 160ms ease, box-shadow 160ms ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    line-height: 1;
}

.testimonial-author {
    font-weight: 600;
    color: #1f2937;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.testimonial-card blockquote {
    margin: 0;
    font-style: italic;
    color: #4b5563;
    line-height: 1.6;
}

.testimonial-card blockquote p {
    margin: 0;
    font-size: 0.98rem;
}

/* =========================================================
   iOS-SPECIFIC ENHANCEMENTS
   ========================================================= */

/* iOS: Better card interactions */
@media (max-width: 767.98px) {
    .card-premium,
    .testimonial-card {
        /* iOS: Better touch feedback */
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.05);
        touch-action: manipulation;
        /* iOS: Prevent accidental text selection */
        -webkit-user-select: none;
        user-select: none;
    }
    
    /* iOS: Better button sizing */
    .btn-quote,
    .btn-primary,
    .btn {
        min-height: 48px;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* iOS: Better icon sizing */
    .icon-modern,
    .step-number-circle {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* iOS: Better footer spacing */
    .site-footer {
        padding: 2rem 0;
    }
    
    .footer-bottom {
        padding: 1rem 0;
        margin-top: 1.5rem;
    }
}

