
/* ==========================================
   IVA-UK.ONLINE
   Main Website Stylesheet
   ========================================== */


/* ==========================================
   1. GLOBAL COLOURS AND VARIABLES
   ========================================== */

:root {
    --teal: #087f80;
    --dark: #111827;
    --pale: #effaf8;
    --line: #d4e9e6;
}


/* ==========================================
   2. GLOBAL WEBSITE SETTINGS
   ========================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    font: 17px/1.65 system-ui, Arial, sans-serif;
    color: var(--dark);
}

a {
    color: #075e60;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid #c07822;
    outline-offset: 4px;
}

.wrap,
.navwrap {
    max-width: 1280px;
    margin: auto;
    padding-inline: 28px;
}


/* ==========================================
   3. HEADER AND NAVIGATION
   ========================================== */

header {
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 2px solid var(--teal);
    z-index: 5;
}

.navwrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
}


/* ==========================================
   4. WEBSITE LOGO
   ========================================== */

.logo {
    font-size: 30px;
    font-weight: 850;
    text-decoration: none;
    color: var(--dark);
    white-space: nowrap;
}

.logo span {
    color: var(--teal);
}


/* ==========================================
   5. NAVIGATION MENU
   ========================================== */

nav {
    display: flex;
    gap: 28px;
}

summary {
    cursor: pointer;
    font-weight: 600;
}

nav details {
    position: relative;
}


/* ==========================================
   6. DROPDOWN NAVIGATION MENUS
   ========================================== */

nav details div {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: white;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 12px 28px #14233418;
}

nav a {
    display: block;
    padding: 9px;
    text-decoration: none;
}

nav a:hover {
    background: var(--pale);
}


/* ==========================================
   7. CALL TO ACTION BUTTONS
   ========================================== */

.btn {
    display: inline-block;
    background: var(--teal);
    color: white;
    text-decoration: none;
    font-weight: 750;
    padding: 13px 22px;
    border-radius: 7px;
    border: 1px solid var(--teal);
}

.btn:hover {
    background: #075e60;
}

.outline {
    background: white;
    color: #075e60;
}

.outline:hover {
    background: var(--pale);
}


/* ==========================================
   8. HOMEPAGE HERO SECTION
   ========================================== */

.hero {
    background: linear-gradient(var(--pale), white);
    padding: 78px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 65px;
    align-items: center;
}

.eyebrow {
    font-size: 13px;
    letter-spacing: 1.5px;
    font-weight: 850;
    color: #075e60;
}


/* ==========================================
   9. HEADINGS AND TYPOGRAPHY
   ========================================== */

h1 {
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.08;
    letter-spacing: -2px;
    margin: 18px 0 24px;
}

h2 {
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.2;
}

h3 {
    line-height: 1.3;
}

.intro {
    font-size: 21px;
    max-width: 740px;
}

.small {
    font-size: 14px;
    color: #475569;
}


/* ==========================================
   10. HERO ACTION BUTTONS
   ========================================== */

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}


/* ==========================================
   11. INFORMATION PANELS AND CARDS
   ========================================== */

.panel,
.cards article {
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 30px;
}

.panel {
    box-shadow: 0 20px 55px #123e3d12;
}

.panel h2 {
    font-size: 28px;
}


/* ==========================================
   12. ELIGIBILITY CHECKLISTS
   ========================================== */

.ticks {
    list-style: none;
    padding: 0;
}

.ticks li {
    padding: 10px 0;
}

.ticks li:before {
    content: '✓';
    color: var(--teal);
    font-weight: bold;
    margin-right: 10px;
}


/* ==========================================
   13. TRUST AND INFORMATION BAR
   ========================================== */

.trust {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-block: 25px;
    border-bottom: 1px solid var(--line);
    font-weight: 650;
    color: #075e60;
}


/* ==========================================
   14. GENERAL CONTENT SECTIONS
   ========================================== */

.section {
    padding-block: 45px;
}


/* ==========================================
   15. DEBT SOLUTION CARDS
   ========================================== */

.cards {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}


/* ==========================================
   16. FREQUENTLY ASKED QUESTIONS
   ========================================== */

.section details {
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
}


/* ==========================================
   17. WEBSITE FOOTER
   ========================================== */

footer {
    background: #142334;
    color: white;
    padding: 35px 0;
}


/* ==========================================
   18. MOBILE MENU BUTTON
   ========================================== */

.menu {
    display: none;
}


/* ==========================================
   19. ACCESSIBILITY
   ========================================== */

.skip {
    position: absolute;
    left: -9999px;
}

.skip:focus {
    left: 10px;
    top: 10px;
    background: white;
    z-index: 10;
}


/* ==========================================
   20. MOBILE AND TABLET RESPONSIVENESS
   ========================================== */

@media (max-width: 900px) {

    .navwrap {
        flex-wrap: wrap;
        gap: 12px;
        padding-block: 12px;
    }

    .menu {
        display: block;
        background: white;
        border: 1px solid var(--line);
        padding: 8px;
    }

    .topcta {
        display: none;
    }

    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    nav.open {
        display: flex;
    }

    nav details div {
        position: static;
        box-shadow: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero {
        padding: 45px 0;
    }

    .trust {
        flex-direction: column;
        gap: 8px;
    }

    .wrap,
    .navwrap {
        padding-inline: 20px;
    }

}


/* ==========================================
   END OF STYLESHEET
   ========================================== */
