/*----------------------------*
  CSS RESET & NORMALIZER
*------------------------------*/
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%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
html {
    height: 100%;
    scroll-behavior: smooth;
}
body {
    min-height: 100vh;
    background: #FFFDF9;
    color: #232B3E;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
ul, ol {
    list-style: inside disc;
    margin-left: 1em;
}
img, picture {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
a {
    color: #FCA73A;
    text-decoration: none;
    transition: color 0.18s ease;
}
a:hover, a:focus {
    color: #CA7A15;
    text-decoration: underline;
    outline: none;
}
button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    outline: 0;
}
button {
    cursor: pointer;
}

/*----------------------------*
  BRAND COLORS & FONTS
*------------------------------*/
:root {
    --color-primary: #232B3E;
    --color-secondary: #FCD264;
    --color-accent: #E2E8F4;
    --color-warm-orange: #FCA73A;
    --color-warm-orange-dark: #CA7A15;
    --color-warm-red: #F95D5B;
    --color-white: #FFFDF9;
    --color-grey: #F6F2EB;
    --color-grey-dark: #DAD2C0;
    --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
    --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 8px;
    --shadow-main: 0 2px 16px 0 rgba(220, 152, 69, 0.12);
    --shadow-card: 0 2px 8px 0 rgba(210, 150, 62, 0.10);
}

body {
    background: var(--color-white);
    color: var(--color-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.01em;
}
h1 {
    font-size: 2.3rem;
    margin-bottom: 16px;
}
h2 {
    font-size: 1.7rem;
    margin-bottom: 16px;
}
h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
h4, h5, h6 {
    font-size: 1rem;
}
@media (min-width: 600px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.1rem; }
    h3 { font-size: 1.4rem; }
}

p, ul, ol {
    margin-bottom: 16px;
    color: #34395A;
}
strong, b {
    color: var(--color-warm-orange);
    font-weight: bold;
}

/*----------------------------*
  LAYOUT CONTAINER
*------------------------------*/
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

/*----------------------------*
  HEADER, NAVIGATION & LOGO
*------------------------------*/
header {
    background: var(--color-grey);
    box-shadow: var(--shadow-main);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 99;
}
header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    gap: 20px;
}

.main-nav {
    display: flex;
    align-items: center;
}
.main-nav a {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-primary);
    padding: 8px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: background 0.14s ease;
}
.main-nav a:hover, .main-nav a:focus {
    background: var(--color-secondary);
    color: var(--color-warm-orange-dark);
}

.cta-btn {
    background: linear-gradient(90deg, var(--color-secondary), var(--color-warm-orange));
    color: var(--color-primary);
    font-family: var(--font-display);
    font-weight: 700;
    border-radius: 30px;
    padding: 12px 26px;
    font-size: 1.11rem;
    margin-left: 10px;
    box-shadow: var(--shadow-main);
    border: none;
    transition: background 0.19s, color 0.19s, box-shadow 0.16s;
    outline: none;
    display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
    background: var(--color-warm-orange);
    color: #fff;
    box-shadow: 0 4px 16px 0 rgba(252, 162, 61, 0.17);
}

header img,
footer img {
    max-height: 44px;
    border-radius: 0;
}
@media (max-width: 480px) {
    header img,
    footer img {
        max-height: 32px;
    }
}

/*----------------------------*
  MOBILE NAVIGATION
*------------------------------*/
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-primary);
    padding: 8px 12px;
    border-radius: var(--radius-lg);
    margin-left: 10px;
    transition: background 0.13s;
    z-index: 120;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
    background: var(--color-secondary);
    color: var(--color-warm-orange-dark);
}
@media (max-width: 1060px) {
    .main-nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,253,249,0.97);
    box-shadow: 0 0 80px 22px rgba(252,162,61,0.09);
    z-index: 200;
    transition: transform 0.34s cubic-bezier(.55,.04,.62,.89);
    transform: translateX(-100vw);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 0 0;
    justify-content: flex-start;
}
.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-primary);
    margin: 20px 22px 0 0;
    cursor: pointer;
    transition: color 0.14s, background 0.12s;
    border-radius: 50%;
    padding: 6px 10px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
    background: var(--color-grey-dark);
    color: var(--color-warm-orange);
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin: 38px 0 0 28px;
}
.mobile-nav a {
    color: var(--color-primary);
    padding: 12px 8px 12px 4px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    border-radius: var(--radius-lg);
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: var(--color-secondary);
    color: var(--color-warm-orange-dark);
}

