/* =============================================================================
   Ninja Sensation - brand stylesheet
   Hex values are eyeballed from the logo PNGs; resample from the source
   files and update these vars when you have them.
   ========================================================================== */

:root {
    /* Brand palette */
    --ns-purple:        #5B1A8C;
    --ns-purple-deep:   #45136C;
    --ns-orange:        #FF4827;
    --ns-orange-dark:   #E63A1B;
    --ns-white:         #FFFFFF;
    --ns-offwhite:      #F8F5FA;
    --ns-charcoal:      #1F1A24;
    --ns-slate:         #5C5666;
    --ns-line:          #E4DEE9;

    /* Typography */
    --ns-font-heading:  "Montserrat", "Segoe UI", system-ui, sans-serif;
    --ns-font-body:     "Inter", "Segoe UI", system-ui, sans-serif;

    /* Layout */
    --ns-max-width:     1180px;
    --ns-gutter:        24px;
    --ns-radius:        6px;
    --ns-shadow:        0 2px 12px rgba(31, 26, 36, 0.08);
    --ns-shadow-hover:  0 6px 24px rgba(31, 26, 36, 0.14);
}

/* --- Reset-ish base ------------------------------------------------------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
    font-family: var(--ns-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ns-charcoal);
    background: var(--ns-offwhite);
}

a {
    color: var(--ns-purple);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .15s, color .15s;
}
a:hover { color: var(--ns-orange); border-bottom-color: var(--ns-orange); }

h1, h2, h3, h4 {
    font-family: var(--ns-font-heading);
    color: var(--ns-charcoal);
    line-height: 1.2;
    margin: 0 0 .5em;
    font-weight: 700;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1em; }

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

/* --- Layout container ---------------------------------------------------- */
.container {
    max-width: var(--ns-max-width);
    margin: 0 auto;
    padding: 0 var(--ns-gutter);
}

.section { padding: 64px 0; }
.section--dark { background: var(--ns-purple); color: var(--ns-white); }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--ns-white); }
.section--light { background: var(--ns-white); }

/* --- Site header --------------------------------------------------------- */
.site-header {
    background: var(--ns-purple);
    color: var(--ns-white);
    padding: 18px 0;
    border-bottom: 3px solid var(--ns-orange);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.site-header__brand { display: flex; align-items: center; gap: 12px; }
.site-header__brand img { height: 38px; width: auto; }
.site-header__wordmark {
    font-family: var(--ns-font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--ns-white);
    letter-spacing: .02em;
    border: none;
}
.site-header__wordmark:hover { color: var(--ns-orange); border-bottom: none; }

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 28px;
}
.site-nav a {
    color: var(--ns-white);
    font-weight: 500;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}
.site-nav a:hover,
.site-nav a.is-active {
    color: var(--ns-orange);
    border-bottom-color: var(--ns-orange);
}

/* --- Hero --------------------------------------------------------------- */
.hero {
    background: var(--ns-purple);
    color: var(--ns-white);
    padding: 96px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero h1 {
    color: var(--ns-white);
    font-size: 3rem;
    max-width: 780px;
}
.hero__sub {
    font-size: 1.15rem;
    max-width: 620px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
}

/* --- Buttons ------------------------------------------------------------ */
.btn {
    display: inline-block;
    font-family: var(--ns-font-heading);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--ns-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
    text-decoration: none;
}
.btn--primary {
    background: var(--ns-orange);
    color: var(--ns-white);
}
.btn--primary:hover {
    background: var(--ns-orange-dark);
    color: var(--ns-white);
    border-bottom: 2px solid var(--ns-orange-dark);
}
.btn--outline {
    background: transparent;
    color: var(--ns-white);
    border-color: var(--ns-white);
}
.btn--outline:hover {
    background: var(--ns-white);
    color: var(--ns-purple);
    border-bottom: 2px solid var(--ns-white);
}
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- Cards / grid ------------------------------------------------------- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 880px) {
    .grid-3 { grid-template-columns: 1fr; }
}

.card {
    background: var(--ns-white);
    border-radius: var(--ns-radius);
    padding: 28px;
    box-shadow: var(--ns-shadow);
    transition: box-shadow .2s, transform .2s;
    border-top: 4px solid var(--ns-orange);
}
.card:hover {
    box-shadow: var(--ns-shadow-hover);
    transform: translateY(-2px);
}
.card h3 { margin-top: 0; color: var(--ns-purple); }
.card p { color: var(--ns-slate); margin-bottom: 16px; }
.card__link {
    font-family: var(--ns-font-heading);
    font-weight: 600;
    color: var(--ns-orange);
    border-bottom: none;
}
.card__link::after { content: " \2192"; }

/* --- Section eyebrow / heading patterns -------------------------------- */
.eyebrow {
    font-family: var(--ns-font-heading);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .8rem;
    color: var(--ns-orange);
    font-weight: 700;
    margin-bottom: 12px;
}

.lede {
    font-size: 1.15rem;
    color: var(--ns-slate);
    max-width: 720px;
    margin-bottom: 40px;
}

/* --- Service detail prose ---------------------------------------------- */
.prose { max-width: 720px; }
.prose p { color: var(--ns-charcoal); font-size: 1.05rem; }

/* --- Footer ------------------------------------------------------------ */
.site-footer {
    background: var(--ns-purple-deep);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0;
    font-size: .9rem;
}
.site-footer a { color: var(--ns-white); }
.site-footer__row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* --- Request form ------------------------------------------------------ */
.request-form {
    max-width: 480px;
    margin: 24px 0 32px;
}
.request-form .form-field {
    margin-bottom: 20px;
}
.request-form label {
    display: block;
    font-family: var(--ns-font-heading);
    font-weight: 600;
    font-size: .9rem;
    color: var(--ns-charcoal);
    margin-bottom: 6px;
}
.request-form input[type="text"],
.request-form input[type="email"],
.request-form input:not([type]) {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--ns-line);
    border-radius: var(--ns-radius);
    font-family: var(--ns-font-body);
    font-size: 1rem;
    background: var(--ns-white);
    color: var(--ns-charcoal);
    transition: border-color .15s, box-shadow .15s;
}
.request-form input:focus {
    outline: none;
    border-color: var(--ns-purple);
    box-shadow: 0 0 0 3px rgba(91, 26, 140, 0.15);
}
.request-form .form-error {
    display: block;
    color: var(--ns-orange-dark);
    font-size: .85rem;
    margin-top: 4px;
}
/* Honeypot - off-screen but rendered. Not display:none, since some bots
   skip display:none fields. */
.form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
