/* --------------------------------------------
   CSS RESET & NORMALIZATION
--------------------------------------------- */
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: inherit;
    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;
    background: #fafcfb;
    color: #13334c;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, picture, video, canvas, svg {
    display: inline-block;
    max-width: 100%;
    height: auto;
}
ul, ol {
    list-style: none;
}
a {
    color: #d8a243;
    text-decoration: none;
    transition: color 0.25s;
}
a:hover, a:focus {
    color: #e37c07;
    text-decoration: underline;
}
button {
    font-family: inherit;
    font-size: inherit;
    border: none;
    background: none;
    cursor: pointer;
}
/* Utility */
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
}

/* --------------------------------------------
   FONTS
--------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');
.display-font {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 900;
    color: #13334c;
    letter-spacing: -0.02em;
}
h1 {
    font-size: 2.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
}
h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}
h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}
h4, h5, h6 {
    font-size: 1.1rem;
}
p, li {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1rem;
    color: #1b3d5c;
}
strong {
    color: #d06417;
    font-weight: 700;
}

/* --------------------------------------------
   LAYOUT & STRUCTURE
--------------------------------------------- */
main {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

/* Spacing gaps for containers */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    margin-bottom: 20px;
    position: relative;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 22px rgba(19,51,76,0.12);
    padding: 28px 24px;
    min-width: 220px;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 170px;
    z-index: 1;
}
.card:hover {
    box-shadow: 0 14px 40px rgba(19,51,76,0.19);
    transform: translateY(-5px) scale(1.03) rotate(-1deg);
}
.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;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: #fff8ec;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(19,51,76,0.08);
    padding: 20px;
    margin-bottom: 20px;
    min-width: 220px;
    width: 100%;
    max-width: 510px;
    transition: box-shadow 0.22s, transform 0.22s;
    color: #15334A;
}
.testimonial-card:hover {
    box-shadow: 0 6px 22px rgba(19,51,76,0.17);
    transform: translateY(-2px) scale(1.012) rotate(1.25deg);
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}
.service {
    background: #fafdff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(19,51,76,0.07);
    padding: 28px 18px 22px 24px;
    min-width: 220px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: box-shadow 0.23s, transform 0.23s;
}
.service:hover {
    box-shadow: 0 10px 34px rgba(19,51,76,0.13);
    transform: translateY(-3px) scale(1.028) rotate(2deg);
}
.service-price {
    background: #d8a243;
    color: #fff;
    border-radius: 24px;
    font-size: 1rem;
    padding: 5px 15px;
    font-family: 'Montserrat', Arial, sans-serif;
    display: inline-block;
    margin-top: 10px;
    font-weight: 700;
}
/* Features and grids */
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    width: 100%;
}
.feature {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 14px rgba(19,51,76,0.09);
    padding: 27px 18px;
    min-width: 180px;
    max-width: 320px;
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}
.feature img {
    width: 54px;
    height: 54px;
    margin-bottom: 7px;
    filter: drop-shadow(0 2px 0 #d8a24322);
}
.feature:hover {
    box-shadow: 0 8px 29px rgba(19,51,76,0.15);
    transform: translateY(-4px) scale(1.025) rotate(-2.5deg);
}
.location-info {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 28px;
}
.location-info > div {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #e9f3fa;
    padding: 10px 18px;
    border-radius: 16px;
    font-size: 1rem;
    color: #13334c;
}
.location-info img {
    width: 24px;
    height: 24px;
}

/* --------------------------------------------
   HEADER, NAVIGATION, AND CTA
--------------------------------------------- */
header {
    background: #13334c;
    width: 100%;
    position: relative;
    z-index: 20;
    box-shadow: 0 1px 12px #13334c12;
    margin-bottom: 0;
}
header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 74px;
    padding-top: 15px;
    padding-bottom: 15px;
}
.logo,
.logo-footer {
    display: flex;
    align-items: center;
    z-index: 22;
}
.logo img,
.logo-footer img {
    height: 46px;
    width: auto;
    transition: filter 0.21s;
}
.logo img:hover {
    filter: drop-shadow(0 1px 0 #d8a24344);
}
.main-nav {
    display: flex;
    gap: 18px;
    align-items: center;
    font-size: 1.07rem;
}
.main-nav a {
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.20s;
}
.main-nav a:hover, .main-nav a.active {
    color: #d8a243;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    background: #d8a243;
    color: #fff;
    padding: 13px 32px;
    border-radius: 32px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    box-shadow: 0 6px 34px #d8a24342, 0 2px 2px #ffddb766;
    border: 2px solid #d8a243;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, transform 0.14s, box-shadow 0.18s;
}
.cta-btn:active {
    transform: scale(0.96);
}
.cta-btn:hover, .cta-btn:focus {
    background: #ffc860;
    color: #13334c;
    border-color: #ffc860;
    box-shadow: 0 2px 12px #d8a24333, 0 3px 9px #13334c18;
    text-decoration: none;
}

/* --------------------------------------------
   HERO SECTIONS & ANIMATIONS
--------------------------------------------- */
.hero {
    background: linear-gradient(98deg, #f9ecc7 10%, #e2f7fc 80%);
    border-bottom-left-radius: 100px 35px;
    border-bottom-right-radius: 42px 10px;
    min-height: 430px;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
}
.hero .container {
    justify-content: center;
    align-items: center;
    height: 100%;
}
.hero .content-wrapper {
    max-width: 630px;
    gap: 14px;
}
.hero h1 {
    font-size: 2.8rem;
    color: #13334c;
    font-weight: 900;
    text-shadow: 1px 2px 0 #ffedb5;
    margin-bottom: 15px;
}
.hero p {
    font-size: 1.12rem;
    color: #345177;
    margin-bottom: 21px;
}
/* Floating playful animated bubbles (decorative only) */
.hero::before, .hero::after {
    content: '';
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    opacity: 0.3;
    pointer-events: none;
}
.hero::before {
    width: 130px; height: 130px;
    background: #d8a243;
    top: -30px; left: 12vw;
    animation: floatBubble 8s ease-in-out infinite;
}
.hero::after {
    width: 80px; height: 80px;
    background: #39d7f2;
    right: 7vw; bottom: 17px;
    animation: floatBubble2 11s ease-in-out infinite;
}
@keyframes floatBubble {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(34px) scale(1.10); }
}
@keyframes floatBubble2 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.15); }
}

