/* RESET & BASE ----------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd,
q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd,
ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead,
tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer,
header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
    box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1.5;
    font-family: 'Roboto', Arial, sans-serif;
    background: #FAFAF8;
    color: #264653;
    min-height: 100vh;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img {
    max-width: 100%;
    vertical-align: middle;
    height: auto;
}
ul, ol {
    padding-left: 22px;
    margin-bottom: 16px;
}
a {
    color: #264653;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover, a:focus {
    color: #E9C46A;
    outline: none;
}

/* TYPOGRAPHY --------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #1C2321;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
}
h1 {
    font-size: 2.25rem;
    margin-bottom: 20px;
}
h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}
h3 {
    font-size: 1.16rem;
    margin-bottom: 12px;
}
.subtitle {
    font-size: 1.12rem;
    color: #637074;
    margin-bottom: 32px;
}
p, li, blockquote {
    font-size: 1rem;
    color: #42525C;
    margin-bottom: 12px;
}
blockquote {
    font-style: italic;
    border-left: 4px solid #E9C46A;
    background: #f5f5f4;
    padding: 14px 24px;
    border-radius: 8px;
    margin: 20px 0;
}
strong {
    font-weight: 700;
}

/* CONTAINER SYSTEM --------------------------------------------------------- */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* HEADER / NAV ------------------------------------------------------------- */
header {
    background: #FFFFFF;
    box-shadow: 0 2px 10px 0 rgba(38, 70, 83, 0.06);
    position: sticky;
    top: 0;
    z-index: 30;
}
header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 30px;
}
.logo {
    display: flex;
    align-items: center;
}
.logo img {
    height: 40px;
}
nav {
    display: flex;
    gap: 24px;
    align-items: center;
}
nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    padding: 8px 4px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}
nav a:hover, nav a:focus {
    background: #E9C46A33;
    color: #264653;
}
.cta-btn {
    background: #264653;
    color: #fff;
    border-radius: 23px;
    padding: 12px 28px;
    font-size: 1rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: none;
    transition: background 0.24s, box-shadow .24s;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(38,70,83,.07);
    margin-left: 10px;
    display: inline-block;
    text-align: center;
    outline: none;
}
.cta-btn:hover, .cta-btn:focus {
    background: #1C2321;
    color: #E9C46A;
    box-shadow: 0 6px 22px rgba(38,70,83,.11);
}

/* MOBILE NAVIGATION -------------------------------------------------------- */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 110;
    background: #264653;
    color: #fff;
    border: none;
    border-radius: 10px;
    width: 48px;
    height: 48px;
    font-size: 2rem;
    align-items: center;
    justify-content: center;
    transition: background 0.18s;
    box-shadow: 0 2px 12px rgba(38,70,83,0.06);
    cursor: pointer;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
    background: #E9C46A;
    color: #264653;
}
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #FFFFFF;
    z-index: 9999;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    transition: transform 0.35s cubic-bezier(.77,0,.18,1), opacity 0.3s;
    box-shadow: 0 0 44px rgba(38,70,83,0.12);
    will-change: transform,opacity;
    overflow-y: auto;
}
.mobile-menu.active {
    display: flex;
    transform: translateX(0);
    opacity: 1;
}
.mobile-menu:not(.active) {
    transform: translateX(-110vw);
    opacity: 0;
}
.mobile-menu-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #264653;
    align-self: flex-end;
    margin: 22px 24px 12px 0;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10001;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
    color: #E9C46A;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
    align-items: flex-start;
    padding: 30px 30px 50px 38px;
}
.mobile-nav a {
    font-size: 1.22rem;
    color: #1C2321;
    padding: 10px 0;
    width: 100%;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    display: block;
}
.mobile-nav a:focus, .mobile-nav a:hover {
    background: #E9C46A33;
    color: #264653;
}
@media (max-width: 1024px) {
    nav {
        display: none;
    }
    .cta-btn {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
}
@media (max-width: 1024px) {
    header .container { gap: 0; }
}

/* MAIN & SECTIONS ---------------------------------------------------------- */
main {
    width: 100%;
    overflow-x: hidden;
}
section {
    background: none;
    border-radius: 0;
    margin-bottom: 60px;
    padding: 40px 0 40px 0;
}
section:last-child {
    margin-bottom: 0;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 12px;
    text-align: center;
}
.text-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 1rem;
}
.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .text-image-section, .content-wrapper {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    section {
        padding: 32px 0 32px 0;
    }
}

