/* ==========================================================================
   Mitch & Sons Enterprises LLC site stylesheet
   Layered on top of Bootstrap 4.6. Brand palette sampled from the company's
   printed business card (front + back).
   ========================================================================== */

:root {
    --brand-blue: #3D3DC0;
    --brand-blue-dark: #2E2E96;
    /* Lightened brand blue for text sitting directly on the dark panel.
       The raw brand blue only measures ~2.2:1 against #1E1E1E, which fails
       WCAG AA. This tint measures ~4.7:1. Reserve --brand-blue for fills,
       borders, and text on light backgrounds only. */
    --brand-blue-on-dark: #8484E6;
    --near-black: #1E1E1E;
    --panel-dark: #181818;
    --off-white: #F5F4F1;
    --ink: #1A1A1A;
    --ink-soft: #4A4A4A;
    --white-on-dark: #F5F4F1;
    --white-on-dark-soft: #C9C9CC;
    --font-display: 'Oswald', 'Arial Narrow', sans-serif;
    --font-body: 'Barlow', 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background-color: var(--off-white);
    font-size: 1.05rem;
    line-height: 1.65;
}

h1, h2, h3, h4, h5, h6,
.heading-condensed {
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--ink);
}

p {
    max-width: 62ch;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.6;
}

a {
    color: var(--brand-blue-dark);
}

a:hover,
a:focus {
    color: var(--brand-blue);
}

/* Visible, high-contrast focus ring everywhere. Never suppressed. */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--brand-blue);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--near-black);
    color: #fff;
    padding: 0.75rem 1.25rem;
    z-index: 1100;
    font-family: var(--font-body);
    font-weight: 600;
}

.skip-link:focus {
    left: 0;
}

.text-secondary-ink {
    color: var(--ink-soft);
}

.text-brand {
    color: var(--brand-blue-dark) !important;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 2px;
    padding: 0.65rem 1.5rem;
}

.btn-brand {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
}

.btn-brand:hover,
.btn-brand:focus {
    background-color: var(--brand-blue-dark);
    border-color: var(--brand-blue-dark);
    color: #fff;
}

.btn-outline-brand {
    background-color: transparent;
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue-dark);
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
    background-color: var(--brand-blue);
    color: #fff;
}

