/* ==========================================================================
   Ironclad Estimating LLC — Modern UI layer (loaded after bootstrap + style.css)
   ========================================================================== */

:root {
    --ic-primary: #F68A0A;
    --ic-primary-dark: #d97400;
    --ic-navy-900: #0b1220;
    --ic-navy-800: #111a2e;
    --ic-navy-700: #1c2942;
    --ic-slate-600: #475569;
    --ic-slate-500: #64748b;
    --ic-slate-200: #e2e8f0;
    --ic-slate-100: #f1f5f9;
    --ic-radius-sm: 10px;
    --ic-radius: 16px;
    --ic-radius-lg: 24px;
    --ic-shadow-sm: 0 2px 10px rgba(15, 23, 42, .06);
    --ic-shadow: 0 10px 30px rgba(15, 23, 42, .08);
    --ic-shadow-lg: 0 24px 60px rgba(15, 23, 42, .14);
}

body {
    font-family: "Inter", sans-serif;
    color: var(--ic-navy-800);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Jost", sans-serif;
    letter-spacing: -.01em;
}

a {
    transition: color .2s ease;
}

/* ---------- Buttons ---------- */
.btn {
    border-radius: 999px;
    font-weight: 500;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.btn.btn-primary {
    box-shadow: var(--ic-shadow-sm);
}

.btn.btn-primary:hover,
.btn.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--ic-shadow);
}

.btn.btn-square,
.btn.btn-md-square,
.btn.btn-lg-square {
    border-radius: 50%;
}

/* ==========================================================================
   Guest (public site) navbar
   ========================================================================== */
.site-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--ic-slate-200);
    padding: 14px 0;
}

.site-navbar .container {
    gap: 24px;
}

.site-navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Jost", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ic-navy-900);
    white-space: nowrap;
}

.site-navbar-brand:hover {
    color: var(--ic-primary);
}

.site-navbar-brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--ic-primary);
    color: #fff;
    font-size: .95rem;
}

.site-navbar-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.site-nav-link {
    position: relative;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 500;
    color: var(--ic-slate-600);
    font-size: .95rem;
}

.site-nav-link:hover {
    color: var(--ic-navy-900);
    background: var(--ic-slate-100);
}

.site-nav-link.active {
    color: var(--ic-primary-dark);
    background: rgba(246, 138, 10, .12);
}

.site-navbar-cta {
    padding: 10px 26px;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .site-navbar .navbar-toggler {
        border: 1px solid var(--ic-slate-200);
        border-radius: 10px;
        padding: 6px 12px;
    }

    .site-navbar-links {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        margin: 16px 0;
    }

    .site-nav-link {
        text-align: center;
    }
}

/* ==========================================================================
   Page header (replaces photo breadcrumb banner)
   ========================================================================== */
.page-header {
    background: radial-gradient(circle at 15% 20%, rgba(246, 138, 10, .25), transparent 45%), var(--ic-navy-900);
    padding: 70px 0;
    text-align: center;
}

.page-header-eyebrow {
    color: var(--ic-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .8rem;
}

.page-header-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 10px 0 12px;
}

.page-header-subtitle {
    color: rgba(255, 255, 255, .7);
    max-width: 640px;
    margin: 0 auto;
}

.page-header .breadcrumb {
    justify-content: center;
    margin: 18px 0 0;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, .55);
}

.page-header .breadcrumb-item.active {
    color: var(--ic-primary);
}

/* ==========================================================================
   Content sections — cards, hover polish
   ========================================================================== */
.about img.img-fluid {
    border-radius: var(--ic-radius);
}

.team-item {
    border-radius: var(--ic-radius);
    overflow: hidden;
    box-shadow: var(--ic-shadow-sm);
    transition: box-shadow .25s ease, transform .25s ease;
}

.team-item:hover {
    box-shadow: var(--ic-shadow-lg);
    transform: translateY(-4px);
}

.service-item {
    border-radius: var(--ic-radius);
    overflow: hidden;
    box-shadow: var(--ic-shadow-sm);
    transition: box-shadow .25s ease, transform .25s ease;
    background: #fff;
}

.service-item:hover {
    box-shadow: var(--ic-shadow-lg);
    transform: translateY(-4px);
}

