/* ===========================
   Wasatch Public Strategy - Design System
   =========================== */

:root {
    --ink-900: #0b1726;
    --ink-800: #15273d;
    --ink-700: #274264;
    --ink-500: #466d97;
    --sky-100: #edf4fb;
    --sky-50: #f7fafc;
    --pine-600: #a86a17;
    --pine-500: #cf9030;
    --sage-300: #e9d8b5;
    --sun-500: #e9b55d;
    --white: #ffffff;
    --text-main: #10243a;
    --text-soft: #48637f;
    --border: #d7e4f2;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 2px 8px rgba(16, 36, 58, 0.06);
    --shadow-md: 0 10px 28px rgba(16, 36, 58, 0.12);
    --shadow-lg: 0 20px 56px rgba(16, 36, 58, 0.16);
    --gradient-main: linear-gradient(130deg, #102944 0%, #244f79 56%, #5f7f9f 100%);
    --gradient-soft: linear-gradient(140deg, #eef4fb 0%, #f8f2e6 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Sora', sans-serif;
    color: var(--text-main);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2 {
    font-family: 'Newsreader', serif;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.8rem, 8vw, 5.9rem);
    line-height: 0.95;
    margin-bottom: 1.2rem;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.1;
    text-align: center;
    margin-bottom: 2.6rem;
}

h2.left-aligned { text-align: left; }

h3 { font-size: 1.2rem; margin-bottom: 0.7rem; }
h4 { font-size: 1rem; margin-bottom: 0.4rem; }

p { color: var(--text-soft); }

.gradient-text {
    background: linear-gradient(120deg, #9ab4cc 0%, #e9b55d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--pine-600);
    padding: 8px 14px;
    border-radius: 999px;
    background: #e4f5f1;
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--pine-500);
}

.section-label.centered {
    display: table;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 12px;
    padding: 13px 24px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: var(--gradient-main);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(16, 41, 68, 0.3);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--ink-800);
    border: 1.5px solid #c1d8ef;
}

.btn-outline:hover { background: #eef5fc; }

.btn-lg { padding: 16px 34px; }
.btn-full { width: 100%; }

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    border-bottom-color: #e2ebf5;
    box-shadow: var(--shadow-sm);
}

.navbar { padding: 0.9rem 0; }

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image-full {
    width: 128px;
    height: auto;
    display: block;
}

.logo-image-mark {
    width: 46px;
    height: 46px;
    display: none;
}

.logo-text {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink-900);
    font-size: 1.3rem;
    display: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-link {
    font-size: 0.88rem;
    color: var(--ink-700);
    font-weight: 600;
}

.nav-link:hover { color: var(--pine-600); }

.nav-link.nav-cta {
    padding: 10px 18px;
    border-radius: 10px;
    background: var(--ink-900);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--ink-900);
}

.hero {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-main);
    color: var(--white);
    text-align: center;
    overflow: hidden;
    padding: 120px 24px 86px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
}

.orb-1 {
    width: 340px;
    height: 340px;
    background: rgba(233, 181, 93, 0.22);
    top: -80px;
    left: -70px;
}

.orb-2 {
    width: 260px;
    height: 260px;
    background: rgba(154, 180, 204, 0.24);
    right: 5%;
    top: 18%;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.12);
    bottom: -120px;
    right: 32%;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.09) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(circle at center, black 20%, transparent 70%);
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.hero p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 670px;
    margin: 0 auto;
    font-size: 1.08rem;
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

.scroll-line {
    width: 1px;
    height: 34px;
    background: rgba(255, 255, 255, 0.5);
    margin: 8px auto 0;
}

.stats-bar {
    padding: 24px;
    margin-top: -48px;
    position: relative;
    z-index: 2;
}

.stats-grid {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.3rem 1.2rem;
}

.stat-item {
    flex: 1;
    text-align: center;
}

.stat-item h3 {
    color: var(--ink-900);
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.stat-item p { font-size: 0.84rem; }

.stat-divider {
    width: 1px;
    height: 46px;
    background: #e3ecf6;
}

.about,
.services,
.pricing,
.contact { padding: 92px 24px; }

.about { background: var(--white); }
.services,
.pricing { background: var(--sky-50); }

.about-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}

.about-values { margin-top: 1.3rem; display: grid; gap: 0.8rem; }

.about-values li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--text-soft);
}

.check-icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #dff3ed;
    color: var(--pine-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.about-visual {
    display: grid;
    gap: 1rem;
}

.visual-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.1rem 1.2rem;
}

.vc-icon { font-size: 1.2rem; margin-bottom: 0.4rem; }

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

.who-serve {
    padding: 92px 24px;
    background: var(--white);
}

.who-serve-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.who-card {
    background: var(--sky-50);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
}

.who-card h3 {
    color: var(--ink-900);
    margin-bottom: 0.6rem;
}

.who-card p {
    font-size: 0.92rem;
    margin-bottom: 0.9rem;
}

.who-list {
    display: grid;
    gap: 0.55rem;
}

.who-list li {
    font-size: 0.9rem;
    color: var(--text-soft);
    padding-left: 1.1rem;
    position: relative;
}

.who-list li::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--sun-500);
    position: absolute;
    left: 0;
    top: 0.55rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.service-number {
    font-size: 0.76rem;
    color: var(--pine-600);
    font-weight: 700;
    margin-bottom: 0.9rem;
    letter-spacing: 0.08em;
}

