/* QBAgency Base Styles */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #f5f5f7;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header & Navigation */

header {
    background: #111827;
    color: #f9fafb;
    border-bottom: 1px solid #1f2937;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.nav-logo {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.nav-logo span {
    font-weight: 400;
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    opacity: 0.9;
}

.nav-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Hero */

.hero {
    background: linear-gradient(135deg, #0b3d3a, #1f8f7a);
    color: #f9fafb;
    padding: 3.5rem 0 3rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-heading {
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subline {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.hero-subline + .hero-subline {
    margin-top: 0.25rem;
}

.hero-subline-strong {
    font-weight: 600;
}

.hero-service-callout {
    margin-top: 1.2rem;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(249, 250, 251, 0.22);
    background: rgba(15, 23, 42, 0.3);
}

.hero-cta-row {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    background-color: #3b82f6;
    color: #f9fafb;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #2563eb;
}

.btn-secondary-link {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-note {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    opacity: 0.9;
}

.hero-aside {
    background: rgba(10, 30, 28, 0.85);
    border-radius: 0.9rem;
    padding: 1.4rem 1.3rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.hero-aside-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.hero-aside-list {
    list-style: none;
    font-size: 0.9rem;
}

.hero-aside-list li {
    margin-bottom: 0.35rem;
}

/* Sections */

section {
    padding: 3rem 0 2.5rem;
}

.section-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-intro {
    max-width: 650px;
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
}

/* Cards */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.4rem;
}

.card {
    background: #ffffff;
    border-radius: 0.9rem;
    padding: 1.2rem 1.2rem 1.3rem;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-subtitle {
    font-size: 0.88rem;
    opacity: 0.75;
    margin-bottom: 0.75rem;
}

.card ul {
    list-style: disc;
    margin-left: 1.2rem;
    font-size: 0.9rem;
}

.card ul li {
    margin-bottom: 0.25rem;
}

/* Highlight band */

.band {
    background-color: #0b3d3a;
    color: #f9fafb;
    padding: 2.2rem 0;
}

.band-inner {
    text-align: center;
}

.band-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.band-text {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 2rem;
}

.contact-box {
    background: #ffffff;
    border-radius: 0.9rem;
    padding: 1.3rem 1.3rem 1.4rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    font-size: 0.95rem;
}

.contact-box h3 {
    font-size: 1.05rem;
    margin-bottom: 0.7rem;
}

.contact-box p {
    margin-bottom: 0.5rem;
}

.contact-meta p {
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
}

/* Footer */

footer {
    border-top: 1px solid #e5e7eb;
    padding: 1.5rem 0;
    font-size: 0.85rem;
    color: #6b7280;
    background-color: #f9fafb;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

/* Utility */

.text-center {
    text-align: center;
}

.text-small {
    font-size: 0.85rem;
}

/* Page-specific hero for inner pages */

.hero-inner-page {
    padding: 2.5rem 0 2rem;
}

.hero-inner-page h1 {
    font-size: 1.7rem;
    margin-bottom: 0.4rem;
}

.hero-inner-page p {
    font-size: 0.95rem;
    max-width: 700px;
}

/* Responsive */

@media (max-width: 768px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-aside {
        margin-top: 1.2rem;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}