.service-item .border {
    border: none !important;
}

.service .nav .nav-item {
    border-radius: var(--ic-radius-sm);
    overflow: hidden;
}

.testimonial-item {
    border-radius: var(--ic-radius);
    overflow: hidden;
}

.testimonial-inner {
    border-radius: var(--ic-radius) var(--ic-radius) 0 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-floating > .form-control,
.form-floating > .form-select {
    border-radius: var(--ic-radius-sm) !important;
    box-shadow: var(--ic-shadow-sm);
}

.form-control:focus {
    border-color: var(--ic-primary);
    box-shadow: 0 0 0 .2rem rgba(246, 138, 10, .18);
}

.contact .card,
.form-card {
    border-radius: var(--ic-radius-lg);
    box-shadow: var(--ic-shadow);
    border: 1px solid var(--ic-slate-200);
}

/* ==========================================================================
   Guest footer
   ========================================================================== */
.site-footer {
    background: linear-gradient(180deg, var(--ic-navy-800), var(--ic-navy-900));
    color: rgba(255, 255, 255, .75);
    padding-top: 60px;
}

.site-footer-newsletter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    margin-bottom: 40px;
}

.site-footer-newsletter h4 {
    color: #fff;
    margin-bottom: 4px;
}

.site-footer-subscribe {
    display: flex;
    gap: 10px;
}

.site-footer-subscribe input {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    padding: 10px 18px;
    min-width: 260px;
}

.site-footer-subscribe input::placeholder {
    color: rgba(255, 255, 255, .5);
}

.site-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-bottom: 40px;
}

.site-footer-col h3,
.site-footer-col h4 {
    color: #fff;
    margin-bottom: 18px;
}

.site-footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer-col a {
    color: rgba(255, 255, 255, .65);
}

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

.site-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.site-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.site-footer-social a:hover {
    background: var(--ic-primary);
    color: #fff;
}

.site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 20px 0;
    text-align: center;
    font-size: .875rem;
}

@media (max-width: 991px) {
    .site-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .site-footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Homepage testimonial grid
   ========================================================================== */
.testi-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    padding: 8px 18px;
    margin-bottom: 18px;
}

.testi-rating-badge .stars {
    color: var(--ic-primary);
    letter-spacing: 2px;
}

.testi-rating-badge span {
    color: rgba(255, 255, 255, .7);
    font-size: .85rem;
}

.testi-lead {
    color: rgba(255, 255, 255, .7);
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testi-card {
    background: #fff;
    border-radius: var(--ic-radius);
    box-shadow: var(--ic-shadow);
    padding: 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
}

.testi-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ic-shadow-lg);
}

.testi-quote-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(246, 138, 10, .12);
    color: var(--ic-primary);
    font-size: 1rem;
    margin-bottom: 20px;
}

.testi-stars {
    color: var(--ic-primary);
    font-size: .85rem;
    margin-bottom: 12px;
}

.testi-text {
    color: var(--ic-slate-600);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 24px;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--ic-slate-200);
}

.testi-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testi-name {
    font-weight: 600;
    color: var(--ic-navy-800);
    line-height: 1.3;
}

.testi-role {
    font-size: .85rem;
    color: var(--ic-slate-500);
}

@media (max-width: 991px) {
    .testi-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Homepage company vision section
   ========================================================================== */
.vision-section {
    background: var(--ic-slate-100);
}

.vision-eyebrow {
    color: var(--ic-primary-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .8rem;
}

.vision-statement {
    color: var(--ic-slate-600);
    line-height: 1.8;
}

.vision-pillars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vision-pillar {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #fff;
    border-radius: var(--ic-radius);
    box-shadow: var(--ic-shadow-sm);
    padding: 24px;
    transition: box-shadow .25s ease, transform .25s ease;
}

.vision-pillar:hover {
    box-shadow: var(--ic-shadow);
    transform: translateY(-3px);
}

.vision-pillar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(246, 138, 10, .12);
    color: var(--ic-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.vision-pillar-title {
    font-weight: 600;
    color: var(--ic-navy-800);
    margin-bottom: 4px;
}

.vision-pillar-text {
    color: var(--ic-slate-500);
    font-size: .92rem;
    margin-bottom: 0;
}