/* CARDS & LISTS ------------------------------------------------------------ */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(38, 70, 83, 0.11);
    padding: 28px 24px;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.articles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}
.articles-grid article {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(38, 70, 83, 0.09);
    padding: 22px 20px;
    flex: 1 1 300px;
    min-width: 220px;
    max-width: 100%;
    margin-bottom: 20px;
    transition: box-shadow 0.23s;
}
.articles-grid article:hover,
.articles-grid article:focus-within {
    box-shadow: 0 8px 22px rgba(38,70,83,.16);
}

/* FEATURE & PRODUCT GRIDS -------------------------------------------------- */
.feature-grid, .feature-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.feature-grid > div, .feature-highlights > div {
    background: #fff;
    padding: 22px 18px;
    border-radius: 10px;
    flex: 1 1 220px;
    min-width: 200px;
    box-shadow: 0 1px 5px rgba(38,70,83,0.07);
    margin-bottom: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
    border: 1px solid #f2f2ee;
}
.feature-grid img {
    height: 38px;
    width: 38px;
}

.product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-start;
    margin-bottom: 12px;
}
.product-categories li {
    background: #fff;
    border-radius: 10px;
    padding: 16px 16px 16px 12px;
    font-size: 1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 1px 6px rgba(38,70,83,.08);
    min-width: 200px;
}
.product-categories img {
    height: 32px;
    width: 32px;
}

.usp-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 8px;
}
.usp-list li {
    background: #F3F5F2;
    border-radius: 9px;
    padding: 13px 22px 13px 12px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 170px;
    color: #264653;
}
.usp-list img {
    height: 26px;
    width: 26px;
}

/* SERVICES & TEAM ---------------------------------------------------------- */
.service-cards, .team-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 12px;
}
.service-cards > div, .team-member {
    flex: 1 1 230px;
    min-width: 220px;
    padding: 20px 18px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 8px rgba(38,70,83,0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    margin-bottom: 20px;
    border: 1px solid #F3F5F2;
    transition: box-shadow .19s;
}
.service-cards > div:hover, .team-member:hover {
    box-shadow: 0 7px 18px rgba(38,70,83,.14);
}
.service-cards span, .service-list span {
    color: #E9C46A;
    font-weight: 600;
    font-size: 1rem;
    background: #FFF5DC;
    border-radius: 5px;
    padding: 2px 7px;
    margin-top: 3px;
    display: inline-block;
}
.team-member h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.service-list, .service-benefits {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}
.service-list li, .service-benefits li {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 7px rgba(38,70,83,0.07);
    padding: 18px 14px;
    min-width: 200px;
    flex: 1 1 220px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    border: 1px solid #F8F8F3;
}
.service-benefits img, .service-list img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* TESTIMONIALS ------------------------------------------------------------- */
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #FFF;
    border-radius: 11px;
    box-shadow: 0 3px 17px rgba(38,70,83,0.09);
    padding: 22px 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    border-left: 6px solid #E9C46A;
    position: relative;
    max-width: 650px;
}
.testimonial-card p {
    color: #264653;
    font-size: 1.07rem;
    font-style: italic;
    margin-bottom: 0;
}
.testimonial-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.testimonial-details span {
    color: #8C9079;
    font-size: .97rem;
}

@media (max-width: 900px) {
    .card-container, .feature-grid, .feature-highlights,
    .service-cards, .team-list,
    .service-list, .service-benefits, .product-categories,
    .articles-grid {
        flex-direction: column;
        gap: 18px;
    }
    .testimonial-card { max-width: 100%; }
}
@media (max-width: 600px) {
    .service-cards > div, .team-member, .feature-grid > div,
    .feature-highlights > div, .service-list li,
    .service-benefits li {
        min-width: 0;
        width: 100%;
        padding: 15px 9px;
    }
}