@media (min-width: 1061px) {
    .mobile-menu { display: none !important; }
    .mobile-menu-toggle { display: none !important; }
}

/*----------------------------*
  SECTION SPACING
*------------------------------*/
section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: none;
    border-radius: var(--radius-lg);
}
section:last-child {
    margin-bottom: 0;
}

@media (max-width: 700px) {
    section {
        margin-bottom: 36px;
        padding: 28px 8px;
        border-radius: var(--radius-md);
    }
}

/*----------------------------*
  HERO AREA
*------------------------------*/
section:first-of-type {
    background: var(--color-secondary);
    box-shadow: var(--shadow-main);
    border-radius: var(--radius-lg);
    margin-top: 18px;
    margin-bottom: 42px;
    position: relative;
}
section:first-of-type h1 {
    color: var(--color-primary);
    /* warmer font */
}
section:first-of-type .cta-btn {
    background: linear-gradient(90deg, var(--color-primary) 60%, var(--color-warm-orange) 100%);
    color: #fff;
    margin-top: 12px;
}
section:first-of-type p {
    color: #4C4058;
}

/*----------------------------*
  FEATURE CARDS & SERVICE CARDS
*------------------------------*/
.feature-grid, .service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 28px 0 14px 0;
}
.feature-grid > div, .service-cards > div {
    background: var(--color-accent);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 20px 18px;
    flex: 1 1 250px;
    min-width: 200px;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.15s, transform 0.18s;
    margin-bottom: 20px;
}
.feature-grid > div:hover, .service-cards > div:hover {
    box-shadow: 0 4px 18px 0 rgba(250,150,40,0.18);
    transform: translateY(-5px) scale(1.035);
}
.feature-grid img,
.service-cards img {
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
    border-radius: var(--radius-sm);
    background: var(--color-secondary);
    box-shadow: 0 2px 8px 0 rgba(252,170,60,0.12);
    padding: 8px;
}
.service-cards strong {
    font-family: var(--font-body);
    background: var(--color-secondary);
    color: var(--color-primary);
    padding: 5px 14px;
    border-radius: var(--radius-lg);
    margin-top: 10px;
    display: inline-block;
    font-size: 1.01rem;
}

@media (max-width: 900px) {
    .feature-grid, .service-cards {
        gap: 14px;
    }
}
@media (max-width: 700px) {
    .feature-grid, .service-cards {
        flex-direction: column;
        gap: 16px;
    }
    .feature-grid > div, .service-cards > div {
        min-width: 0;
        max-width: 100%;
    }
}

/*----------------------------*
  TESTIMONIALS
*------------------------------*/
.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-main);
    padding: 20px 26px;
    margin-bottom: 20px;
    font-size: 1.04rem;
    line-height: 1.7;
    border-left: 7px solid var(--color-warm-orange);
    max-width: 800px;
    transition: box-shadow 0.17s, transform 0.16s;
}
.testimonial-card:hover {
    box-shadow: 0 5px 24px 0 rgba(252,170,60,0.13);
    transform: scale(1.028);
}
.testimonial-card p {
    color: var(--color-primary);
    margin-bottom: 0;
}
.testimonial-card span {
    color: #766B5B;
    font-size: 0.99em;
    font-style: italic;
}

/*----------------------------*
  TEXT-IMAGE & TEXT-SECTIONS
*------------------------------*/
.text-section {
    margin: 12px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.text-section ul, .text-section ol {
    margin-left: 16px;
}

.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 18px 0 0 0;
}
.text-image-section > * {
    flex: 1 1 300px;
}
@media (max-width: 768px) {
    .text-image-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/*----------------------------*
  FLEX CONTAINER CLASSES FROM BRIEF
*------------------------------*/
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; border-radius: var(--radius-md); }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/*----------------------------*
  CARD GENERIC
*------------------------------*/
.card {
    background: var(--color-accent);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 22px 20px;
    margin-bottom: 20px;
    transition: box-shadow 0.17s, transform 0.18s;
}
.card:hover {
    box-shadow: 0 10px 28px 0 rgba(250,170,60,0.11);
    transform: translateY(-3px) scale(1.016);
}

/*----------------------------*
  LISTS, OL/UL
*------------------------------*/
li {
    margin-bottom: 8px;
}
ul li::marker {
    color: var(--color-warm-orange);
}

ol {
    counter-reset: mycustomlist;
}
ol li {
    list-style: decimal-leading-zero inside;
    margin-left: 14px;
}

