/* ===========================
   Restored Digital - Custom Styles
   Colors: Navy, Blue, Gold, Warm Gray, Off-white
   Fonts: Raleway (headlines), Inter (body)
   =========================== */

:root {
    --navy: #1a2744;
    --gold: #d4a017;
    --gold-hover: #e8c547;
    --gold-text: #8a6508; /* gold for text on light backgrounds, AA contrast */
    --blue: #2c5282;
    --gray: #6b7280;
    --gray-on-dark: #9ca3af; /* gray for text on navy, AA contrast */
    --text: #333333;
    --off-white: #f8f9fa;
    --border: #e2e8f0;
    --field-border: #8a94a6; /* form field edge, 3:1 against white */
    --slate-light: #cbd5e0;
    --footer-line: #2d3748;
}

/* --- Base --- */

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
}

h1, h2, h3, h4, h5 {
    font-family: "Raleway", sans-serif;
}

/* --- Typography --- */

/* --- Layout --- */

/* --- Navbar --- */

#navbar {
    background-color: var(--navy);
    padding: 16px 0;
}

.navbar-brand {
    padding: 0;
}

.navbar-brand img {
    display: block;
    height: 56px;
    width: auto;
}

/* --- Hero --- */

#hero {
    background-color: var(--navy);
    color: white;
    padding: 100px 0;
}

.hero-eyebrow {
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

#hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: white;
}

#hero .hero-sub {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--slate-light);
    margin-bottom: 40px;
    max-width: 600px;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--navy);
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    padding: 12px 28px;
    border: none;
    border-radius: 4px;
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    color: var(--navy);
}

/* --- Problem --- */

#problem {
    background-color: var(--off-white);
    padding: 80px 0;
}

#problem h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 0;
}

.problem-list {
    list-style: none;
    padding: 0;
    margin: 32px 0 24px 0;
}

.problem-list li {
    background: white;
    border-left: 4px solid var(--gold);
    border-radius: 4px;
    padding: 20px 24px;
    margin-bottom: 16px;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.6;
}

.problem-close {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 0;
}

/* --- Services --- */
#services {
    background-color: white;
    padding: 80px 0;
}

#services h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
}

.service-card {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 36px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 16px;
}

.service-statements {
    max-width: 760px;
    margin: 48px auto 0 auto;
}

.service-statements p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 12px;
}

.service-statements strong {
    color: var(--navy);
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 0;
}

.service-list li {
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}

.service-list li:last-child {
    border-bottom: none;
}
/* --- About --- */
#about {
    background-color: white;
    padding: 80px 0;
}

#about h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 24px;
}

#about p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 16px;
}

.stat-number {
    font-family: "Raleway", sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--navy);
}

.about-photo {
    display: block;
    max-width: 220px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.about-card {
    background: var(--off-white);
    border-left: 4px solid var(--gold);
    border-radius: 4px;
    padding: 36px;
}

.about-card h3 {
    font-family: "Raleway", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
    padding-left: 20px;
    position: relative;
}

.about-list li:last-child {
    border-bottom: none;
}

.about-list li::before {
    content: "→";
    color: var(--gold-text);
    font-weight: 700;
    position: absolute;
    left: 0;
}
/* --- Contact --- */
#contact {
    background-color: var(--off-white);
    padding: 80px 0;
}

#contact h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
}


#contact .form-note {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 16px 0 0 0;
}

#contact .form-note a {
    color: var(--blue);
}

.contact-frame {
    display: block;
    width: 100%;
    max-width: 640px;
    height: 1107px;
    margin: 0 auto;
    border: 0;
}

@media (max-width: 575.98px) {
    .contact-frame {
        height: 1350px;
    }
}
/* --- Footer --- */
#footer {
    background-color: var(--navy);
    color: var(--slate-light);
    padding: 60px 0 0 0;
}

.footer-brand {
    font-family: "Raleway", sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: 16px;
}

.footer-heading {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

#footer p {
    color: var(--slate-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-legal {
    color: var(--gray-on-dark) !important;
    font-size: 0.8rem !important;
    margin-top: 8px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    padding: 5px 0;
    font-size: 0.9rem;
    color: var(--slate-light);
}

.footer-list a {
    color: var(--slate-light);
    text-decoration: none;
}

.footer-list a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid var(--footer-line);
    margin-top: 40px;
    padding: 20px 0;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--gray-on-dark);
    margin: 0;
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: var(--gray-on-dark);
    margin-top: 4px;
}
/* --- Privacy page --- */
#privacy {
    background-color: white;
    padding: 80px 0;
}

#privacy h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
}

#privacy h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
    margin: 40px 0 12px 0;
}

#privacy p,
#privacy li {
    color: var(--text);
    line-height: 1.7;
}

#privacy .privacy-date {
    color: var(--gray);
    margin-bottom: 0;
}

#privacy a {
    color: var(--blue);
}

/* --- Accessibility --- */
.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 2000;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 4px;
}

.skip-link:focus {
    top: 16px;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.navbar-toggler:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
}

#navbar a:focus-visible,
#navbar button:focus-visible,
#hero a:focus-visible,
#footer a:focus-visible {
    outline-color: var(--gold);
}

/* --- Utilities --- */