/* CONTACT DETAILS ---------------------------------------------------------- */
.contact-details ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}
.contact-details li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #264653;
}
.contact-details img {
    width: 20px;
    height: 20px;
}
.map {
    background: #F8F8F3;
    border-radius: 7px;
    padding: 18px;
    margin-left: 20px;
    margin-top: 5px;
    min-width: 210px;
}
@media (max-width: 768px) {
    .text-section, .contact-details ul {
        gap: 13px;
    }
    .contact-details, .map {
        margin-left: 0;
        margin-top: 0;
        min-width: 0;
        padding: 13px;
    }
    .map {
        margin-bottom: 20px;
    }
}

/* FOOTER ------------------------------------------------------------------- */
footer {
    background: #fff;
    border-top: 1px solid #efefec;
    box-shadow: 0 -2px 14px rgba(38,70,83,0.04);
    font-size: .98rem;
    color: #264653;
}
footer .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 32px 20px;
    gap: 30px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.18rem;
    letter-spacing: 0.02em;
}
.footer-brand img {
    width: 34px;
    height: 34px;
}
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.footer-nav a {
    color: #264653;
    padding: 2px 0;
    font-size: 1rem;
    transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
    color: #E9C46A;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: .96rem;
    color: #4A5153;
    line-height: 1.35;
}
@media (max-width: 900px) {
    footer .container {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 23px;
        padding: 24px 13px;
    }
}

/* BUTTONS ------------------------------------------------------------------ */
button, input[type=submit], .cta-btn {
    font-family: 'Montserrat', Arial, sans-serif;
    outline: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.18s;
}
button:focus-visible, .cta-btn:focus-visible {
    outline: 2px solid #E9C46A;
    outline-offset: 2px;
}

/* SECTIONS SPACING (MANDATORY) ---------------------------------------------- */
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
}
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    margin-bottom: 20px;
    position: relative;
}
.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* SPACING & FLEXBOX GAPS --------------------------------------------------- */
.container > * {
    margin-bottom: 20px;
}
.container > *:last-child {
    margin-bottom: 0;
}

/* CUSTOM SCANDINAVIAN SHADOWS & RADIUS ------------------------------------- */
:root {
  --prism-primary: #264653;
  --prism-secondary: #E9C46A;
  --prism-accent: #FFFFFF;
  --prism-bg: #FAFAF8;
  --prism-border: #ECECEC;
  --prism-radius: 12px;
  --prism-shadow-sm: 0 2px 8px rgba(44,74,62,0.07);
}

/* MICRO-INTERACTIONS ------------------------------------------------------- */
.card, .service-cards > div, .team-member, .feature-grid > div {
    transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .service-cards > div:hover, .team-member:hover, .feature-grid > div:hover {
    box-shadow: 0 8px 26px rgba(38,70,83,0.18);
    transform: translateY(-2px) scale(1.02);
}
.cta-btn {
    transition: background 0.16s, color 0.16s, box-shadow .19s;
}
.cta-btn:hover {
    background: #E9C46A;
    color: #264653;
    box-shadow: 0 8px 26px rgba(233,196,106,0.17);
}

/* SCROLLBAR (OPTIONAL) ----------------------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
  background: #F2F2F0;
}
::-webkit-scrollbar-thumb {
  background: #E9C46A44;
  border-radius: 7px;
}

/* RESPONSIVENESS ----------------------------------------------------------- */
@media (max-width: 900px) {
    main, .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    section, .section {
        padding: 28px 0;
    }
}
@media (max-width: 600px) {
    .feature-grid > div, .feature-highlights > div,
    .product-categories li, .usp-list li, .service-benefits li, .service-list li {
        min-width: unset;
        width: 100%;
    }
    section, .section {
        padding: 18px 0;
        margin-bottom: 38px;
    }
    .testimonial-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 10px;
    }
    .content-wrapper {
        padding-left: 2px;
        padding-right: 2px;
    }
}