/*----------------------------*
  FOOTER
*------------------------------*/
footer {
    background: var(--color-grey-dark);
    padding: 24px 0 18px 0;
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
    box-shadow: 0 -2px 12px 0 rgba(232,176,97,0.09);
    margin-top: 68px;
}
footer .container {
    flex-direction: row;
    gap: 30px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
}
.footer-nav a {
    color: var(--color-primary);
    padding: 7px 10px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 500;
    background: none;
    font-size: 1rem;
    transition: background 0.14s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
    background: var(--color-secondary);
    color: var(--color-warm-orange-dark);
}
footer p {
    color: #66523d;
    font-size: 0.97rem;
    margin-top: 0px;
}
@media (max-width: 800px) {
    footer .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/*----------------------------*
  BUTTONS, FORMS, INTERACTIVE
*------------------------------*/
button, .cta-btn {
    border: none;
    font-family: var(--font-display);
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: background 0.16s, color 0.15s, box-shadow 0.16s, transform 0.13s;
    cursor: pointer;
}
button:focus, .cta-btn:focus {
    box-shadow: 0 0 0 2px var(--color-warm-orange-dark) inset;
    outline: none;
}

/*----------------------------*
  RESPONSIVE SPACING
*------------------------------*/
@media (max-width: 500px) {
    h1 { font-size: 1.42rem; }
    h2 { font-size: 1.1rem; }
    .cta-btn { font-size: .97rem; padding: 11px 17px; }
    footer .container { gap: 9px; padding-bottom: 12px; }
}

/*----------------------------*
  COOKIE CONSENT BANNER & MODAL
*------------------------------*/
.cookie-banner {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    background: var(--color-secondary);
    box-shadow: 0 -2px 22px 0 rgba(252,162,61,0.10);
    color: var(--color-primary);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 20px 10px;
    z-index: 2500;
    animation: cookieSlideIn 0.65s cubic-bezier(.68,.06,.38,1) 1;
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
}
@keyframes cookieSlideIn {
    from { transform: translateY(120%); }
    to   { transform: translateY(0); }
}
.cookie-banner p {
    color: var(--color-primary);
    font-size: 1.04em;
    margin: 0 12px 0 0;
    flex: 1 1 200px;
}
.cookie-banner .cookie-actions {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
}
.cookie-banner button {
    font-size: 1rem;
    padding: 7px 22px;
    border-radius: var(--radius-lg);
    margin: 0;
    border: 1px solid var(--color-primary);
}
.cookie-banner .accept {
    background: var(--color-warm-orange);
    color: #fff;
    border: none;
    box-shadow: 0 0 16px 0 rgba(250,170,60,0.06);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
    background: var(--color-warm-orange-dark);
}
.cookie-banner .reject {
    background: #fff;
    color: var(--color-primary);
    border: 1px solid var(--color-warm-orange-dark);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
    background: var(--color-warm-orange-dark);
    color: #fff;
}
.cookie-banner .manage {
    background: var(--color-secondary);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}
.cookie-banner .manage:hover, .cookie-banner .manage:focus {
    background: var(--color-accent);
}
@media (max-width: 600px) {
    .cookie-banner { flex-direction: column; align-items: flex-start; gap: 14px; }
    .cookie-banner p { margin-right: 0; }
    .cookie-banner .cookie-actions { gap: 7px; } 
}

/*-------------- COOKIE MODAL POPUP --------------*/
.cookie-modal-overlay {
    position: fixed;
    background: rgba(50,44,29,0.29);
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 2510;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: cookieModalFade .42s cubic-bezier(.61,0,.64,1);
}
@keyframes cookieModalFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.cookie-modal {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 6px 32px 0 rgba(220,150,62,0.17);
    padding: 34px 28px 28px 28px;
    min-width: 280px;
    max-width: 95vw;
    max-height: 95vh;
    overflow-y: auto;
    color: var(--color-primary);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    animation: cookieModalPopIn .43s cubic-bezier(.62,.09,.37,.93);
}
@keyframes cookieModalPopIn {
    from { transform: scale(0.84) translateY(12%); opacity: 0; }
    to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
    font-size: 1.31rem;
    color: var(--color-warm-orange-dark);
    margin-bottom: 6px;
}
.cookie-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 8px 0;
}
.cookie-category {
    display: flex;
    flex-direction: column;
    background: var(--color-accent);
    border-radius: var(--radius-md);
    box-shadow: 0 1px 4px 0 rgba(210,150,70,0.10);
    padding: 15px 18px;
    min-width: 210px;
    flex: 1 1 120px;
    margin-bottom: 10px;
}
.cookie-category label {
    font-weight: 600;
}
.cookie-category .toggle {
    margin-top: 12px;
    width: 48px;
    height: 26px;
    background: var(--color-grey-dark);
    border-radius: 22px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: background 0.13s;
}
.cookie-category input[type="checkbox"] {
    display: none;
}
.cookie-category .slider {
    position: absolute;
    left: 3px;
    top: 2px;
    width: 22px;
    height: 22px;
    background: var(--color-warm-orange);
    border-radius: 50%;
    transition: transform 0.2s;
}
.cookie-category input[type="checkbox"]:checked + .slider {
    transform: translateX(20px);
    background: #21b570;
}
.cookie-category .info {
    font-size: 0.98em;
    color: #776C5C;
    margin-top: 6px;
}
.cookie-category.essential .toggle, .cookie-category.essential .slider {
    background: #b2b2b2;
    cursor: not-allowed;
}
.cookie-category.essential label {
    color: var(--color-grey);
}
.cookie-modal .cookie-modal-actions {
    display: flex;
    gap: 14px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.cookie-modal .cookie-modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--color-warm-orange-dark);
    cursor: pointer;
}
.cookie-modal .accept, .cookie-modal .reject, .cookie-modal .save {
    font-size: 1rem;
    padding: 8px 26px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-primary);
}
.cookie-modal .accept {
    background: var(--color-warm-orange);
    color: #fff;
    border: none;
}
.cookie-modal .accept:hover, .cookie-modal .accept:focus {
    background: var(--color-warm-orange-dark);
}
.cookie-modal .reject {
    background: #fff;
    color: var(--color-primary);
    border: 1px solid var(--color-warm-orange-dark);
}
.cookie-modal .reject:hover, .cookie-modal .reject:focus {
    background: var(--color-warm-orange-dark);
    color: #fff;
}
.cookie-modal .save {
    background: var(--color-secondary);
    color: var(--color-primary);
}
.cookie-modal .save:hover, .cookie-modal .save:focus {
    background: var(--color-accent);
}
@media (max-width: 600px) {
    .cookie-modal-overlay { padding: 2vw; }
    .cookie-modal { padding: 18px 6vw; font-size: 0.95rem; }
    .cookie-modal-actions { flex-direction: column; gap: 7px; }
}

