/* ==========================================================
ASK KP 2026 DESIGN SYSTEM
File: /css/main-2026.css

Brand:
Clear. Practical. Human.
========================================================== */


/* ==========================================================
CSS VARIABLES
========================================================== */

:root {

    --askkp-red: #ff0000;
    --askkp-black: #000000;

    --askkp-dark-gray: #333333;
    --askkp-medium-gray: #777777;
    --askkp-light-gray: #f5f5f5;
    --askkp-border-gray: #e5e5e5;

    --askkp-white: #ffffff;

    --askkp-blue: #0077cc;
    --askkp-green: #2ecc71;
    --askkp-amber: #ffcc00;

    --askkp-radius-small: 8px;
    --askkp-radius-medium: 12px;
    --askkp-radius-large: 20px;

    --askkp-shadow-small: 0 2px 10px rgba(0,0,0,.05);
    --askkp-shadow-medium: 0 10px 30px rgba(0,0,0,.08);

    --askkp-max-width: 1280px;

    --askkp-transition: all .25s ease;
}


/* ==========================================================
RESET
========================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--askkp-white);
    color: var(--askkp-dark-gray);

    font-family: "Nunito Sans", sans-serif;
    font-size: 18px;
    line-height: 1.7;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* ==========================================================
LINKS
========================================================== */

a {
    color: var(--askkp-blue);
    text-decoration: none;
    transition: var(--askkp-transition);
}

a:hover {
    color: var(--askkp-red);
}


/* ==========================================================
TYPOGRAPHY
========================================================== */

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    color: var(--askkp-black);
    font-family: "Merriweather", serif;
    line-height: 1.25;
}

h1 {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    margin-bottom: 18px;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
}

p {
    margin: 0 0 18px 0;
}

small {
    color: var(--askkp-medium-gray);
}


/* ==========================================================
LAYOUT CORE
========================================================== */

#page-wrap-2026 {
    width: 100%;
    max-width: var(--askkp-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-2026 {
    padding: 70px 0;
}

.section-light-2026 {
    background: var(--askkp-light-gray);
    border-radius: var(--askkp-radius-large);
    margin: 40px 0;
    padding: 70px 0;
    border: 1px solid var(--askkp-border-gray);
}

.container-2026 {
    width: 100%;
    max-width: var(--askkp-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center-2026 { text-align: center; }
.text-left-2026 { text-align: left; }


/* ==========================================================
HEADER
========================================================== */

#header-2026 {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--askkp-border-gray);
}

#header-inner-2026 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    max-width: var(--askkp-max-width);
    margin: 0 auto;
    padding: 12px 20px;
}

#header-logo-2026 img {
    max-height: 42px;
}

#header-nav-2026 {
    display: flex;
    gap: 22px;
    align-items: center;
}

#header-nav-2026 a {
    font-weight: 700;
    font-size: 14px;
    color: var(--askkp-dark-gray);
}

#header-nav-2026 a:hover {
    color: var(--askkp-red);
}

#mobile-menu-toggle-2026 {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}


/* ==========================================================
MOBILE NAV
========================================================== */

#mobile-nav-2026 {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--askkp-border-gray);
    z-index: 998;
}

#mobile-nav-inner-2026 {
    max-width: var(--askkp-max-width);
    margin: 0 auto;
    padding: 20px;
}

#mobile-nav-inner-2026 a {
    display: block;
    padding: 12px 0;
    font-weight: 700;
    color: var(--askkp-dark-gray);
}

/* ==========================================================
MOBILE NAV SEARCH FORM
========================================================== */

#mobile-nav-inner-2026 form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

#mobile-nav-inner-2026 .button-primary-2026 {
    width: 100%;
}

.mobile-nav-open-2026 {
    display: block !important;
}


/* ==========================================================
HERO
========================================================== */

#hero-section-2026 {
    text-align: center;
    padding: 70px 0 40px;
}

#hero-section-2026 p {
    max-width: 820px;
    margin: 0 auto 30px;
    font-size: 1.15rem;
}


/* ==========================================================
SEARCH
========================================================== */

#search-wrap-2026 {
    max-width: 850px;
    margin: 0 auto;
}

#search-form-2026 {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

#search-input-2026 {
    width: 100%;
    flex: 1;

    min-height: 56px;

    border: 1px solid var(--askkp-border-gray);
    border-radius: var(--askkp-radius-medium);

    padding: 16px;

    font-size: 16px;
    line-height: 1.4;

    appearance: none;
    -webkit-appearance: none;
}

mark {
    background: #ffe58a;
    padding: 0 2px;
    border-radius: 3px;
}

/* ==========================================================
BUTTONS
========================================================== */

.button-primary-2026 {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 56px;
    height: 56px;

    padding: 0 24px;

    background: var(--askkp-red);
    color: #ffffff;

    border: none;
    border-radius: var(--askkp-radius-medium);

    font-size: 16px;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;

    transition: var(--askkp-transition);
}

.button-primary-2026:hover {
    background: #cc0000;
    color: #ffffff;
}

.button-secondary-2026 {
    background: transparent;
    border: 2px solid var(--askkp-black);
    color: var(--askkp-black);
    border-radius: var(--askkp-radius-medium);
    padding: 12px 18px;
    font-weight: 700;
}


/* ==========================================================
TODAY'S ANSWER
========================================================== */

