/* ==========================================================================
   Frullpaneg — Trasy fotograficzne wzdłuż wybrzeża Morza Bałtyckiego
   Archetyp: SPLIT-SCREEN MODERN
   ========================================================================== */

:root {
    --sea-900: #0a2733;
    --sea-800: #0f3646;
    --sea-700: #14455a;
    --sea-500: #1f6f8f;
    --sea-300: #6fa7bd;
    --foam: #eef5f7;
    --sand: #f1e7d4;
    --sand-deep: #d8c6a4;
    --sunset: #e07a5f;
    --sunset-soft: #f2cc8f;
    --pine: #3c5a4b;
    --ink: #142129;
    --text: #2b3a42;
    --muted: #61727c;
    --line: #dfe6e8;
    --white: #ffffff;
    --radius: 14px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 10px rgba(10, 39, 51, 0.06);
    --shadow: 0 18px 44px rgba(10, 39, 51, 0.14);
    --wrap: 1180px;
    --head: 'Fraunces', Georgia, serif;
    --body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--body);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--head);
    color: var(--ink);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.35rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--sea-500); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--sunset); }

img { max-width: 100%; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.eyebrow {
    display: inline-block;
    font-size: .78rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--sea-500);
    margin-bottom: 1rem;
}
.eyebrow--light { color: var(--sunset-soft); }

.lead { font-size: 1.2rem; color: var(--muted); }

/* ---------- Advertising disclosure bar ---------- */
.ad-bar {
    background: var(--ink);
    color: var(--sand);
    font-size: .8rem;
    letter-spacing: .03em;
    text-align: center;
    padding: 8px 16px;
}

/* ---------- Header / Navigation (top, split) ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 24px;
    max-width: 1320px;
    margin: 0 auto;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--head);
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-mark {
    width: 38px; height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--sea-700), var(--sunset));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 1rem;
}
.brand small { display: block; font-family: var(--body); font-weight: 400; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--text); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--sea-500); }

.nav-cta {
    background: var(--sunset);
    color: #fff;
    padding: 11px 22px;
    border-radius: 100px;
    font-weight: 600;
    font-size: .92rem;
}
.nav-cta:hover { background: var(--sea-700); color: #fff; }

.nav-toggle {
    display: none;
    background: none; border: 1px solid var(--line);
    border-radius: 10px; width: 46px; height: 42px;
    cursor: pointer; color: var(--ink);
    flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; display: block; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: .98rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform .18s ease, background .2s ease, color .2s ease, border-color .2s ease;
    font-family: var(--body);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sunset); color: #fff; }
.btn-primary:hover { background: #c9603f; color: #fff; }
.btn-dark { background: var(--sea-800); color: #fff; }
.btn-dark:hover { background: var(--sea-900); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--sea-800); }
.btn-light:hover { background: var(--sand); color: var(--sea-900); }

.text-link {
    font-weight: 600;
    border-bottom: 2px solid var(--sunset-soft);
    padding-bottom: 2px;
}
.text-link:hover { border-color: var(--sunset); }

/* ---------- Split section core ---------- */
.split {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    min-height: 60vh;
}
.split > .split-media,
.split > .split-copy {
    flex: 1 1 50%;
    min-width: 320px;
}
.split-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(40px, 6vw, 90px);
}
.split-media {
    background-size: cover;
    background-position: center;
    min-height: 420px;
    position: relative;
}
.split--reverse { flex-direction: row-reverse; }

