/* RESET & BASE STYLES */
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,
main, 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
    display: block;
}
body {
    line-height: 1.5;
    background: #F7F5E6;
    color: #1f2c36;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    min-height: 100vh;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}
img {
    max-width: 100%;
    display: block;
    height: auto;
}
a {
    color: #20A39E;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover, a:focus {
    color: #154360;
}
ul, ol {
    margin: 1em 0 1em 2em;
}
strong, b {
    font-weight: bold;
}
hr {
    border: none;
    border-top: 1px solid #e3e3e3;
    margin: 30px 0;
}

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@900;700;500;400&family=Open+Sans:wght@400;600;700&display=swap');

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 900;
    color: #154360;
    letter-spacing: 0.01em;
    margin-bottom: 16px;
}
h1 { font-size: 2.6rem; line-height: 1.12; margin-bottom: 24px; }
h2 { font-size: 2rem;   line-height: 1.18; margin-bottom: 20px; }
h3 { font-size: 1.25rem; font-weight:700; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1.1rem; font-weight:700; margin-bottom: 10px; }
p, li, blockquote { font-size: 1rem; line-height: 1.7; margin-bottom: 16px; }
blockquote {
    background: rgba(32,163,158,0.10);
    border-left: 5px solid #20A39E;
    padding: 18px 30px 18px 20px;
    font-style: italic;
    color: #154360;
    margin: 0 0 14px 0;
}

/* CONTAINERS & GENERAL SPACING */
.container {
    width: 100%;
    max-width: 1190px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.content-wrapper {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: #fff;
    border-radius: 32px 48px 18px 42px/18px 42px 50px 34px;
    box-shadow: 0 3px 24px rgba(21,67,96,0.08), 0 1.5px 5px rgba(32,163,158,0.05);
    position: relative;
}

/* FLEXBOX LAYOUTS - MANDATORY PATTERNS */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    background: #fff;
    border-radius: 24px 33px 12px 30px/16px 32px 40px 21px;
    box-shadow: 0 2px 20px rgba(32,163,158,0.07);
    margin-bottom: 20px;
    position: relative;
    padding: 28px 20px;
    min-width: 220px;
    flex: 1 1 260px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
    box-shadow: 0 6px 24px rgba(32,163,158,0.19);
    transform: translateY(-6px) scale(1.025);
}
.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;
    margin-bottom: 20px;
    background: #F7F5E6;
    border-radius: 24px 33px 12px 30px/16px 32px 40px 21px;
    box-shadow: 0 2px 10px rgba(21,67,96,0.06);
    border: 2px solid #20A39E10;
}
.testimonial-card blockquote {
    color: #154360;
    background: none;
    border-left: 4px solid #20A39E;
    padding-left: 14px;
    margin-bottom: 8px;
}
.testimonial-card strong {
    color: #154360;
    letter-spacing: 0.04em;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* INDEX SPECIAL FLEX GRIDS */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 32px;
    margin-bottom: 28px;
}
.features-grid > div {
    background: #20A39E09;
    border-radius: 24px 30px 18px 20px/12px 18px 35px 20px;
    flex: 1 1 220px;
    min-width: 190px;
    padding: 26px 18px 22px 18px;
    box-shadow: 0 2px 8px rgba(32,163,158,0.07);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    transition: box-shadow 0.17s, background 0.25s;
}
.features-grid > div:hover {
    background: #20A39E14;
    box-shadow: 0 4px 18px #20A39E17;
}
.features-grid img {
    width: 38px;
    height: 38px;
    margin-bottom: 2px;
}

.services-teaser, .services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 16px 0 30px 0;
    justify-content: flex-start;
}
.services-teaser > div, .services-grid > div {
    background: #F7F5E6;
    border-radius: 22px 28px 15px 20px/17px 20px 35px 24px;
    box-shadow: 0 2px 10px rgba(32,163,158,0.07);
    min-width: 220px;
    flex: 1 1 250px;
    display: flex;
    flex-direction: column;
    padding: 22px 18px 18px 18px;
    margin-bottom: 20px;
    position: relative;
    transition: box-shadow 0.17s, transform 0.23s;
}
.services-teaser > div:hover, .services-grid > div:hover {
    background: #fffae9;
    box-shadow: 0 5px 22px rgba(21,67,96,0.10);
    transform: scale(1.03) translateY(-2px);
}
.services-teaser h3, .services-grid h2, .services-grid h3 {
    color: #20A39E;
    margin-bottom: 8px;
    font-weight: 700;
    font-family: 'Montserrat', Arial, sans-serif;
}
.services-teaser span, .services-grid span {
    color: #154360;
    font-size: 1.02rem;
    font-weight: 700;
    margin-top: 12px;
    display: block;
    letter-spacing: 0.018em;
}