/* COOKIE CONSENT BANNER ---------------------------------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background: #fff;
    box-shadow: 0 -4px 18px rgba(38,70,83,0.09);
    border-top: 1px solid #E9C46A44;
    z-index: 13000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 28px;
    font-size: 1rem;
    transition: transform 0.34s, opacity 0.2s;
    opacity: 1;
}
.cookie-banner.hide {
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
}
.cookie-banner span {
    color: #264653;
    font-size: 1rem;
}
.cookie-banner-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.cookie-banner button {
    font-family: 'Montserrat', Arial, sans-serif;
    outline: none;
    border: none;
    border-radius: 7px;
    padding: 10px 23px;
    font-size: 1rem;
    margin: 0 2px;
    cursor: pointer;
    transition: background 0.17s, color 0.14s;
}
.cookie-accept {
    background: #E9C46A;
    color: #264653;
    font-weight: 700;
}
.cookie-accept:hover, .cookie-accept:focus {
    background: #DDB75C;
}
.cookie-reject {
    background: #FAFAF8;
    color: #264653;
    border: 1px solid #c2c2bb;
}
.cookie-reject:hover, .cookie-reject:focus {
    background: #f4f4e9;
}
.cookie-settings {
    background: #fff;
    color: #264653;
    border: 1px solid #E9C46A;
}
.cookie-settings:hover, .cookie-settings:focus {
    background: #FAF5E3;
}
@media (max-width: 700px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 13px 7px;
        font-size: .98rem;
        gap: 13px;
    }
    .cookie-banner-buttons {
        width: 100%;
        gap: 9px;
    }
}

/* COOKIE PREFERENCES MODAL ------------------------------------------------- */
.cookie-modal {
    position: fixed;
    top: 0; left: 0; right:0; bottom:0;
    width: 100vw;
    height: 100vh;
    background: rgba(38,70,83,0.12);
    z-index: 16000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity .22s;
}
.cookie-modal.hide {
    opacity: 0;
    pointer-events: none;
}
.cookie-modal-content {
    background: #FFF;
    border-radius: 15px;
    padding: 32px 28px 23px 28px;
    box-shadow: 0 6px 34px rgba(38,70,83,.21);
    min-width: 320px;
    max-width: 420px;
    width: 90vw;
    color: #264653;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    position: relative;
}
.cookie-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #264653;
    position: absolute;
    top: 13px;
    right: 17px;
    cursor: pointer;
    border-radius: 5px;
    transition: background .13s, color .16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
    background: #E9C46A22;
    color: #1C2321;
}
.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-bottom: 10px;
}
.cookie-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 0;
    font-size: 1rem;
}
.cookie-category label {
    font-weight: 500;
    color: #264653;
}
.cookie-category input[type=checkbox] {
    width: 23px;
    height: 23px;
    accent-color: #E9C46A;
}
.cookie-category.essential label {
    color: #BBB8A6;
}
.cookie-category.essential input {
    accent-color: #BBB8A6;
}
.cookie-save-btn {
    background: #264653;
    color: #fff;
    border-radius: 7px;
    padding: 11px 23px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    outline: none;
    border: none;
    margin-top: 12px;
    align-self: flex-end;
    font-weight: 700;
    transition: background .15s, color .12s;
}
.cookie-save-btn:hover, .cookie-save-btn:focus {
    background: #E9C46A;
    color: #264653;
}

/* HIDE ELEMENTS ------------------------------------------------------------ */
.hide, .is-hidden { display: none !important; }

/* UTILS -------------------------------------------------------------------- */
.flex { display: flex; }
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-between { justify-content: space-between; }
.flex-center { align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
.gap-20 { gap: 20px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* PRINT (OPTIONAL) --------------------------------------------------------- */
@media print {
    header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
    section, main, body, html { background: #fff !important; color: #222 !important; }
}

/* END ---------------------------------------------------------------------- */
