/* CSS RESET & NORMALIZE */
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
    display: block;
}
body {
    line-height: 1.5;
    min-height: 100vh;
    background: #F5F5F5;
    color: #1A1A1A;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
ul, ol {
    list-style-position: inside;
    margin-left: 0;
}
a { text-decoration: none; color: inherit; }
img { border: 0; max-width: 100%; height: auto; display: block; }
input, button, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
    box-shadow: none;
}
button { cursor: pointer; background: none; border: none; }

/* BASE TYPOGRAPHY */
body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    color: #1A1A1A;
    background-color: #F5F5F5;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #176B87;
    letter-spacing: 0.01em;
    font-weight: 700;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 1.25rem; line-height: 1.25; margin-bottom: 12px; }
h4 { font-size: 1.125rem; }
p, ul, ol { font-size: 1rem; line-height: 1.6; margin-bottom: 14px; }
ul, ol { padding-left: 20px; margin-bottom: 18px; }
strong { font-weight: 700; }

/* CONTAINER AND WRAPPER */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.text-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(23, 107, 135, 0.06);
    padding: 32px 24px;
}

/* HEADER NAVIGATION */
header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(23,107,135,0.05);
    position: sticky;
    top: 0;
    z-index: 50;
}
header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 16px 0;
    max-width: 1140px;
    margin: 0 auto;
}
.header nav a, .footer-wrapper nav a {
    transition: color 0.2s;
}
.nav-links {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: center;
}
.nav-links a {
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 7px 14px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    color: #176B87;
}
.nav-links a.cta {
    background: #F2B441;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.07rem;
    box-shadow: 0 2px 5px rgba(242,180,65,0.08);
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.nav-links a.cta:hover, .nav-links a.cta:focus {
    background: #176B87;
    color: #fff;
    box-shadow: 0 3px 13px #176B873a;
}
.nav-links a:hover, .nav-links a:focus {
    background: #EAF6FB;
    color: #F2B441;
}
header nav img {
    height: 40px;
    width: auto;
    display: block;
}

/* MOBILE MENU */
.mobile-menu-toggle {
    display: none;
    font-size: 2rem;
    color: #176B87;
    background: #fff;
    border-radius: 6px;
    padding: 6px 12px;
    margin-left: 16px;
    z-index: 120;
    transition: background 0.18s;
    border: 1px solid #E0E0E0;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
    background: #EAF6FB;
}
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(.57,.16,.22,1);
    box-shadow: 2px 0 16px rgba(23,107,135,0.11);
    z-index: 130;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu-close {
    background: none;
    border: none;
    color: #176B87;
    font-size: 2.4rem;
    align-self: flex-end;
    margin: 32px 24px 10px 0;
    cursor: pointer;
    border-radius: 8px;
    padding: 2px 8px;
    transition: background 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
    background: #EAF6FB;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 16px 32px 0 32px;
    gap: 16px;
}
.mobile-nav a {
    color: #176B87;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.17rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: none;
    border-radius: 7px;
    padding: 10px 4px;
    width: 100%;
    transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: #EAF6FB;
    color: #F2B441;
}

/* SECTION LAYOUTS */
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: transparent;
    display: block;
}
.hero {
    min-height: 290px;
    background: #EAF6FB;
    border-radius: 18px;
    margin-bottom: 60px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    padding: 40px 0;
}
.hero .content-wrapper {
    align-items: flex-start;
    gap: 16px;
}