.service-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-800);
    margin-bottom: 1rem;
}

.service-icon svg { width: 22px; height: 22px; }

.service-card p { font-size: 0.9rem; margin-bottom: 1rem; }

.service-link {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--ink-700);
}

.service-link:hover { color: var(--pine-600); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    position: relative;
}

.pricing-tier {
    font-size: 0.73rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--pine-600);
}

.pricing-price {
    font-size: 2.5rem;
    line-height: 1;
    color: var(--ink-900);
    font-weight: 800;
}

.price-suffix { font-size: 1rem; color: var(--text-soft); }

.pricing-desc { font-size: 0.9rem; }

.pricing-features { display: grid; gap: 0.2rem; margin: 0.6rem 0; }

.pricing-features li {
    border-bottom: 1px solid #e7eef6;
    padding: 0.55rem 0;
    font-size: 0.9rem;
    color: var(--text-soft);
}

.pricing-features li::before {
    content: '✓ ';
    color: var(--pine-600);
    font-weight: 700;
}

.pricing-featured {
    background: var(--gradient-main);
    color: var(--white);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-featured .pricing-tier,
.pricing-featured .pricing-price,
.pricing-featured h3 { color: var(--white); }

.pricing-featured .price-suffix,
.pricing-featured .pricing-desc,
.pricing-featured .pricing-features li { color: rgba(255,255,255,0.84); }

.pricing-featured .pricing-features li {
    border-bottom-color: rgba(255,255,255,0.2);
}

.pricing-featured .pricing-features li::before { color: #f9d7a8; }

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 14px;
    border-radius: 999px;
    background: #f2cc8f;
    color: #1f374f;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.cta-banner {
    padding: 92px 24px;
    background: radial-gradient(circle at 15% 20%, #44698f 0%, #143551 42%, #0b1726 100%);
    color: var(--white);
    text-align: center;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.7rem;
    font-size: 1.02rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-info {
    background: var(--gradient-soft);
    border: 1px solid #d8e8f5;
    border-radius: var(--radius-lg);
    padding: 1.4rem;
    display: grid;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.info-icon { font-size: 1.2rem; margin-top: 2px; }

.info-item p,
.info-item a {
    font-size: 0.92rem;
    color: var(--text-soft);
}

.info-item a:hover { color: var(--pine-600); }

.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.form-group { display: grid; gap: 0.35rem; }

.form-group label {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--ink-700);
}

.form-group input,
.form-group textarea,
.form-group select {
    border: 1px solid #cfe0f0;
    border-radius: 10px;
    padding: 12px 14px;
    font-family: inherit;
    color: var(--text-main);
    font-size: 0.93rem;
    background: var(--white);
}

.form-group select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #4a6787 50%), linear-gradient(135deg, #4a6787 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(50% - 3px), calc(100% - 14px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #7fa9cf;
    box-shadow: 0 0 0 4px rgba(70,109,151,0.14);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-status { font-size: 0.92rem; min-height: 1.2rem; }

.footer {
    background: var(--ink-900);
    color: var(--white);
    padding: 3.5rem 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand { max-width: 360px; }
.footer-brand .logo { margin-bottom: 0.8rem; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { color: rgba(255,255,255,0.64); font-size: 0.88rem; }

.footer-links { display: flex; gap: 3rem; }
.footer-col h5 {
    color: rgba(255,255,255,0.86);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.footer-col ul { display: grid; gap: 0.5rem; }
.footer-col a {
    color: rgba(255,255,255,0.58);
    font-size: 0.9rem;
}

.footer-col a:hover,
.social-link:hover { color: #f7bc7c; }

.footer-bottom {
    margin-top: 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.84rem; }

.social-links { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.social-link { color: rgba(255,255,255,0.63); font-size: 0.88rem; font-weight: 600; }

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

    .pricing-featured { transform: none; }
}

@media (max-width: 820px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #e3edf7;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        box-shadow: var(--shadow-lg);
        z-index: 101;
    }

    .nav-menu.active { display: flex; }

    .nav-menu li {
        width: 100%;
        padding: 0.95rem 1.2rem;
        border-bottom: 1px solid #ecf2f8;
    }

    .mobile-menu-btn { display: inline-flex; }

    .nav-link.nav-cta {
        background: none;
        color: var(--ink-900);
        padding: 0;
    }

    .about-layout,
    .contact-wrapper { grid-template-columns: 1fr; }

    .footer-top {
        flex-direction: column;
        gap: 1.6rem;
    }

    .footer-links { gap: 1.4rem; }
}

@media (max-width: 640px) {
    .container { padding: 0 16px; }

    .logo { gap: 0; }
    .logo-image-full {
        display: block;
        width: 56px;
        height: 56px;
        object-fit: cover;
        object-position: center 18%;
    }
    .logo-image-mark,
    .logo-text { display: none; }

    .hero {
        padding: 96px 16px 70px;
        min-height: auto;
    }

    .stats-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-divider { display: none; }

    .stat-item { flex: 1 1 42%; min-width: 120px; }

    .services-grid,
    .pricing-grid,
    .who-serve-grid { grid-template-columns: 1fr; }

    .form-row { grid-template-columns: 1fr; }

    .cta-actions,
    .hero-actions { flex-direction: column; }

    .btn,
    .btn-lg { width: 100%; }
}