/* Button Styles */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 900;
    font-size: 1.13rem;
    letter-spacing: 0.08em;
    border-radius: 32px 12px 24px 42px/24px 28px 33px 17px;
    background: #20A39E;
    color: #fff;
    border: none;
    box-shadow: 0 2px 18px #20A39E19;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 20px;
    transition: background 0.2s, box-shadow 0.16s, transform 0.14s;
    text-transform: uppercase;
    outline: none;
}
.cta-btn:hover, .cta-btn:focus {
    background: #154360;
    color: #F7F5E6;
    box-shadow: 0 4px 24px #15436028;
    transform: translateY(-3px) scale(1.04);
}

/* HEADER & NAVIGATION */
header {
    background: #fff;
    box-shadow: 0 4px 28px 0 rgba(21,67,96,0.06);
    padding: 0;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 50;
}
header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 10px 20px;
    min-height: 70px;
}
header nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
}
header nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.07rem;
    font-weight: 600;
    color: #154360;
    position: relative;
    padding-bottom: 3px;
    transition: color 0.2s;
}
header nav a:hover, header nav a:focus {
    color: #20A39E;
}
header img {
    height: 44px;
    width: auto;
    margin-right: 18px;
}

header .cta-btn {
    margin: 0 12px 0 0;
    box-shadow: 0 2px 10px #20A39E12;
}
.mobile-menu-toggle {
    display: none;
    background: #20A39E;
    border: none;
    color: #fff;
    font-size: 2rem;
    border-radius: 20px 32px 11px 23px/17px 20px 35px 24px;
    padding: 8px 18px;
    cursor: pointer;
    z-index: 101;
    transition: background 0.18s, transform 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus { background: #154360; transform: scale(1.06); }

/* MOBILE MENU OVERLAY */
.mobile-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    background: rgba(21,67,96, 0.93);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0;
    overflow-y: auto;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s, pointer-events 0.3s;
    transform: translateX(100%);
}
.mobile-menu.open {
    pointer-events: auto;
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.3s cubic-bezier(.68,-0.55,.27,1.55), transform 0.4s cubic-bezier(.68,-0.55,.27,1.55);
}
.mobile-menu-close {
    background: #20A39E;
    border: none;
    color: #fff;
    font-size: 2rem;
    margin: 30px 24px 24px 0;
    border-radius: 18px 28px 13px 24px/17px 20px 35px 24px;
    padding: 8px 18px;
    cursor: pointer;
    transition: background 0.18s, transform 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: #154360; transform: scale(1.07); }

.mobile-nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 16px 40px;
    width: 100%;
    gap: 18px;
}
.mobile-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #fff;
    font-size: 1.28rem;
    font-weight: 600;
    padding: 16px 0 5px 0;
    width: 100%;
    border-bottom: 1px solid #ffffff18;
    transition: color 0.17s, background 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    color: #20A39E;
    background: #ffffff07;
}

