/* =========================================================
   FitNS.Arc — Global Website Styles
   ========================================================= */


/* =========================================================
   1. RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #f7f7f5;
    color: #111;

    line-height: 1.6;

    overflow-x: hidden;
}

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

button,
input,
select,
textarea {
    font: inherit;
}


/* =========================================================
   2. GLOBAL CONTAINER / PAGE WIDTH
   ========================================================= */

/*
   This is the main fix for the issue you just noticed.

   Content never touches the browser edge.
   Large screens get a maximum readable width.
*/

body > section,
body > header,
body > footer {
    width: 100%;
}

body > section {
    padding-left: clamp(24px, 7vw, 100px);
    padding-right: clamp(24px, 7vw, 100px);
}


/* =========================================================
   3. HEADER
   ========================================================= */

header {
    min-height: 76px;

    padding:
        0
        clamp(24px, 7vw, 100px);

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    background: #111;
    color: #fff;

    position: relative;
    z-index: 100;

    border-bottom: 1px solid rgba(255,255,255,.08);
}


/* Logo */

header h2 {
    margin: 0;

    font-size: 21px;
    font-weight: 700;

    letter-spacing: -.5px;

    white-space: nowrap;
}


/* Navigation */

header nav {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 30px;

    flex: 1;
}

header nav a {
    color: #ddd;

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    transition:
        color .2s ease;
}

header nav a:hover {
    color: #d4a43a;
}


/* Header CTA */

header > a:last-child {
    display: inline-block;

    padding:
        10px
        17px;

    border:
        1px solid rgba(255,255,255,.5);

    border-radius: 6px;

    color: #fff;

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: .5px;

    white-space: nowrap;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}

header > a:last-child:hover {
    background: #d4a43a;
    border-color: #d4a43a;
    color: #111;
}


/* =========================================================
   4. TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4 {
    color: #111;

    font-weight: 700;

    letter-spacing: -1.5px;
}

h1 {
    font-size: clamp(48px, 8vw, 100px);
    line-height: .95;
}

h2 {
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.02;
}

h3 {
    font-size: 25px;
    line-height: 1.15;
}

p {
    margin-bottom: 15px;
}

a {
    color: #111;
}


/* =========================================================
   5. EYEBROW / SECTION LABEL
   ========================================================= */

.eyebrow {
    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2.5px;

    color: #666;

    text-transform: uppercase;
}


/* Gold accent */

.eyebrow::after {
    content: "";

    display: block;

    width: 42px;
    height: 3px;

    background: #d4a43a;

    margin-top: 10px;
}


/* =========================================================
   6. GENERIC SECTIONS
   ========================================================= */

section {
    position: relative;
}

section > p {
    max-width: 750px;
}

section > h2 {
    margin:
        15px 0 25px;
}

section > p:not(.eyebrow) {
    color: #555;

    line-height: 1.75;

    max-width: 720px;
}


/* =========================================================
   7. BUTTONS
   ========================================================= */

.primary-button,
.secondary-button,
section a[href$="apply.html"],
section a[href$="coaching.html"] {
    display: inline-block;

    padding:
        14px
        22px;

    border-radius: 7px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    transition:
        transform .2s ease,
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.primary-button {
    background: #111;
    color: #fff;
}

.primary-button:hover {
    background: #d4a43a;
    color: #111;

    transform:
        translateY(-2px);
}

.secondary-button {
    border:
        1px solid #111;

    background: transparent;

    color: #111;
}

.secondary-button:hover {
    background: #111;
    color: #fff;

    transform:
        translateY(-2px);
}


/* =========================================================
   8. HERO SECTIONS
   ========================================================= */

.home-hero,
.coaching-hero,
.tools-hero,
.application-hero {
    min-height: 65vh;

    display: flex;

    align-items: center;
}


/* Homepage */

.home-hero {
    background: #f7f7f5;
}


/* Coaching */

.coaching-hero {
    background: #f7f7f5;
}


/* Tools */

.tools-hero {
    background: #f7f7f5;
}


/* Application */

.application-hero {
    background: #111;
    color: #fff;
}


/* Application hero typography */

.application-hero h1 {
    color: #fff;
}

.application-hero p {
    color: #ccc;
}


/* =========================================================
   9. HOME PAGE — COACHING CARDS
   ========================================================= */

.home-coaching {
    padding-top: 100px;
    padding-bottom: 100px;
}

.home-program-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;

    max-width: 1200px;
}