/* --------------------------------------------
   FEATURES & LISTS
--------------------------------------------- */
.features, .feature-list {
    width: 100%;
}
.feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1rem;
    margin-bottom: 8px;
    color: #13334c;
}
.features h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 900;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #13334c;
}

/* --------------------------------------------
   TESTIMONIALS (OPINIE)
--------------------------------------------- */
.testimonials .content-wrapper {
    gap: 18px;
}
.testimonial-card p {
    color: #17527c;
    font-size: 1.08rem;
    font-family: 'Roboto', Arial, sans-serif;
    margin-bottom: 7px;
    line-height: 1.5;
}
.testimonial-card span {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    color: #b57a0c;
    font-size: 1rem;
    letter-spacing: 0.01em;
}

/* --------------------------------------------
   FOOTER
--------------------------------------------- */
footer {
    background: #13334c;
    color: #fff;
    padding: 40px 0 15px 0;
    margin-top: 60px;
    font-size: 1rem;
    width: 100%;
}
footer .container {
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.footer-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0 8px 0;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1rem;
}
.footer-nav a {
    color: #fff6e2;
    transition: color 0.2s;
}
.footer-nav a:hover {
    color: #ffc860;
}
.contact-footer {
    color: #dedddd;
    margin-bottom: 4px;
    font-size: 0.98rem;
}
.copyright {
    color: #fae3b9;
    font-size: 0.93rem;
    text-align: center;
}
.logo-footer img {
    height: 43px;
}