/* ---------- Hero (split) ---------- */
.hero {
    background: linear-gradient(180deg, var(--foam), #fff);
}
.hero .split-copy { padding-top: clamp(50px, 7vw, 100px); padding-bottom: clamp(50px, 7vw, 100px); }
.hero h1 { margin-bottom: 1.2rem; }
.hero .lead { margin-bottom: 2rem; max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.hero-meta div strong { display: block; font-family: var(--head); font-size: 1.7rem; color: var(--sea-700); }
.hero-meta div span { font-size: .85rem; color: var(--muted); }

.hero-media {
    background-color: var(--sea-300);
    background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1400&q=80');
}
.hero-media::after {
    content: "Mierzeja o świcie";
    position: absolute;
    left: 24px; bottom: 24px;
    background: rgba(10,39,51,.72);
    color: #fff;
    font-size: .78rem;
    letter-spacing: .08em;
    padding: 8px 14px;
    border-radius: 100px;
}

/* ---------- Section shells ---------- */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--sand { background: var(--sand); }
.section--foam { background: var(--foam); }
.section--ink { background: var(--sea-900); color: var(--foam); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: #c6d6dd; }

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Feature list (asymmetric split copy) ---------- */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 22px; margin-top: 1.5rem; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-ic {
    flex: 0 0 44px; width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--foam);
    color: var(--sea-700);
    display: flex; align-items: center; justify-content: center;
}
.section--ink .feature-ic { background: rgba(255,255,255,.08); color: var(--sunset-soft); }
.feature-list h4 { margin-bottom: 3px; }
.feature-list p { font-size: .96rem; color: var(--muted); }
.section--ink .feature-list p { color: #aec4cd; }

/* ---------- Stats strip ---------- */
.stats {
    display: flex; flex-wrap: wrap; gap: 24px;
    justify-content: space-between;
}
.stat {
    flex: 1 1 200px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
    padding: 28px;
}
.stat strong { font-family: var(--head); font-size: 2.6rem; color: #fff; display: block; }
.stat span { font-size: .92rem; color: #b4cad2; }

/* ---------- Route / card grid (flex) ---------- */
.cards { display: flex; flex-wrap: wrap; gap: 28px; }
.card {
    flex: 1 1 300px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex; flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-img { background-color: var(--sand-deep); overflow: hidden; }
.card-img img { width: 100%; height: 220px; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.card-tag { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sea-500); font-weight: 600; margin-bottom: 10px; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { font-size: .95rem; color: var(--muted); flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.price { font-family: var(--head); font-size: 1.5rem; color: var(--ink); }
.price small { font-family: var(--body); font-size: .8rem; color: var(--muted); font-weight: 400; }

/* ---------- Pricing table (services page) ---------- */
.price-list { display: flex; flex-direction: column; gap: 18px; }
.price-row {
    display: flex; flex-wrap: wrap; align-items: center; gap: 20px;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 24px 28px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.price-row:hover { border-color: var(--sea-300); box-shadow: var(--shadow-sm); }
.price-row .pr-info { flex: 1 1 340px; }
.price-row .pr-info h3 { margin-bottom: 6px; font-size: 1.2rem; }
.price-row .pr-info p { font-size: .92rem; color: var(--muted); margin: 0; }
.price-row .pr-price { font-family: var(--head); font-size: 1.6rem; color: var(--sea-700); white-space: nowrap; }
.price-row .pr-price small { font-family: var(--body); display: block; font-size: .78rem; color: var(--muted); }

/* ---------- Testimonials (inline) ---------- */
.quotes { display: flex; flex-wrap: wrap; gap: 26px; }
.quote {
    flex: 1 1 300px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--line);
    position: relative;
}
.quote::before {
    content: "\201C";
    font-family: var(--head);
    font-size: 4.5rem;
    line-height: .6;
    color: var(--sunset-soft);
    position: absolute; top: 20px; right: 24px;
}
.quote p { font-size: 1.02rem; color: var(--text); }
.quote-by { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.quote-ava { width: 46px; height: 46px; border-radius: 50%; background: var(--sea-300); background-size: cover; background-position: center; object-fit: cover; flex: 0 0 46px; }
.quote-by strong { display: block; font-size: .95rem; color: var(--ink); }
.quote-by span { font-size: .82rem; color: var(--muted); }

/* ---------- Form ---------- */
.form-split { display: flex; flex-wrap: wrap; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.form-aside {
    flex: 1 1 360px;
    background: var(--sea-800);
    color: var(--foam);
    padding: clamp(32px, 4vw, 54px);
    background-image: linear-gradient(160deg, rgba(15,54,70,.92), rgba(10,39,51,.96)), url('https://images.unsplash.com/photo-1500534623283-312aade485b7?w=800&q=80');
    background-size: cover; background-position: center;
    display: flex; flex-direction: column; justify-content: center;
}
.form-aside h2 { color: #fff; margin-bottom: 1rem; }
.form-aside p { color: #c6d6dd; }
.form-aside ul { list-style: none; margin-top: 1.4rem; display: flex; flex-direction: column; gap: 12px; }
.form-aside li { display: flex; gap: 10px; align-items: center; font-size: .95rem; color: #d7e6eb; }
.form-aside li::before { content: "\2713"; color: var(--sunset-soft); font-weight: 700; }

.form-main { flex: 1 1 380px; background: #fff; padding: clamp(32px, 4vw, 54px); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-family: var(--body);
    font-size: .98rem;
    color: var(--text);
    background: #fdfdfd;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--sea-500);
    box-shadow: 0 0 0 3px rgba(31,111,143,.14);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; }
.form-error { color: #c0392b; font-size: .85rem; margin-top: -10px; margin-bottom: 14px; display: none; }
.form-error.show { display: block; }

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(130deg, var(--sea-800), var(--sunset));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(40px, 6vw, 70px);
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 46ch; }

/* ---------- Sticky CTA ---------- */
.sticky-cta {
    position: fixed;
    right: 20px; bottom: 20px;
    z-index: 55;
    background: var(--sunset);
    color: #fff;
    border-radius: 100px;
    padding: 13px 24px;
    box-shadow: var(--shadow);
    font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px;
    transform: translateY(120px);
    transition: transform .3s ease, background .2s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta:hover { background: var(--sea-800); color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    background: var(--sea-900);
    color: #fff;
    padding: clamp(70px, 10vw, 130px) 0 clamp(50px, 7vw, 90px);
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: "";
    position: absolute; inset: 0;
    background-image: url('https://images.unsplash.com/photo-1439066615861-d1af74d74000?w=1400&q=80');
    background-size: cover; background-position: center;
    opacity: .22;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero p { color: #c6d6dd; max-width: 56ch; margin-top: 1rem; }
.crumbs { font-size: .85rem; color: var(--sand-deep); margin-bottom: 1.2rem; }
.crumbs a { color: var(--sand-deep); }
.crumbs a:hover { color: #fff; }

/* ---------- Prose (legal + about) ---------- */
.prose { max-width: 760px; }
.prose h2 { margin: 2.2rem 0 1rem; }
.prose h3 { margin: 1.6rem 0 .6rem; }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { margin: 0 0 1rem 1.3rem; }
.prose li { margin-bottom: .5rem; }
.prose .updated { font-size: .88rem; color: var(--muted); margin-bottom: 2rem; }

/* ---------- Contact blocks ---------- */
.contact-grid { display: flex; flex-wrap: wrap; gap: 28px; }
.contact-card {
    flex: 1 1 260px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
}
.contact-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.contact-card p { color: var(--muted); font-size: .96rem; }
.no-link { color: var(--ink); font-weight: 600; }

/* ---------- Thanks page ---------- */
.thanks {
    min-height: 70vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 80px 24px;
    background: linear-gradient(180deg, var(--foam), #fff);
}
.thanks-card {
    max-width: 580px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(36px, 6vw, 64px);
    box-shadow: var(--shadow);
}
.thanks-badge {
    width: 72px; height: 72px; border-radius: 50%;
    background: var(--pine); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin: 0 auto 1.6rem;
}
.thanks-card .picked { background: var(--foam); border-radius: 12px; padding: 14px 18px; margin: 1.4rem 0; font-weight: 600; color: var(--sea-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9c8ce; padding: 64px 0 28px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-col { flex: 1 1 200px; }
.footer-col.brandcol { flex: 1 1 300px; }
.footer-col h4 { color: #fff; font-family: var(--body); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #b9c8ce; font-size: .94rem; }
.footer-col a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--head); font-size: 1.3rem; margin-bottom: 14px; }
.footer-note { font-size: .9rem; color: #8ea3ab; max-width: 34ch; }
.footer-disclaimer { font-size: .82rem; color: #7e949c; border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 24px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-top: 20px; font-size: .85rem; color: #8ea3ab; }

/* ---------- Cookie banner ---------- */
.cookie {
    position: fixed; left: 20px; right: 20px; bottom: 20px;
    z-index: 70;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px 26px;
    display: flex; flex-wrap: wrap; align-items: center; gap: 18px; justify-content: space-between;
    max-width: 920px; margin: 0 auto;
}
.cookie p { font-size: .9rem; color: var(--text); flex: 1 1 320px; margin: 0; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie .btn { padding: 11px 22px; font-size: .9rem; }
.cookie[hidden] { display: none; }

/* ---------- Video ---------- */
.video-wrap { max-width: 820px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-wrap video { width: 100%; display: block; }
.video-controls { display: flex; align-items: center; gap: 14px; background: var(--sea-900); padding: 12px 18px; }
.video-controls button { background: rgba(255,255,255,.1); color: #fff; border: none; border-radius: 8px; padding: 8px 14px; cursor: pointer; font-family: var(--body); font-size: .88rem; }
.video-controls button:hover { background: var(--sunset); }
.video-controls input[type="range"] { flex: 1; accent-color: var(--sunset); cursor: pointer; }

/* ---------- Floating decorative ---------- */
.band-note { font-size: .92rem; color: var(--muted); max-width: 60ch; }

/* ---------- Utilities ---------- */
.media-fill { width: 100%; height: 100%; object-fit: cover; }
.bg-sand { background-color: var(--sand-deep); }
.bg-sea { background-color: var(--sea-300); }
.bg-pine { background-color: var(--pine); }
.bg-foam { background-color: var(--foam); }
.mt-l { margin-top: 28px; }
.mb-s { margin-bottom: 2rem; }
.split-auto { min-height: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav.open .nav-links {
        display: flex; flex-direction: column; align-items: flex-start;
        position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--line);
        padding: 20px 24px; gap: 18px;
    }
    .split-media { min-height: 300px; }
    .cta-band { flex-direction: column; align-items: flex-start; }
}