.home-program-card {
    min-height: 360px;

    padding: 35px;

    background: #fff;

    border:
        1px solid #e9e9e7;

    border-radius: 12px;

    display: flex;
    flex-direction: column;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.home-program-card:hover {
    transform:
        translateY(-4px);

    box-shadow:
        0 15px 35px rgba(0,0,0,.08);
}

.home-program-card span {
    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;

    color: #777;
}

.home-program-card h3 {
    margin:
        18px 0;

    font-size: 30px;
}

.home-program-card p {
    color: #666;

    line-height: 1.7;
}

.home-program-card a {
    margin-top: auto;

    padding-top: 25px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;
}


/* =========================================================
   10. GENERIC PROGRAM CARDS
   ========================================================= */

.programs-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.program-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;

    max-width: 1200px;
}

.program-card {
    padding: 35px;

    background: #fff;

    border-radius: 12px;

    border:
        1px solid #e9e9e7;

    display: flex;

    flex-direction: column;

    box-shadow:
        0 8px 25px rgba(0,0,0,.05);
}

.program-card > span {
    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;

    color: #777;
}

.program-card h3 {
    margin:
        15px 0;

    font-size: 27px;
}

.program-card p {
    color: #666;

    line-height: 1.65;
}

.program-card ul {
    margin:
        15px 0 25px;

    padding-left: 20px;
}

.program-card li {
    margin-bottom: 9px;
}

.program-card a {
    margin-top: auto;

    font-weight: 700;

    text-decoration: none;

    font-size: 13px;
}


/* =========================================================
   11. TOOLS PAGE
   ========================================================= */

.tools-section {
    padding-top: 75px;
    padding-bottom: 30px;
}

.tools-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    max-width: 1200px;
}