/*----------------------------*
  MICRO-INTERACTIONS & HOVERS
*------------------------------*/
.cta-btn, button, .feature-grid > div, .service-cards > div, .card, .testimonial-card, .footer-nav a, .main-nav a, .mobile-nav a {
    transition: box-shadow .17s, transform .12s, background .13s, color .16s;
}
.cta-btn:active {
    transform: scale(0.97);
}
.feature-grid > div:active, .service-cards > div:active, .card:active {
    transform: scale(0.98);
}
.main-nav a:active, .footer-nav a:active, .mobile-nav a:active {
    transform: translateY(1px) scale(0.97);
}

/*----------------------------*
  SCROLLBAR (WEBKIT ONLY)
*------------------------------*/
::-webkit-scrollbar {
    width: 8px;
    background: var(--color-accent);
    border-radius: 9px;
}
::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: 8px;
}

/*----------------------------*
  GENERAL RESPONSIVE FIXES
*------------------------------*/
@media (max-width: 700px) {
    .container {
        padding-left: 6px;
        padding-right: 6px;
    }
    h1, h2 { margin-bottom: 10px; }
    section { padding: 16px 2vw; }
}
@media (max-width: 450px) {
    h1 { font-size: 1.02rem; }
    h2 { font-size: .89rem; }
}

/*---------------------------*
  ENSURE NO OVERLAPS
*-----------------------------*/
section, .card, .testimonial-card, .feature-grid > div, .service-cards > div {
    margin-bottom: 24px;
}
section:last-child, .card:last-child, .testimonial-card:last-child, .feature-grid > div:last-child, .service-cards > div:last-child {
    margin-bottom: 0;
}

/* Utility classes */
.hide { display: none !important; }

/*---------------------------*
  PRINT STYLES
*-----------------------------*/
@media print {
    header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
    section { box-shadow: none !important; background: none !important; }
}

/*---------------------------*
  END OF STYLESHEET
*-----------------------------*/