#todays-answer-card-2026 {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: center;
    background: white;
    border: 1px solid var(--askkp-border-gray);
    border-radius: var(--askkp-radius-large);
    padding: 24px;
}

#todays-answer-card-2026 h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

#todays-answer-card-2026 p {
    margin-bottom: 18px;
    color: var(--askkp-dark-gray);
}

.todays-answer-article-2026 {
    display: block;
    background: #ffffff;
    border: 1px solid var(--askkp-border-gray);
    border-radius: var(--askkp-radius-large);
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

/* image styling for article view */
.todays-answer-article-2026 img {
    width: 100%;
    height: auto;
    border-radius: var(--askkp-radius-medium);
    margin-bottom: 24px;
}

/* typography spacing for full article flow */
.todays-answer-article-2026 h2 {
    font-size: 2rem;
    margin-bottom: 18px;
}

.todays-answer-article-2026 p {
    margin-bottom: 18px;
    line-height: 1.7;
}

/* ==========================================================
ARTICLE GRID
========================================================== */

#latest-answers-grid-2026 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.article-card-2026 {
    border: 1px solid var(--askkp-border-gray);
    border-radius: var(--askkp-radius-medium);
    overflow: hidden;
    background: white;
}

.article-card-2026 img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.article-card-2026 a {
    color: var(--askkp-black);
    font-weight: 700;
}

.article-card-2026 a:hover {
    color: var(--askkp-red);
}

.article-card-content-2026 {
    padding: 18px;
}


/* ==========================================================
TRUST SECTION
========================================================== */

#why-askkp-grid-2026 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 0;
}

.why-card-2026 {
    background: white;
    border-radius: var(--askkp-radius-medium);
    padding: 24px;
}


/* ==========================================================
NEWSLETTER
========================================================== */

#newsletter-section-2026 {
    background: var(--askkp-black);
    color: white;
    border-radius: var(--askkp-radius-large);
    padding: 50px 30px;
    text-align: center;
}

#newsletter-section-2026 form {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

#newsletter-section-2026 input[type="email"] {
    flex: 1;
    min-width: 240px;
    max-width: 420px;
    height: 52px;
    border-radius: var(--askkp-radius-medium);
}

#newsletter-section-2026 button {
    height: 52px;
}

#newsletter-section-2026 h1,
#newsletter-section-2026 h2,
#newsletter-section-2026 h3,
#newsletter-section-2026 h4,
#newsletter-section-2026 p,
#newsletter-section-2026 small {
    color: #ffffff;
}

/* ==========================================================
CONSULTING
========================================================== */

#consulting-grid-2026 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.consulting-card-2026 {
    background: white;
    border: 1px solid var(--askkp-border-gray);
    border-radius: var(--askkp-radius-medium);
    padding: 26px;
}


/* ==========================================================
FORMS
========================================================== */

input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    min-height: 56px;
    padding: 16px;
    border: 1px solid var(--askkp-border-gray);
    border-radius: var(--askkp-radius-medium);
    font-size: 16px;
    appearance: none;
    -webkit-appearance: none;
}


/* ==========================================================
FOOTER (FINAL FIX: 3 CARD SYSTEM)
========================================================== */

#footer-2026 {
    margin-top: 70px;
    background: var(--askkp-black);
    color: #ffffff;
}

#footer-inner-2026 {
    max-width: var(--askkp-max-width);
    margin: 0 auto;
    padding: 50px 20px;
}

/* 🔥 KEY FIX: 3 equal footer cards */
#footer-grid-2026 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: flex-start;
}

/* each footer card becomes a "clean panel" */
.footer-card-2026 {
    display: flex;
    flex-direction: column;
    gap: 10px;
	text-align: left;
}

/* logo left aligned behavior */
.footer-logo-2026 {
    max-height: 60px;
    align-self: flex-start;
    margin-bottom: 10px;
}

/* FORCE ALL FOOTER TEXT WHITE */
#footer-2026,
#footer-2026 a,
#footer-2026 p,
#footer-2026 h4 {
    color: #ffffff;
}

/* clean link spacing (fixes cluttered pipes issue) */
.footer-card-2026 a {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    opacity: 0.85;
}

.footer-card-2026 a:hover {
    opacity: 1;
}

/* bottom bar */
#footer-bottom-2026 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.15);
    font-size: 13px;
    color: rgba(255,255,255,.75);
}


/* ==========================================================
RESPONSIVE
========================================================== */

@media (max-width: 900px) {
	
    .section-2026 {
        padding: 50px 0;
    }	

    #search-form-2026 {
        flex-direction: column;
    }

    #search-input-2026,
    .button-primary-2026 {
        width: 100%;
    }
	
	#footer-grid-2026 {
        grid-template-columns: 1fr;
        text-align: left;
		gap: 30px;
    }
	
    .footer-card-2026 {
        text-align: left;
    }	

    #header-nav-2026 {
        display: none;
    }

    #mobile-menu-toggle-2026 {
        display: block;
    }

    #search-form-2026 {
        flex-direction: column;
    }
	
    #search-form-2026 button {
        width: 100%;
    }	

    #todays-answer-card-2026 {
        grid-template-columns: 1fr;
    }

    #why-askkp-grid-2026 {
        grid-template-columns: 1fr;
    }

    #consulting-grid-2026 {
        grid-template-columns: 1fr;
    }
}