.btn-outline-light-brand {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline-light-brand:hover,
.btn-outline-light-brand:focus {
    background-color: #fff;
    color: var(--brand-blue-dark);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.site-nav {
    background-color: var(--near-black);
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
    padding: 0;
}

.brand-mitch {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.5rem;
    letter-spacing: 0.02em;
    color: #fff;
    text-transform: uppercase;
}

.brand-enterprises {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 0.14em;
    color: var(--brand-blue-on-dark);
    text-transform: uppercase;
}

.site-nav .nav-link {
    font-family: var(--font-display);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    color: var(--white-on-dark-soft);
    padding: 0.5rem 0.9rem;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus,
.site-nav .nav-link.active {
    color: #fff;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.35);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==========================================================================
   Angled divider motif, echoing the diagonal card split. Used sparingly.
   ========================================================================== */

.angled-bottom {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4.5vw), 0 100%);
    padding-bottom: 6.5rem !important;
}

.angled-top {
    clip-path: polygon(0 4.5vw, 100% 0, 100% 100%, 0 100%);
    padding-top: 6.5rem !important;
}

@media (max-width: 767px) {
    .angled-bottom,
    .angled-top {
        clip-path: none;
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    background-color: var(--near-black);
    color: var(--white-on-dark);
    padding-top: 6.5rem;
    padding-bottom: 8.5rem;
    position: relative;
}

.hero h1 {
    color: #fff;
    font-size: 2.75rem;
}

.hero .lead {
    color: var(--white-on-dark-soft);
    max-width: 52ch;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

.hero-stars {
    letter-spacing: 0.4em;
    color: var(--brand-blue-on-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-family: var(--font-display);
    font-weight: 600;
}

/* ==========================================================================
   Trust strip
   ========================================================================== */

.trust-strip {
    background-color: var(--off-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
}

.trust-strip ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 2.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.trust-strip li {
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.95rem;
    color: var(--ink);
    display: flex;
    align-items: center;
}

.trust-strip li svg {
    width: 1.15rem;
    height: 1.15rem;
    margin-right: 0.5rem;
    flex-shrink: 0;
    color: var(--brand-blue);
}

/* ==========================================================================
   Icon circles (service cards / trust points)
   ========================================================================== */

.icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-circle svg {
    width: 34px;
    height: 34px;
    color: #fff;
}

/* ==========================================================================
   Service cards
   ========================================================================== */

.service-card {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--brand-blue);
    padding: 2.25rem 1.75rem;
    height: 100%;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--ink-soft);
    margin-bottom: 0;
}

/* Full detail sections on the Services page */

.service-detail {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.service-detail:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.service-detail h2 {
    font-size: 2rem;
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
    background-color: var(--brand-blue);
    color: #fff;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
    text-align: center;
}

.cta-band h2 {
    color: #fff;
    font-size: 2rem;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 50ch;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Veteran badge
   ========================================================================== */

.veteran-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--brand-blue);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
    padding: 0.4rem 0.9rem;
    border-radius: 2px;
}

.veteran-badge svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

/* ==========================================================================
   Why-choose / about trust points
   ========================================================================== */

.trust-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
}

.trust-point .icon-circle {
    width: 52px;
    height: 52px;
}

.trust-point .icon-circle svg {
    width: 24px;
    height: 24px;
}

.trust-point h3 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.trust-point p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ==========================================================================
   Dark section (About story panel, etc.)
   ========================================================================== */

.section-dark {
    background-color: var(--near-black);
    color: var(--white-on-dark);
}

.section-dark h2,
.section-dark h3 {
    color: #fff;
}

.section-dark p {
    color: var(--white-on-dark-soft);
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-card {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 2.25rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.contact-method h3 {
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.contact-method a,
.contact-method span {
    color: var(--ink-soft);
    font-family: var(--font-body);
    text-transform: none;
    letter-spacing: normal;
}

.contact-method a {
    color: var(--brand-blue-dark);
    font-weight: 600;
}

.form-label-brand {
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 0.85rem;
    color: var(--ink);
}

.form-control {
    border-radius: 2px;
    border-color: rgba(0, 0, 0, 0.2);
    padding: 0.15rem 0.85rem;
}

.form-control:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 0.2rem rgba(61, 61, 192, 0.25);
}

.field-validation-error {
    color: #dc3545;
    font-size: 0.85rem;
    display: block;
    margin-top: 0.25rem;
}

/* Honeypot field, hidden from sighted users and keyboard tab order,
   still present for bots that blindly fill every input. */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alert-brand-success {
    background-color: #EAF7EE;
    border: 1px solid #B9E5C6;
    color: #1D6B34;
}

.alert-brand-error {
    background-color: #FBEAEA;
    border: 1px solid #F0BDBD;
    color: #8A2222;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background-color: var(--panel-dark);
    color: var(--white-on-dark-soft);
    padding-top: 3.5rem;
    padding-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.footer-brand .brand-mitch {
    font-size: 1.15rem;
}

.footer-tagline {
    color: var(--white-on-dark-soft);
    font-style: italic;
    margin-bottom: 1rem;
}

.footer-heading {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-contact li,
.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-contact a,
.footer-links a {
    color: var(--white-on-dark-soft);
}

.footer-contact a:hover,
.footer-links a:hover {
    color: #fff;
}

.footer-rule {
    border-color: rgba(255, 255, 255, 0.12);
    margin: 2rem 0 1.5rem;
}

.footer-disclosure {
    font-size: 0.85rem;
    color: var(--white-on-dark-soft);
    max-width: none;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(245, 244, 241, 0.55);
    margin-bottom: 0;
}
