/* mcsherry.pro – Rev2
   Brand based on business card:
   Primary: #0D1B39 (deep navy)
*/

/* ========== CSS VARIABLES ========== */
:root {
    --color-bg: #0d1b39;
    --color-bg-alt: #13254b;
    --color-card: #13254b;
    --color-border-soft: rgba(255, 255, 255, 0.08);
    --color-text: #ffffff;
    --color-muted: #cbd5f5;
    --color-accent: #0a66c2; /* LinkedIn blue / accent */
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-pill: 999px;
    --max-width: 1080px;
}

/* ========== GLOBAL ========== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, "Helvetica Neue", Arial, sans-serif;
    background: radial-gradient(circle at top left, #172554 0, #0d1b39 35%, #020617 100%);
    color: var(--color-text);
    line-height: 1.6;
}

/* Layout helpers */
.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========== HEADER ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(13, 27, 57, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-soft);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
}

/* Brand mark (simple text, matches card) */
.brand-mark {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: lowercase;
}

/* Nav */
.main-nav {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-muted);
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.2s ease;
}

.main-nav a:hover {
    color: #ffffff;
}

.main-nav a:hover::after {
    width: 100%;
}

/* ========== HERO ========== */
.hero {
    padding: 4.5rem 0 3.5rem;
    border-bottom: 1px solid var(--color-border-soft);
}

.hero-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

/* Logo box – mirrors business card */
.hero-logo-box {
    display: inline-flex;
    padding: 0.75rem 2.5rem;
    border-radius: 8px;
    border: 2px solid #ffffff;
    margin-bottom: 0.75rem;
}

.hero-logo-text {
    text-transform: lowercase;
    letter-spacing: 0.08em;
    font-size: 1.1rem;
}

.hero-role {
    font-size: 1.05rem;
    opacity: 0.85;
    margin-bottom: 1.25rem;
}

.hero-lead {
    font-size: 0.98rem;
    color: var(--color-muted);
    max-width: 36rem;
    margin: 0 auto 1.9rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease,
        box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #1d4ed8, #0a66c2);
    color: #f9fafb;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.7);
}

.btn-outline {
    border-color: rgba(148, 163, 184, 0.7);
    color: var(--color-muted);
    background: rgba(15, 23, 42, 0.7);
}

.btn-outline:hover {
    color: #ffffff;
    border-color: #e5e7eb;
    background: rgba(15, 23, 42, 0.95);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

/* ========== SECTIONS GENERAL ========== */
.section {
    padding: 3.5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.25rem;
}

.section-title {
    font-size: 1.4rem;
    margin-bottom: 0.35rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--color-muted);
}

/* ========== SERVICES ========== */
.section-services {
    background: linear-gradient(145deg, #0d1b39 0%, #091123 55%, #0d1b39 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
}

.service-card {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-soft);
    padding: 1.4rem 1.3rem 1.25rem;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: border-color 0.2s ease, transform 0.15s ease,
        box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(148, 163, 184, 0.6);
    box-shadow: var(--shadow-soft);
}

.service-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.service-summary {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-bottom: 0.75rem;
}

.service-points {
    list-style: none;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.service-points li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 0.3rem;
}

.service-points li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
}

/* ========== ABOUT ========== */
.section-about {
    background: #0b172f;
    border-top: 1px solid var(--color-border-soft);
    border-bottom: 1px solid var(--color-border-soft);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
    gap: 2.2rem;
}

.about-text {
    font-size: 0.95rem;
    color: var(--color-muted);
    margin-bottom: 0.75rem;
}

.about-subtitle {
    font-size: 1rem;
    margin-bottom: 0.6rem;
}

.about-list {
    list-style: none;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.about-list li {
    margin-bottom: 0.35rem;
    padding-left: 1rem;
    position: relative;
}

.about-list li::before {
    content: "–";
    position: absolute;
    left: 0;
}

/* ========== CONTACT ========== */
.section-contact {
    background: #0d1b39;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.contact-list {
    list-style: none;
    margin-top: 1.25rem;
    font-size: 0.9rem;
}

.contact-list li {
    margin-bottom: 0.55rem;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-muted);
    margin-bottom: 0.1rem;
}

.contact-value {
    color: #f9fafb;
    text-decoration: none;
}

.contact-value:hover {
    color: var(--color-accent);
}

/* QR panel */
.qr-panel {
    display: flex;
    justify-content: flex-end;
}

.qr-inner {
    background: #020617;
    border-radius: var(--radius-lg);
    padding: 1.1rem 1.1rem 0.9rem;
    border: 1px solid var(--color-border-soft);
    box-shadow: var(--shadow-soft);
    text-align: center;
    max-width: 220px;
    margin-left: auto;
}

.qr-image {
    max-width: 180px;
    display: block;
    margin: 0 auto 0.5rem;
}

.qr-caption {
    font-size: 0.78rem;
    color: var(--color-muted);
}

/* ========== FOOTER ========== */
.site-footer {
    border-top: 1px solid var(--color-border-soft);
    padding: 1rem 0 1.5rem;
    background: #050b18;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.78rem;
    color: var(--color-muted);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .main-nav {
        display: none; /* keep v2 simple; can add mobile nav later */
    }

    .hero {
        padding-top: 3.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .qr-panel {
        justify-content: flex-start;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-logo-box {
        padding-inline: 1.75rem;
    }
}

