/* --- CSS RESET & FONT FACE --- */
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;
}
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #F2EFE6;
    background: linear-gradient(130deg, #24283a 0%, #3B4057 100%);
    min-height: 100vh;
    font-size: 16px;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat Bold'), url('https://fonts.gstatic.com/s/montserrat/v25/JTURjIg1_i6t8kCHKm45_cJD6CJVnsg.ttf') format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto Regular'), url('https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxM.ttf') format('truetype');
}

/* --- BRAND PALETTE / VARIABLES (with fallback) --- */
:root {
    --primary: #3B4057;
    --secondary: #D4BFAA;
    --accent: #F2EFE6;
    --bg: #24283a;
    --neon: #5CFFCB;
    --card-bg: #2d3142;
    --card-bg-light: #32364c;
    --text-on-dark: #F2EFE6;
    --text-on-light: #232536;
    --border: #44578C;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
    color: var(--neon);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.01em;
}
h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    text-shadow: 0 2px 24px #5cffcb40, 0 1px 0 var(--primary);
}
h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    text-shadow: 0 1px 16px #5cffcb21;
}
h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: var(--accent);
}
h4 {
    font-size: 1.14rem;
    margin-bottom: 6px;
    color: var(--secondary);
}
p, ul, ol, li, strong, span, label {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    color: var(--text-on-dark);
    line-height: 1.65;
}
strong {
    font-weight: 600;
    color: var(--secondary);
}
.subheadline {
    font-size: 1.15rem;
    color: var(--accent);
    margin-bottom: 32px;
}

/* --- GENERAL CONTAINERS & SECTIONS --- */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: rgba(44, 49, 76, 0.97);
    border-radius: 18px;
    box-shadow: 0 12px 32px #22295133;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* --- FLEX LAYOUTS --- */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    background: var(--card-bg-light);
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px #5cffcb19;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.card:hover {
    box-shadow: 0 0 24px 0 #5CFFCB, 0 2px 16px #23253644;
    transform: translateY(-2px) scale(1.015);
    border: 1.5px solid var(--neon);
}
.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;
    background: #f2efe6;
    color: #232536;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 2px 18px #5cffcb22;
    margin-bottom: 24px;
    border-left: 4px solid var(--neon);
    min-width: 220px;
    max-width: 650px;
    transition: box-shadow 0.32s, border-color 0.3s;
}
.testimonial-card span {
    color: #222;
    font-size: 1.07rem;
    flex: 1;
}
.testimonial-card strong {
    font-weight: 700;
    color: var(--primary);
}
.testimonial-card:hover {
    box-shadow: 0 0 24px 0 #5CFFCB, 0 2px 16px #23253655;
    border-left: 4px solid #00ffc4;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
}
.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}
.text-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* --- HEADER --- */
header {
    background: rgba(44,49,76,0.88);
    box-shadow: 0 2px 16px #5cffcb1a;
    position: sticky;
    top: 0;
    z-index: 10;
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 16px;
}
header img[alt="Eteryczny Klif"] {
    height: 52px;
    width: auto;
}
header nav {
    display: flex;
    gap: 22px;
    align-items: center;
}
header nav a {
    color: var(--accent);
    text-decoration: none;
    font-family: 'Montserrat', 'Roboto';
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 6px 12px;
    font-size: 1.09rem;
    border-radius: 8px;
    transition: color 0.26s, background 0.26s;
}
header nav a:hover, header nav a:focus {
    color: var(--neon);
    background: rgba(92,255,203,0.08);
}
.cta.primary {
    background: var(--neon);
    color: #232536;
    border: none;
    font-weight: bold;
    font-family: 'Montserrat', 'Roboto';
    padding: 10px 28px;
    border-radius: 24px;
    font-size: 1.07rem;
    text-shadow: 0 1px 8px #fff7;
    box-shadow: 0 2px 14px #5cffcb28;
    transition: background 0.22s, box-shadow 0.22s, transform 0.28s;
    cursor: pointer;
    margin-left: 16px;
    text-decoration: none;
}
.cta.primary:hover, .cta.primary:focus {
    background: #62ffd3;
    color: #232536;
    box-shadow: 0 0 32px 0 #5CFFCB, 0 2px 16px #23253677;
    transform: translateY(-2px) scale(1.08);
}

/* --- CALL TO ACTION BUTTON --- */
.cta {
    background: transparent;
    color: var(--neon);
    border: 2px solid var(--neon);
    font-family: 'Montserrat', 'Roboto';
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 20px;
    font-size: 1.11rem;
    transition: background 0.27s, border 0.18s, color 0.18s, transform 0.25s;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    box-shadow: 0 1px 8px #5cffcb40;
}
.cta:hover, .cta:focus {
    background: var(--neon);
    color: #232536;
    border: 2px solid #70ffe2;
    box-shadow: 0 0 32px 0 #5CFFCB, 0 2px 16px #23253655;
    transform: translateY(-2px) scale(1.06);
}