/* FLEXBOX LAYOUTS - NO CSS GRID */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 24px 0 0 0;
}
.features-grid > div {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(23,107,135,0.06);
    padding: 28px 22px;
    flex: 1 1 240px;
    min-width: 210px;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.features-grid > div:hover {
    box-shadow: 0 5px 28px #90bed730;
    transform: translateY(-4px) scale(1.02);
}
.features-grid img {
    height: 44px;
    margin-bottom: 8px;
    border-radius: 8px;
}
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    margin-bottom: 20px;
    position: relative;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 7px rgba(23,107,135,0.05);
    padding: 26px 16px;
    transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
    box-shadow: 0 4px 20px #90bed730;
    transform: translateY(-2px) scale(1.01);
}
.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 28px;
    background: #fff;
    border: 1px solid #DFEFFA;
    color: #222;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(23,107,135,0.06);
    transition: border-color 0.18s, box-shadow 0.18s;
}
.testimonial-card:hover {
    border-color: #F2B441;
    box-shadow: 0 6px 22px #F2B44115;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* CTA Buttons */
.cta {
    display: inline-block;
    background: #F2B441;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.07rem;
    padding: 12px 32px;
    border-radius: 24px;
    box-shadow: 0 2px 8px #F2B44122;
    margin-top: 10px;
    transition: background 0.21s, color 0.19s, box-shadow 0.19s, transform 0.21s;
    letter-spacing: 0.03em;
    border: none;
    cursor: pointer;
    min-width: 170px;
    text-align: center;
}
.cta:hover, .cta:focus {
    background: #176B87;
    color: #fff;
    box-shadow: 0 4px 22px #1377a865;
    transform: translateY(-3px) scale(1.025);
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0 20px 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(23,107,135,0.06);
    overflow: hidden;
}
thead {
    background: #EAF6FB;
}
th, td {
    padding: 14px 8px;
    text-align: left;
    border-bottom: 1px solid #ececec;
}
th {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    color: #176B87;
}
tbody tr:last-child td {
    border-bottom: none;
}
tbody tr:hover {
    background: #F9F5EE;
}

/* Footer Styling */
footer {
    background: #f7fafc;
    border-top: 1px solid #dbeafd;
    padding-top: 32px;
    margin-top: 80px;
    color: #176B87;
}
.footer-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px 32px 20px;
}
footer nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
footer nav a {
    color: #176B87;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.17s;
    padding: 2px 0;
}
footer nav a:hover, footer nav a:focus {
    color: #F2B441;
}
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.98rem;
    padding-bottom: 3px;
}
.footer-contact img {
    height: 22px;
    width: 22px;
    filter: grayscale(1) brightness(0.48);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #EAF6FB;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    box-shadow: 0 -4px 20px #176B8722;
    font-size: 1rem;
    z-index: 2000;
    transition: transform 0.35s cubic-bezier(.8,.18,.22,1);
    transform: translateY(100%);
}
.cookie-banner.visible {
    transform: translateY(0);
}
.cookie-controls {
    display: flex;
    gap: 14px;
}
.cookie-btn {
    background: #176B87;
    color: #fff;
    border: none;
    border-radius: 18px;
    padding: 8px 22px;
    font-size: 1rem;
    font-family: 'Montserrat', Arial, sans-serif;
    margin-left: 0;
    margin-top: 0;
    transition: background 0.19s, color 0.19s, box-shadow 0.19s;
    box-shadow: 0 1px 8px #176B8717;
}
.cookie-btn.secondary {
    background: #F2B441;
    color: #fff;
}
.cookie-btn.settings {
    background: #fff;
    color: #176B87;
    border: 1px solid #176B87;
    box-shadow: none;
}
.cookie-btn:hover, .cookie-btn:focus {
    background: #F2B441;
    color: #fff;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
    background: #176B87;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
    background: #EAF6FB;
    color: #F2B441;
}

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-60%) scale(0.94);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 32px #176B8715;
    z-index: 2100;
    width: 94vw;
    max-width: 400px;
    padding: 34px 28px 24px 28px;
    transition: opacity 0.25s, transform 0.33s cubic-bezier(.75,.17,.24,1);
    opacity: 0;
}
.cookie-modal.open {
    display: block;
    opacity: 1;
    transform: translate(-50%,-50%) scale(1.0);
}
.cookie-modal h4 {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #176B87;
    margin-bottom: 14px;
    font-size: 1.16rem;
    font-weight: 600;
}
.cookie-modal label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 1rem;
    font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-category {
    margin-bottom: 8px;
    color: #176B87;
    font-weight: 600;
}
.cookie-modal .cookie-modal-controls {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
}

/* COOKIE CUSTOM TOGGLE */
.switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 18px;
    margin-right: 6px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #EAF6FB;
    border-radius: 20px;
    transition: background 0.18s;
}
.slider:before {
    position: absolute;
    content: '';
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background: #F2B441;
    border-radius: 50%;
    transition: transform 0.19s;
}
.switch input:checked + .slider {
    background: #F2B441;
}
.switch input:checked + .slider:before {
    transform: translateX(17px);
    background: #fff;
}

/* Responsive Queries */
@media (max-width: 1200px) {
  .container, .footer-wrapper {
    max-width: 990px;
  }
}
@media (max-width: 990px) {
  .container, .footer-wrapper {
    max-width: 94vw;
  }
  .features-grid > div { max-width: 100%; min-width: 180px; }
}
@media (max-width: 900px) {
    header nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 0;
    }
    .footer-wrapper { flex-direction: column; gap: 22px; }
}
@media (max-width: 768px) {
    .container, .footer-wrapper {
        max-width: 98vw;
        padding-left: 10px; padding-right: 10px;
    }
    .section, .hero {
        padding: 20px 0;
        border-radius: 0;
        margin-bottom: 40px;
    }
    .features-grid {
        flex-direction: column;
        gap: 18px;
    }
    .content-grid { flex-direction: column; gap: 16px; }
    .text-image-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
    header nav .nav-links {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero {
        min-height: 175px;
        padding: 18px 0;
        margin-bottom: 32px;
    }
    .hero h1 { font-size: 2rem; }
}
@media (max-width: 540px) {
    h1 { font-size: 1.45rem; }
    h2 { font-size: 1.21rem; }
    .cta {
        font-size: 0.98rem;
        padding: 10px 18px;
        min-width: 120px;
    }
    .features-grid > div, .testimonial-card, .card {
        padding: 16px 7px;
    }
    .footer-wrapper {
        padding: 0 4px 28px 4px;
        gap: 13px;
    }
}

/* Links and Micro-Interactions */
a, .cta, .cookie-btn, .mobile-nav a, .nav-links a {
    outline: none;
    transition: color 0.15s, background 0.17s, border-color 0.18s, box-shadow 0.19s, transform 0.18s;
}
a:focus-visible, .cta:focus-visible, .cookie-btn:focus-visible, .mobile-nav a:focus-visible, .nav-links a:focus-visible {
    box-shadow: 0 0 0 2px #F2B441aa;
}

/* Misc */
::-webkit-scrollbar { width:7px; background: #F5F5F5; }
::-webkit-scrollbar-thumb { background:#EAF6FB; border-radius:6px; }

/* Ensure No Absolute Position for Content */
.card, .card-content, .testimonial-card {
    position: relative;
    z-index: 1;
}

/* Utility Classes for Section Spacing */
.mb-60 { margin-bottom: 60px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mt-40 { margin-top: 40px !important; }

/* End of Scandinavian Clean Design - Neon Signal Sanatoria 2024 */