/* =========================================================
   NORDIC-INSPIRED TYPOGRAPHY & LAYOUT
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 18px;
}

body {
    /* font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
     */
     font-family: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: #1f2933;
    background: #fbfbfc;
}

/* =========================================================
     CONTAINER
  ========================================================= */

.container {
    max-width: 1080px;
    margin: auto;
    padding: 0 22px;
}

/* =========================================================
     HEADER (SUBTLE COLOR)
  ========================================================= */

header {
    background: #f4f6f8;
    /* soft nordic grey */
    border-bottom: 1px solid #e1e6eb;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    font-size: 1.7rem;
    font-weight: 700;
    color: #e96b1c;
    letter-spacing: -0.3px;
}

nav a {
    margin-left: 24px;
    text-decoration: none;
    color: #1f2933;
    font-size: 1rem;
    font-weight: 500;
    padding-bottom: 4px;
}

nav a:hover {
    color: #e96b1c;
}

/* =========================================================
     HERO
  ========================================================= */

.hero {
    padding: 96px 0;
    text-align: center;
    background: #ffffff;
}

.hero h1 {
    font-size: 2.9rem;
    font-weight: 700;
    color: #e96b1c;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.15rem;
    max-width: 760px;
    margin: auto;
    color: #4a5568;
}

/* =========================================================
     SECTION BLOCKS + SEPARATORS
  ========================================================= */

.section {
    padding: 80px 0;
    position: relative;
}

.section.light {
    background: #f7f8fa;
}

.section::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: #e1e6eb;
    margin-top: 60px;
}

/* remove separator for last section */
.section:last-of-type::after {
    display: none;
}

h2 {
    font-size: 2.1rem;
    font-weight: 600;
    margin-bottom: 22px;
    color: #e96b1c;
    letter-spacing: -0.4px;
}

p,
li {
    font-size: 1.08rem;
    color: #2d3748;
    margin-bottom: 12px;
}

/* =========================================================
     SERVICES (CLEAN LIST)
  ========================================================= */

.services {
    list-style: none;
    padding-left: 0;
}

.services li {
    padding-left: 22px;
    position: relative;
}

.services li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #e96b1c;
}

@media (min-width: 768px) {
    .services {
        columns: 2;
        column-gap: 60px;
    }
}

/* =========================================================
     CONTACT
  ========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

form input,
form textarea {
    width: 100%;
    padding: 14px 14px;
    font-size: 1.05rem;
    margin-bottom: 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
}

form textarea {
    min-height: 130px;
}

form button {
    background: #e96b1c;
    color: #ffffff;
    border: none;
    padding: 15px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
}

form button:hover {
    background: #d35a17;
}

.consent {
    font-size: 0.95rem;
    color: #4a5568;
    margin-bottom: 10px;
}

/* =========================================================
     MAP
  ========================================================= */

.map iframe {
    width: 100%;
    height: 340px;
    border-radius: 8px;
    margin-top: 28px;
    border: none;
}

/* =========================================================
     FOOTER (SUBTLE, NOT BLACK)
  ========================================================= */

footer {
    background: #2b2f36;
    /* nordic charcoal */
    color: #e5e7eb;
    padding: 28px 0;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

footer a {
    color: #e5e7eb;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;
}

footer a:hover {
    color: #e96b1c;
}

/* =========================================================
   MOBILE FOOTER NAV IMPROVEMENT
========================================================= */

@media (max-width: 768px) {

    .footer-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-flex div {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    footer a {
        margin-left: 0;
        font-size: 1rem;
    }

}


/* =========================================================
     RESPONSIVE TUNING
  ========================================================= */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.4rem;
    }
}



/* =========================================================
   STICKY HEADER (ALL DEVICES)
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* =========================================================
     MOBILE NAV UX FIX
  ========================================================= */

@media (max-width: 768px) {

    body {
        font-size: 16px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    h2 {
        font-size: 1.6rem;
    }

    p,
    li {
        font-size: 1rem;
        line-height: 1.65;
    }

    .header-flex {
        flex-direction: column;
        justify-content: center;
        height: auto;
        padding: 12px 0;
    }

    .logo {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .main-nav {
        display: flex;
        justify-content: center;
        gap: 18px;
        width: 100%;
        padding: 10px 0;
        border-top: 1px solid #e1e6eb;
    }

    .main-nav a {
        font-size: 1rem;
        padding: 10px 6px;
    }


    /* Global container padding */
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    /* Header spacing */
    .site-header {
        padding-top: 4px;
        padding-bottom: 4px;
    }

    /* Hero spacing */
    .hero {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .hero p {
        margin-top: 10px;
    }

    /* Section spacing */
    .section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .section.light {
        padding-top: 46px;
        padding-bottom: 46px;
    }

    /* Section headings */
    h2 {
        margin-bottom: 14px;
    }

    /* Paragraph rhythm */
    p {
        margin-bottom: 12px;
    }

    /* Lists */
    li {
        margin-bottom: 10px;
    }

    /* Services list spacing */
    .services li {
        margin-bottom: 12px;
    }

    /* Contact grid spacing */
    .contact-grid {
        gap: 28px;
    }

    /* Form spacing */
    form input,
    form textarea {
        margin-bottom: 12px;
    }

    form button {
        margin-top: 6px;
    }

    /* Map spacing */
    .map iframe {
        margin-top: 22px;
        height: 300px;
    }

    /* Footer spacing */
    footer {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .footer-flex {
        gap: 14px;
    }

}

/* Offset anchor scroll for sticky header */
section {
    scroll-margin-top: 120px;
}