/* --- UL/OL LISTS --- */
ul, ol {
    margin-left: 20px;
    margin-bottom: 18px;
    color: var(--accent);
}
ul li, ol li {
    margin-bottom: 12px;
    padding-left: 2px;
    font-size: 1rem;
}
ul li strong {
    color: var(--neon);
}

/* --- IMAGES & ICONS --- */
img, svg {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
.text-section img {
    width: 22px;
    height: 22px;
    margin-right: 8px;
    filter: drop-shadow(0 0 4px #5cffcb63);
}

/* --- FOOTER --- */
footer {
    margin-top: 50px;
    background: #202331;
    color: var(--accent);
    font-size: 0.97rem;
    letter-spacing: 0.01em;
    border-top: 2px solid #2d3142;
    box-shadow: 0 -4px 24px #5cffcb12;
}
footer .container {
    padding: 30px 20px 24px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: row;
}
footer nav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
footer nav a {
    color: #b1efd1;
    padding: 2px 7px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
footer nav a:hover, footer nav a:focus {
    background: #353958;
    color: var(--neon);
}
footer div:last-child {
    margin-top: 8px;
    color: #8cfed5;
    font-size: 0.96rem;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    font-size: 2.2rem;
    border: none;
    background: #2d3142cc;
    color: var(--neon);
    border-radius: 50%;
    box-shadow: 0 2px 12px #5cffcb18;
    z-index: 101;
    cursor: pointer;
    transition: background 0.22s, transform 0.2s;
}
.mobile-menu-toggle:active {
    transform: scale(0.96);
}
.mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: fixed;
    top: 0;
    right: 0;
    width: 95vw;
    max-width: 400px;
    height: 100vh;
    background: #232536ee;
    box-shadow: -10px 0 60px #5cffcb18;
    transform: translateX(105%);
    transition: transform 0.38s cubic-bezier(.44,1.1,.24,1); /* fast-out-slow-in */
    padding: 36px 24px 24px 24px;
    z-index: 1020;
    opacity: 0.98;
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu-close {
    background: transparent;
    border: none;
    color: var(--neon);
    font-size: 2rem;
    align-self: flex-end;
    cursor: pointer;
    margin-bottom: 12px;
    transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
    color: #fff;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
}
.mobile-nav a {
    color: var(--neon);
    font-size: 1.11rem;
    padding: 8px 0;
    text-decoration: none;
    border-radius: 10px;
    font-family: 'Montserrat', 'Roboto';
    letter-spacing: 0.015em;
    transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: #353958;
    color: #fff;
}

/* Hamburger menu visibility rules */
@media (max-width: 1020px) {
    header nav, .cta.primary { display: none; }
    .mobile-menu-toggle { display: block; }
}

@media (max-width: 1020px) {
    /* Make logo stay to left */
    header .container {
        justify-content: flex-start;
    }
    header img[alt="Eteryczny Klif"] {
        margin-right: auto;
    }
}
@media (min-width: 1021px) {
    .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    background: #2d3142cc;
    color: #fff;
    box-shadow: 0 -2px 24px #5cffcb50;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 22px 16px 22px 16px;
    font-size: 1.01rem;
    font-family: 'Roboto', Arial, sans-serif;
    animation: cookie-in 0.8s;
}
@keyframes cookie-in { from{transform:translateY(100%); opacity:0;} to{transform:translateY(0);opacity:1;} }
.cookie-banner .cookie-text {
    flex: 1;
    color: #f2efe6;
    margin-right: 10px;
}
.cookie-banner .cookie-actions {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
}
.cookie-banner button {
    border: none;
    font-family: 'Montserrat';
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 14px;
    font-size: 1.03rem;
    cursor: pointer;
    transition: box-shadow 0.18s, background 0.14s, transform 0.18s;
}
.cookie-banner .cookie-accept {
    background: var(--neon);
    color: #132625;
    box-shadow: 0 2px 8px #5cffcb1c;
    border: 2px solid #5cffcb44;
}
.cookie-banner .cookie-accept:hover {
    background: #79ffd5;
    color: #0a181a;
}
.cookie-banner .cookie-reject {
    background: transparent;
    color: #fff;
    border: 2px solid #ffffff99;
}
.cookie-banner .cookie-reject:hover {
    background: #353958;
    color: var(--neon);
}
.cookie-banner .cookie-settings {
    background: transparent;
    color: var(--neon);
    border: 2px solid var(--neon);
}
.cookie-banner .cookie-settings:hover {
    background: var(--neon);
    color: #222;
}

/* --- COOKIE MODAL --- */
.cookie-modal {
    position: fixed; left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(39, 40, 70, 0.86);
    z-index: 1700;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    pointer-events: all;
    animation: modal-in 0.44s;
}
@keyframes modal-in { from{opacity:0; transform: scale(0.97);} to{opacity:1;transform:scale(1);} }
.cookie-modal-dialog {
    background: #24283a;
    border-radius: 18px;
    box-shadow: 0 8px 32px #5cffcb45;
    max-width: 400px;
    width: 96vw;
    padding: 36px 28px 28px 28px;
    color: #fff;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: relative;
    animation: modal-in 0.31s;
}
.cookie-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.72rem;
    color: var(--neon);
    cursor: pointer;
    transition: color 0.2s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
    color: #fff;
}
.cookie-modal h3 {
    margin-bottom: 8px; color: var(--neon);
}
.cookie-category {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #353958;
    border-radius: 8px;
    padding: 12px 10px;
    margin-bottom: 10px;
}
.cookie-category label {
    flex: 1;
    font-size: 1rem;
    color: #fff;
}
.cookie-category input[type='checkbox'] {
    accent-color: var(--neon);
    width: 20px; height: 20px;
    border-radius: 5px;
    border: 1.5px solid var(--neon);
}
.cookie-essential {
    color: #b1efd1;
    font-weight: 600;
    font-size: 0.99rem;
}
.cookie-modal-actions {
    margin-top: 12px;
    display: flex;
    gap: 18px;
}
.cookie-modal button {
    font-family: 'Montserrat';
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 1.01rem;
    border: none;
    cursor: pointer;
    background: var(--neon);
    color: #222;
    box-shadow: 0 1px 8px #5cffcb25;
    transition: box-shadow 0.18s, background 0.14s, transform 0.18s;
}
.cookie-modal button:hover {
    background: #79ffd5;
    color: #0a181a;
}

/* --- FORMS (Contact) --- */
input, textarea, select {
    background: #f2efe6;
    color: #2d3142;
    border: 1.8px solid var(--neon);
    border-radius: 10px;
    font-family: 'Roboto';
    font-size: 1.05rem;
    padding: 12px 12px;
    margin-bottom: 14px;
    transition: border 0.18s, box-shadow 0.21s;
    outline: none;
    box-shadow: 0 2px 8px #5cffcb22;
}
input:focus, textarea:focus, select:focus {
    border: 1.8px solid #00ffc4;
    background: #fff;
    box-shadow: 0 0 12px #5CFFCB;
}
label {
    font-weight: 500;
    color: var(--neon);
    margin-bottom: 6px;
    display: inline-block;
}

/* --- MISC --- */
a {
    color: var(--neon);
    text-decoration: underline;
    transition: color 0.18s;
}
a:hover, a:focus {
    color: #79ffd5;
}
hr {
    border: none;
    border-bottom: 1.5px solid #44578C;
    margin: 36px 0;
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 900px) {
    html { font-size: 15px; }
    .container { padding-left: 6px; padding-right: 6px; }
    .section { padding: 28px 6px; }
    .card {
        padding: 17px 8px;
    }
}
@media (max-width: 768px) {
    html { font-size: 14px; }
    .section { padding: 18px 3vw; margin-bottom: 36px; }
    .container { padding-left: 0; padding-right: 0; }
    .content-grid {
        flex-direction: column;
        gap: 16px;
    }
    .text-image-section {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    header .container, footer .container {
        flex-direction: column;
        gap: 14px;
        align-items: flex-start;
    }
    .testimonial-card {
        max-width: 100%;
        flex-direction: column;
        gap: 10px;
        padding: 18px 12px;
    }
}
@media (max-width: 480px) {
    h1 { font-size: 1.55rem; }
    h2 { font-size: 1.26rem; }
    .cta, .cta.primary {
        font-size: 0.99rem;
        padding: 10px 16px;
    }
    .section {margin-bottom: 18px;}
}

/* --- FOCUS VISIBLE --- */
:focus-visible, .cta:focus, .cta.primary:focus {
    outline: 2.5px solid var(--neon);
    outline-offset: 2.5px;
    z-index: 2;
}

/* --- VISUAL DECORATION --- */
body {
    /* Faint moving background highlight (futuristic accent) */
    position: relative;
    overflow-x: hidden;
}
body::before {
    content: '';
    position: fixed;
    top: -180px;
    left: -140px;
    width: 580px;
    height: 850px;
    background: radial-gradient(ellipse at 20% 10%, #5CFFCB44 0%, transparent 90%); 
    filter: blur(32px);
    opacity: .55;
    pointer-events: none;
    z-index: 0;
    animation: highlight-move 15s ease-in-out infinite alternate;
}
@keyframes highlight-move {
    0%   { transform: translateY(0) scaleX(1); }
    43%  { transform: translateY(30px) scaleX(1.1); }
    62%  { transform: translateY(-18px) scaleX(0.97); }
    100% { transform: translateY(60px) scaleX(1.09); }
}

/* --- END --- */