/* --------------------------------------------
   MOBILE BURGER MENU
--------------------------------------------- */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 18px;
    right: 21px;
    width: 45px;
    height: 45px;
    font-size: 2.08rem;
    color: #d8a243;
    z-index: 99;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 12px #13334c28;
    transition: background 0.19s, color 0.19s;
}
.mobile-menu-toggle:active {
    background: #ffe8c1;
    color: #af7807;
}
.mobile-menu {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    background: #13334cf7;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    transform: translateX(-101vw);
    transition: transform 0.37s cubic-bezier(.85,.02,.33,1.03);
    box-shadow: 0 0 50px #13334c60;
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu-close {
    margin-top: 28px;
    margin-left: 24px;
    font-size: 2.28rem;
    color: #ffc860;
    background: transparent;
    border: none;
    z-index: 101;
    cursor: pointer;
    align-self: flex-start;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 31px;
    margin: 54px 0 0 36px;
    width: 75vw;
}
.mobile-nav a {
    color: #fffefa;
    font-size: 1.4rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 0 #d8a24388;
    transition: color 0.2s, transform 0.1s;
    padding: 10px 0 10px 0;
}
.mobile-nav a:active, .mobile-nav a:focus {
    color: #d8a243;
    transform: scale(1.09);
}

@media (max-width: 1080px) {
    header .container {
        flex-direction: row;
        gap: 14px;
    }
    .main-nav {
        gap: 8px;
        font-size: 0.99rem;
    }
}
@media (max-width: 900px) {
    .feature-grid, .service-grid {
        gap: 16px;
    }
}
@media (max-width: 840px) {
    .hero h1 { font-size: 2.2rem; }
    .container { padding-left: 12px; padding-right: 12px; }
    .footer-nav { gap: 8px; }
}

@media (max-width: 768px) {
    header .container {
        min-height: 58px;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .main-nav, .cta-btn {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .section { padding: 24px 9px; margin-bottom: 38px; }
    .content-grid, .feature-grid, .service-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 13px;
    }
    .testimonial-card, .feature, .service {
        min-width: 0;
        max-width: 100vw;
        width: 100%;
        font-size: 1rem;
    }
    .location-info { gap: 9px; flex-direction: column; }
    .text-image-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 17px;
    }
    .footer-nav { flex-direction: column; gap: 6px; text-align: center; }
    .location-info > div { font-size: 0.99rem; }
}

@media (max-width: 570px) {
    h1 { font-size: 1.46rem; }
    h2 { font-size: 1.2rem; }
    .logo img, .logo-footer img { height: 36px; }
    .copyright { font-size: 0.79rem; }
}

/* --------------------------------------------
   COOKIE CONSENT BANNER & MODAL
--------------------------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0;
    width: 100vw;
    background: #ffe7bc;
    box-shadow: 0 -2px 30px #13334c27;
    z-index: 4000;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 19px 12vw 19px 5vw;
    transition: transform 0.37s cubic-bezier(.79,.17,.19,.99), opacity 0.15s;
    opacity: 1;
}
.cookie-banner.hide {
    transform: translateY(120%);
    opacity: 0;
}
.cookie-banner .cookie-text {
    color: #15334a;
    font-size: 1rem;
    max-width: 420px;
    font-family: 'Roboto', Arial, sans-serif;
}
.cookie-banner .cookie-actions {
    display: flex;
    gap: 13px;
    align-items: center;
    flex-wrap: wrap;
}
.cookie-btn {
    padding: 11px 22px;
    border-radius: 24px;
    font-size: 1.05rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    background: #d8a243;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.16s, color 0.17s, transform .12s;
}
.cookie-btn:active {
    transform: scale(0.96);
}
.cookie-btn:hover, .cookie-btn:focus {
    background: #ffc860;
    color: #13334c;
}
.cookie-btn.secondary {
    background: #fff;
    color: #d8a243;
    border: 2px solid #d8a243;
}
.cookie-btn.secondary:hover {
    background: #f8e0b2;
    color: #13334c;
}

/* Cookie modal settings */
.cookie-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(19,51,76,0.54);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.18s;
    opacity: 1;
}
.cookie-modal-overlay.hide {
    display: none;
    opacity: 0;
}
.cookie-modal {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 16px 64px #13334c34, 0 2px 9px #d8a24322;
    padding: 36px 26px 26px 26px;
    width: 92vw;
    max-width: 420px;
    position: relative;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 21px;
    animation: showCookieModal 0.33s cubic-bezier(.82,.02,.17,1.02);
}
@keyframes showCookieModal {
    from { transform: scale(0.93) translateY(40px); opacity: 0; }
    to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
    font-size: 1.37rem;
    color: #13334c;
    margin-bottom: 6px;
}
.cookie-category {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fafdff;
    border-radius: 16px;
    padding: 13px 15px;
    margin-bottom: 11px;
}
.cookie-category label {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #13334c;
}
.cookie-toggle {
    width: 38px;
    height: 22px;
    border-radius: 44px;
    background: #e7eaea;
    position: relative;
    transition: background 0.17s;
    margin-left: 8px;
    margin-right: 8px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}