.tool-card {
    min-height: 250px;

    padding: 30px;

    background: #fff;

    border-radius: 12px;

    border:
        1px solid #e9e9e7;

    display: flex;

    flex-direction: column;

    box-shadow:
        0 8px 25px rgba(0,0,0,.05);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.tool-card:hover {
    transform:
        translateY(-4px);

    box-shadow:
        0 14px 35px rgba(0,0,0,.09);
}

.tool-number {
    font-size: 12px;

    font-weight: 700;

    color: #777;

    letter-spacing: 1px;
}

.tool-card h3 {
    margin:
        15px 0 10px;

    font-size: 21px;
}

.tool-card p {
    color: #666;

    line-height: 1.6;
}

.tool-card a {
    margin-top: auto;

    padding-top: 20px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;
}


/* =========================================================
   12. TOOLS CTA
   ========================================================= */

.tools-cta,
.coaching-cta,
.home-knowledge,
.home-contact {
    background: #f0f0ed;

    border-radius: 15px;

    margin-top: 80px;
    margin-bottom: 80px;
}

.tools-cta,
.coaching-cta {
    padding:
        80px 30px;

    text-align: center;
}

.tools-cta h2,
.coaching-cta h2 {
    margin:
        15px 0 20px;
}

.tools-cta p,
.coaching-cta p {
    max-width: 650px;

    margin:
        0 auto 20px;

    color: #666;

    line-height: 1.7;
}


/* =========================================================
   13. HOME TOOLS TEASER
   ========================================================= */

.home-tools {
    margin:
        40px 0;

    padding:
        70px 55px;

    background: #f0f0ed;

    border-radius: 15px;

    display: grid;

    grid-template-columns:
        1.3fr 1fr;

    gap: 60px;

    align-items: center;
}

.home-tools h2 {
    margin:
        12px 0 18px;
}

.tools-highlights {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 12px;
}

.tools-highlights div {
    padding: 25px;

    background: #fff;

    border-radius: 9px;
}

.tools-highlights strong {
    display: block;

    font-size: 20px;

    margin-bottom: 6px;
}

.tools-highlights span {
    color: #777;

    font-size: 13px;
}


/* =========================================================
   14. HOW IT WORKS
   ========================================================= */

.how-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.steps {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 25px;

    margin-top: 45px;
}

.steps > div {
    border-top:
        2px solid #111;

    padding-top: 20px;
}

.steps span {
    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;

    color: #777;
}

.steps h3 {
    margin:
        10px 0;

    font-size: 22px;
}

.steps p {
    color: #666;

    line-height: 1.6;
}


/* =========================================================
   15. ABOUT
   ========================================================= */

.home-about {
    padding:
        110px 0;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;
}

.about-heading h2 {
    margin-top: 15px;
}

.about-content p {
    color: #555;

    line-height: 1.8;

    margin-bottom: 22px;
}


/* =========================================================
   16. KNOWLEDGE
   ========================================================= */

.home-knowledge {
    padding:
        80px 55px;
}

.home-knowledge h2 {
    margin:
        12px 0 20px;
}


/* =========================================================
   17. APPLICATION FORM
   ========================================================= */

.application-area {
    padding-top: 70px;
    padding-bottom: 70px;

    background: #f3f3f1;
}

.application-card {
    width: 100%;

    max-width: 1100px;

    margin: 0 auto;

    padding: 45px;

    background: #fff;

    border-radius: 14px;

    box-shadow:
        0 10px 40px rgba(0,0,0,.08);
}

.application-card h2 {
    margin-bottom: 35px;

    font-size: 38px;
}

.application-form {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 25px;
}

.form-field {
    display: flex;

    flex-direction: column;
}

.form-field.full {
    grid-column:
        1 / -1;
}

.form-field label {
    margin-bottom: 8px;

    font-size: 14px;

    font-weight: 700;
}

.form-field label span {
    color: #c33;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;

    padding: 15px;

    border:
        1px solid #d8d8d8;

    border-radius: 7px;

    background: #fff;

    color: #111;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #111;

    box-shadow:
        0 0 0 2px rgba(212,164,58,.15);
}

.form-field textarea {
    min-height: 140px;

    resize: vertical;
}

.submit-area {
    grid-column:
        1 / -1;

    text-align: center;

    margin-top: 10px;
}

.submit-button {
    width:
        min(500px, 100%);

    padding:
        17px 30px;

    border: none;

    border-radius: 7px;

    background: #111;

    color: #fff;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 1px;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease;
}

.submit-button:hover {
    background: #d4a43a;

    color: #111;
}

.submit-button:disabled {
    opacity: .6;

    cursor: not-allowed;
}

.privacy-note {
    margin-top: 14px;

    color: #888;

    font-size: 13px;
}


/* =========================================================
   18. CALCULATOR PAGES
   ========================================================= */

.calculator-container,
.calculator-card,
.calculator-section {
    max-width: 850px;

    margin-left: auto;
    margin-right: auto;
}

.calculator-container,
.calculator-section {
    padding-top: 70px;
    padding-bottom: 70px;
}

.calculator-card {
    padding: 35px;

    background: #fff;

    border-radius: 12px;

    box-shadow:
        0 8px 30px rgba(0,0,0,.06);
}

.calculator-card h2 {
    margin-bottom: 25px;
}

.calculator-card label {
    display: block;

    margin-bottom: 7px;

    font-size: 14px;

    font-weight: 700;
}

.calculator-card input,
.calculator-card select {
    width: 100%;

    padding: 13px 15px;

    border:
        1px solid #d8d8d8;

    border-radius: 7px;

    background: #fff;

    outline: none;
}

.calculator-card input:focus,
.calculator-card select:focus {
    border-color: #111;

    box-shadow:
        0 0 0 2px rgba(212,164,58,.15);
}

.calculator-button {
    display: inline-block;

    margin-top: 20px;

    padding:
        14px 22px;

    border: none;

    border-radius: 7px;

    background: #111;

    color: #fff;

    font-weight: 700;

    cursor: pointer;
}

.calculator-button:hover {
    background: #d4a43a;

    color: #111;
}

.result,
.results,
.result-box {
    margin-top: 25px;

    padding: 25px;

    background: #f0f0ed;

    border-radius: 10px;
}

.result h3,
.results h3,
.result-box h3 {
    margin-bottom: 10px;
}


/* =========================================================
   19. TABLES
   ========================================================= */

table {
    width: 100%;

    border-collapse: collapse;

    margin-top: 25px;

    background: #fff;
}

th,
td {
    padding: 12px 15px;

    text-align: left;

    border-bottom:
        1px solid #e5e5e5;
}

th {
    background: #111;

    color: #fff;

    font-size: 13px;
}

td {
    font-size: 14px;
}


/* =========================================================
   20. FOOTER
   ========================================================= */

footer {
    margin-top: 80px;

    padding-top: 50px;
    padding-bottom: 25px;

    background: #111;

    color: #fff;
}

footer h3 {
    color: #fff;

    margin-bottom: 8px;
}

footer p {
    color: #888;
}

.footer-main {
    display: flex;

    justify-content:
        space-between;

    gap: 40px;

    padding-bottom: 35px;

    border-bottom:
        1px solid #333;
}

.footer-contact {
    display: flex;

    flex-direction: column;

    gap: 8px;

    text-align: right;
}

.footer-contact span {
    color: #777;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;
}

.footer-contact a {
    color: #fff;

    text-decoration: none;

    transition:
        color .2s ease;
}

.footer-contact a:hover {
    color: #d4a43a;
}

.footer-bottom {
    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 20px;

    padding-top: 20px;
}

.footer-bottom p {
    margin: 0;

    color: #777;

    font-size: 13px;
}

.footer-bottom div {
    display: flex;

    gap: 20px;
}

.footer-bottom a {
    color: #777;

    font-size: 13px;

    text-decoration: none;
}

.footer-bottom a:hover {
    color: #fff;
}


/* =========================================================
   21. CONTACT
   ========================================================= */

.home-contact {
    padding:
        70px 30px;

    text-align: center;
}

.home-contact h2 {
    margin:
        12px 0 15px;
}

.home-contact > p:not(.eyebrow) {
    max-width: 650px;

    margin:
        0 auto 25px;

    color: #666;

    line-height: 1.7;
}

.contact-email {
    display: inline-block;

    color: #111;

    font-size: 18px;

    font-weight: 700;

    text-decoration: none;

    border-bottom:
        2px solid #d4a43a;

    padding-bottom: 4px;
}

.contact-email:hover {
    color: #8f6d18;
}


/* =========================================================
   22. GENERIC LISTS
   ========================================================= */

section ul {
    line-height: 1.7;
}

section li {
    margin-bottom: 7px;
}


/* =========================================================
   23. MOBILE — TABLET
   ========================================================= */

@media (max-width: 850px) {

    header {
        min-height: auto;

        padding-top: 18px;
        padding-bottom: 18px;

        flex-wrap: wrap;
    }

    header nav {
        order: 3;

        flex-basis: 100%;

        gap: 20px;

        justify-content: center;
    }

    .home-program-grid,
    .program-grid {
        grid-template-columns: 1fr;
    }

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

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

    .home-tools {
        grid-template-columns: 1fr;

        padding:
            50px 30px;
    }

    .home-about {
        grid-template-columns: 1fr;

        gap: 40px;
    }

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

    .form-field.full,
    .submit-area {
        grid-column: auto;
    }

    .footer-main {
        flex-direction: column;
    }

    .footer-contact {
        text-align: left;
    }

}


/* =========================================================
   24. MOBILE — PHONE
   ========================================================= */

@media (max-width: 550px) {

    body > section,
    body > footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    header {
        padding-left: 20px;
        padding-right: 20px;

        gap: 15px;
    }

    header h2 {
        font-size: 19px;
    }

    header nav {
        gap: 14px;

        flex-wrap: wrap;
    }

    header nav a {
        font-size: 12px;
    }

    header > a:last-child {
        padding:
            8px 12px;

        font-size: 10px;
    }

    h1 {
        font-size: 52px;
    }

    h2 {
        font-size: 38px;
    }

    .home-hero,
    .coaching-hero,
    .tools-hero,
    .application-hero {
        min-height: auto;

        padding-top: 70px;
        padding-bottom: 70px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .tools-highlights {
        grid-template-columns: 1fr;
    }

    .home-tools {
        padding:
            45px 25px;
    }

    .home-knowledge,
    .home-contact {
        padding:
            55px 25px;
    }

    .application-card {
        padding:
            28px 20px;
    }

    .application-card h2 {
        font-size: 30px;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;
    }

    .footer-bottom div {
        flex-wrap: wrap;
    }

}


/* =========================================================
   25. ACCESSIBILITY
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline:
        3px solid #d4a43a;

    outline-offset:
        3px;
}


/* =========================================================
   END
   ========================================================= */