/* MAIN & SECTION ADJUSTMENTS */
main {
    min-height: 56vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
section {
    margin-bottom: 60px;
}

.text-section {
    width: 100%;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.text-section ul {
    margin: 1em 0 1em 1.4em;
    padding-left: 0.7em;
}

/* FOOTER */
footer {
    background: #154360;
    color: #F7F5E6;
    padding: 40px 0 24px 0;
    width: 100%;
}
footer .container {
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
footer img {
    width: 50px;
    margin-bottom: 10px;
}
footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 8px;
}
footer nav a {
    color: #F7F5E6;
    font-size: 0.98rem;
    font-family: 'Montserrat', Arial, sans-serif;
    letter-spacing: 0.06em;
    transition: color 0.2s;
}
footer nav a:hover, footer nav a:focus {
    color: #20A39E;
}
footer p {
    font-size: 0.98rem;
    color: #F7F5E6;
    opacity: 0.94;
    text-align: center;
}

/* COOKIE CONSENT */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    width: 100%;
    background: #fff;
    color: #154360;
    box-shadow: 0 -2px 22px rgba(21,67,96,0.09);
    z-index: 9999;
    padding: 28px 16px 20px 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 24px;
    font-size: 1rem;
    animation: appearBanner 0.45s cubic-bezier(.68,-0.55,.27,1.55) 1;
}
@keyframes appearBanner {
    from { opacity: 0; transform: translateY(100%); }
    to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-btn {
    padding: 10px 30px;
    border-radius: 22px 16px 14px 25px/14px 21px 22px 11px;
    border: none;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    font-size: 1rem;
    margin: 0 10px 0 0;
    cursor: pointer;
    background: #20A39E;
    color: #fff;
    transition: background 0.17s, color 0.12s;
}
.cookie-banner .cookie-btn.cookie-settings {
    background: #154360;
}
.cookie-banner .cookie-btn.cookie-reject {
    background: #e65555;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
    background: #154360;
    color: #F7F5E6;
}
.cookie-banner .cookie-btn.cookie-reject:hover, .cookie-banner .cookie-btn.cookie-reject:focus {
    background: #A01832;
}
.cookie-modal {
    position: fixed;
    left: 50%; top: 50%;
    transform: translate(-50%, -54%) scale(1);
    background: #fff;
    border-radius: 28px 36px 22px 29px/20px 32px 24px 22px;
    box-shadow: 0 6px 48px rgba(21,67,96,0.22);
    z-index: 10002;
    width: 92vw;
    max-width: 430px;
    padding: 36px 20px 30px 28px;
    display: none;
    flex-direction: column;
    gap: 18px;
    animation: showModal 0.39s cubic-bezier(.68,-0.55,.27,1.55) 1;
}
@keyframes showModal {
    from { opacity: 0; transform: translate(-50%, -80%) scale(0.93); }
    to   { opacity: 1; transform: translate(-50%, -54%) scale(1); }
}
.cookie-modal.open {
    display: flex;
}
.cookie-modal h2 {
    color: #20A39E;
    font-size: 1.18rem;
    margin-bottom: 10px;
}
.cookie-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}
.cookie-toggle {
    width: 38px;
    height: 22px;
    background: #F7F5E6;
    border-radius: 15px;
    border: 1.5px solid #20A39E;
    position: relative;
    cursor: pointer;
    transition: background 0.16s, border 0.15s;
}
.cookie-toggle input {
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    position: absolute;
    cursor: pointer;
    left: 0; top: 0;
    z-index: 1;
}
.cookie-toggle span {
    display: block;
    background: #20A39E;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    position: absolute;
    top: 1px; left: 2px;
    transition: left 0.18s, background 0.20s;
}
.cookie-toggle input:checked + span {
    left: 18px;
    background: #154360;
}
.cookie-category[disabled] .cookie-toggle {
    opacity: 0.4;
    pointer-events: none;
}
.cookie-modal .modal-actions {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-top: 14px;
}
.cookie-modal .cookie-btn {
    flex: 1 1 45%;
}

/* ANIMATIONS & TRANSITIONS */
.card, .features-grid > div, .services-teaser > div, .services-grid > div, .testimonial-card, .cta-btn {
    transition: box-shadow 0.19s, transform 0.17s, background 0.18s;
}

/* ARTISTIC/CREATIVE EFFECTS */
.section, .card, .features-grid > div, .services-teaser > div, .services-grid > div, .testimonial-card {
    border: 2.5px solid #20A39E14;
}

.section-art-bg {
    position: absolute;
    z-index: 0;
    top: -40px; left: -40px;
    width: 110px; height: 110px;
    background: #20A39E10;
    border-radius: 50% 43% 54% 37%;
    filter: blur(4px);
    pointer-events: none;
    animation: floatArt 8s infinite alternate linear;
}
@keyframes floatArt {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.09) translateY(24px); }
}