.cookie-toggle.enabled {
    background: #d8a243;
}
.cookie-toggle-ball {
    position: absolute;
    left: 3px;
    top: 2.5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: left 0.15s;
}
.cookie-toggle.enabled .cookie-toggle-ball {
    left: 17px;
}
.cookie-modal-close {
    position: absolute;
    top: 9px; right: 11px;
    font-size: 2.1rem;
    background: none;
    color: #d8a243;
    border: none;
    cursor: pointer;
}
.cookie-modal .cookie-btn {
    width: fit-content;
    margin-top: 7px;
}
@media (max-width: 670px) {
    .cookie-banner { flex-direction: column; align-items: flex-start; gap: 11px; padding: 16px 8vw 16px 3vw; }
    .cookie-modal { padding: 20px 7px 16px 7px; }
}

/* --------------------------------------------
   DYNAMIC MICRO-ANIMATIONS
--------------------------------------------- */
.cta-btn, .card, .feature, .testimonial-card, .service {
    will-change: transform;
}
.cta-btn {
    transition: background 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.card:hover, .feature:hover, .service:hover, .testimonial-card:hover {
    box-shadow: 0 4px 16px #d8a24344;
    transform: translateY(-3px) scale(1.028);
}

/* --------------------------------------------
   PLAYFUL_DYNAMIC DECORATIVE DETAILS
--------------------------------------------- */
.feature, .service, .testimonial-card { position: relative; overflow: hidden; }
.feature::after, .service::after, .testimonial-card::after {
    content: '';
    display: block;
    position: absolute;
    z-index: 0;
    bottom: -18px; right: -18px;
    width: 47px; height: 47px;
    border-radius: 50%;
    background: #ffe3a8;
    opacity: 0.23;
    pointer-events: none;
    animation: playfulDecor 5.2s ease-in-out infinite alternate;
}
@keyframes playfulDecor {
    from { transform: scale(1) translateY(0); }
    to { transform: scale(1.2) translateY(-12px); }
}

/* --------------------------------------------
   LEGAL & POLICY SECTIONS
--------------------------------------------- */
.legal .content-wrapper {
    gap: 20px;
    font-family: 'Roboto', Arial, sans-serif;
}
.legal ul li {
    position: relative;
    padding-left: 22px;
}
.legal ul li::before {
    content: '\2714';
    position: absolute;
    left: 0;
    color: #d8a243;
    font-size: 1.09em;
    top: 1.5px;
}

/* --------------------------------------------
   FORMATTING AND COMMON CLASSES
--------------------------------------------- */
.text-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.text-section ul li {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: #262626;
}
.text-section img {
    width: 21px;
    height: 21px;
}
.cta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 18px 0 0 0;
}
@media (max-width: 768px) { .cta { flex-direction: column; gap: 11px; } }

/* --------------------------------------------
   SCROLLBAR & SELECTION
--------------------------------------------- */
body::-webkit-scrollbar {
    width: 10px;
    background: #f8efe0;
}
body::-webkit-scrollbar-thumb {
    background: #d8a243;
    border-radius: 6px;
}
::selection {
    background: #ffd784;
    color: #13334c;
}

/* --------------------------------------------
   OVERLAPPING PREVENTION & LAYERING
--------------------------------------------- */
.card, .service, .feature, .testimonial-card { z-index: 1; }
header, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay { z-index: 100; }

/* --------------------------------------------
   Print-safe & Accessibility
--------------------------------------------- */
@media print {
    header, footer, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-modal-overlay { display: none !important; }
    main { margin: 0; padding: 0; }
}

/* --------------------------------------------
   END OF CSS
--------------------------------------------- */