/* CUSTOM TYPOGRAPHY STYLES */
.display-art-text {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 900;
    background: -webkit-linear-gradient(90deg,#20A39E 20%,#154360 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* FORM, LABELS, MODALS, ETC. */
input[type="text"], input[type="email"], textarea {
    border: 2px solid #20A39E50;
    border-radius: 13px 33px 8px 24px/11px 9px 15px 10px;
    padding: 12px 20px;
    font-size: 1.08rem;
    font-family: inherit;
    margin-bottom: 18px;
    box-shadow: 0 1px 3.5px #20A39E16;
    background: #F7F5E6;
    transition: border 0.15s;
}
input:focus, textarea:focus {
    border: 2px solid #20A39E;
    outline: none;
}

label {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.07rem;
    font-weight: 700;
    margin-bottom: 6px;
    display: block;
    color: #154360;
}

button, [type="button"] {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
}

/* RESPONSIVE DESIGN (MOBILE FIRST) */
@media (max-width: 1020px){
    .features-grid, .services-teaser, .services-grid, .content-grid {
        gap: 18px;
    }
    .card-container {
        gap: 16px;
    }
    .container {
        padding: 0 10px;
    }
}

@media (max-width: 900px){
    .features-grid, .services-teaser, .services-grid, .content-grid {
        flex-direction: column;
        gap: 20px;
    }
    .features-grid > div, .services-teaser > div, .services-grid > div {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    .container { padding: 0 5vw; }
    .section { padding: 22px 6vw; }

    nav, header .cta-btn { display: none; }
    .mobile-menu-toggle { display: inline-flex; }
    .mobile-menu { font-size: 1.1rem; }

    .content-wrapper { padding: 0; }

    .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
    .card {
        min-width: 0;
        width: 100%;
    }
    .features-grid, .services-teaser, .services-grid, .content-grid {
        gap: 16px;
    }
    .testimonial-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px 8px;
    }
    .section {
        margin-bottom: 40px;
    }
    h1 { font-size: 2.0rem; padding-top: 8px; }
    h2 { font-size: 1.38rem; }
    .cta-btn { font-size: 1.01rem; padding: 12px 18px; }
}

@media (max-width: 480px){
    html { font-size: 14px; }
    .container { padding: 0 2vw; }
    header .container { padding: 8px 4vw; }
    .footer .container { padding: 16px 4vw; }
    .section { padding: 14px 0.8em; }
    .testimonial-card, .features-grid > div, .card {
        padding: 11px 7px;
        font-size: 0.97em;
    }
    .mobile-nav { padding: 14px 3vw; }
    .mobile-menu-close { font-size: 1.6em; padding: 8px 12px; margin: 22px 10px 10px 0; }
    .cookie-banner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 5px; font-size: 0.98em; }
    .cookie-banner .cookie-btn { min-width: 110px; width: 99%; margin-bottom: 6px; }
    .cookie-modal { max-width: 96vw; padding: 19px 8px 22px 12px; }
}

/* ACCESSIBLE HIDE */
.sr-only {
    position: absolute !important; 
    width: 1px !important; 
    height: 1px !important; 
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap !important;
}

/* VISUAL HIERARCHY SPACING */
main > section, main .section { margin-bottom: 60px; }
section h1, section h2, section h3 { margin-top: 0; }

/* Z-INDEX LAYERING */
header, .mobile-menu, .cookie-banner, .cookie-modal { z-index: 999; }
footer { z-index: 10; }

/* UNIQUE GRAPHIC ELEMENTS FOR ARTISTIC FEEL */
.section:before {
    content: '';
    display: block;
    position: absolute;
    top: -30px; left: -30px;
    width: 110px; height: 80px;
    background: rgba(32,163,158,.06);
    border-radius: 90% 50% 50% 30% / 60% 50% 30% 40%;
    z-index: 0;
    pointer-events: none;
}
.section:last-child:before {
    display: none;
}

/* FOCUS VISIBLE */
:focus-visible {
    outline: 2.5px dashed #20A39E;
    outline-offset: 2.5px;
}

/* Hide focus on mouse users but show for keyboard users */
:focus:not(:focus-visible) {
    outline: none;
}

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