/* ============================================
   ZMIENNE I RESET
   ============================================ */
:root {
    --navy: #1B2A4A;
    --navy-deep: #111D35;
    --gold: #D4A843;
    --gold-light: #E8C872;
    --gold-dark: #B8922E;
    --accent: #2B5EA0;
    --accent-light: #3B7DD8;
    --accent-dark: #1E4A80;
    --white: #FFFFFF;
    --bg-page: #fff6df;
    --bg-light: #fff9eb;
    --bg-warm: #fff1c9;
    --text-dark: #2D2D2D;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --shadow-sm: 0 2px 8px rgba(27,42,74,0.06);
    --shadow-md: 0 4px 20px rgba(27,42,74,0.08);
    --shadow-lg: 0 8px 32px rgba(27,42,74,0.12);
    --shadow-gold: 0 4px 20px rgba(212,168,67,0.2);
    --radius: 12px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
    --font-display: 'Albert Sans', system-ui, sans-serif;
    --font-body: 'Albert Sans', system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-page);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

/* Skip-to-content link (Accessibility) */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--navy);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    font-size: 14px;
    z-index: 9999;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* Focus-visible states (Accessibility/Interaction) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Scroll offset for anchored sections under fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* ============================================
   TYPOGRAFIA
   ============================================ */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   KOMPONENTY — PRZYCISKI
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
    border: 2px solid var(--navy);
    box-shadow: 0 4px 16px rgba(27,42,74,0.25);
    position: relative;
    overflow: hidden;
}


.btn-primary .btn-text {
    transition: opacity 0.5s ease;
    margin-right: 32px;
}

.btn-primary .btn-icon {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    width: 36px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.15);
    transition: width 0.5s ease;
    z-index: 1;
}

.btn-primary:hover .btn-text {
    opacity: 0;
}

.btn-primary:hover .btn-icon {
    width: calc(100% - 8px);
}

.btn-primary:active .btn-icon {
    transform: scale(0.95);
}

.btn-primary:hover {
    background: #2a3f6a;
    border-color: #2a3f6a;
    box-shadow: 0 6px 24px rgba(27,42,74,0.4);
}




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

section {
    padding: 96px 0;
}

/* ============================================
   1. NAWIGACJA
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255,246,223,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 1px 12px rgba(27,42,74,0.06);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    font-family: var(--font-display);
    color: var(--white);
    transition: color var(--transition);
}

.logo-main {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-dot {
    color: var(--gold);
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-top: 4px;
}

.navbar.scrolled .logo {
    color: var(--navy);
}

.navbar.scrolled .logo-sub {
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: color var(--transition);
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--text-dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav-links a:hover { color: var(--gold-light); }
.navbar.scrolled .nav-links a:hover { color: var(--gold-dark); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    margin-left: 8px;
}

.nav-cta .btn {
    padding: 10px 20px;
    font-size: 14px;
}


/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
    transform-origin: center;
}

.navbar.scrolled .hamburger span {
    background: var(--navy);
}

.hamburger.active span {
    background: var(--navy);
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gold);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    display: flex;
    opacity: 1;
}

.mobile-menu a {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
    transition: color var(--transition);
}

.mobile-menu a:hover {
    color: var(--navy-deep);
}

.mobile-menu .btn-primary {
    font-size: 15px;
    color: var(--white);
}

/* ============================================
   2. HERO — jasne tlo, dwie kolumny (Bridge style)
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: rgb(3, 67, 122);
}

/* Hero background image */
.hero-bg {
    position: absolute;
    inset: -20px;
    z-index: 0;
    background: url('img/hero-background.png') center center / cover no-repeat;
    transform: scale(1.06);
}

/* Przyciemnienie tła */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Dekoracyjne kolko akcentowe za zdjeciem */
.hero-deco {
    position: absolute;
    right: -5%;
    top: 15%;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,168,67,0.12) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 60px;
    height: 100vh;
}

/* -- Treść hero (wycentrowana) -- */
.hero-content {
    text-align: center;
    max-width: 820px;
}

.hero h1 {
    font-size: clamp(32px, 4.2vw, 52px);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: var(--white);
    line-height: 1.15;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(16px, 1.8vw, 21px);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    margin: 0 auto 28px;
    max-width: 560px;
}

/* Badges pod przyciskiem */
.hero-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 36px;
    justify-content: center;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-badge svg {
    width: 28px;
    height: 28px;
    color: rgba(255,255,255,0.4);
    stroke-width: 1.5;
}

.hero-badge span {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
}

/* ============================================
   3. KIM JESTEŚMY (O NAS + LEKTORZY)
   ============================================ */
.about {
    background: var(--bg-page);
}

.about-intro {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.about-intro p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ============================================
   4. NASI LEKTORZY
   ============================================ */
.lektor-section {
    background: var(--bg-page);
}

/* ============================================
   5. CO OFERUJEMY — pełnoekranowe bloki ze zdjęciem w tle
   ============================================ */
.offer {
    background: var(--white);
    border-top: 1px solid rgba(212,168,67,0.1);
    padding-bottom: 0;
}

.offer-stack {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px 80px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.offer-feature {
    position: relative;
    min-height: 260px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(27,42,74,0.12);
    transition: min-height 0.4s ease;
}

.offer-feature.is-open {
    min-height: 420px;
}

.offer-feature::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17,29,53,0.85) 0%, rgba(17,29,53,0.55) 55%, rgba(17,29,53,0.15) 100%);
    z-index: 1;
}

.offer-feature-right::before {
    background: linear-gradient(270deg, rgba(17,29,53,0.85) 0%, rgba(17,29,53,0.55) 55%, rgba(17,29,53,0.15) 100%);
}

.offer-feature .container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 48px;
    max-width: 100%;
}

.offer-feature-content {
    max-width: 520px;
    color: var(--white);
}

.offer-feature-right .offer-feature-content {
    margin-left: auto;
    text-align: right;
}

.offer-feature-limited .offer-feature-content {
    text-align: left;
}

.offer-feature-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 16px;
    padding: 6px 14px;
    border: 1px solid rgba(232,200,114,0.4);
    border-radius: 999px;
}

.offer-feature h3 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
    line-height: 1.2;
}

.offer-feature p {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,0.92);
    margin: 0;
}

.offer-feature-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease, margin 0.4s ease;
    margin-bottom: 0;
}

.offer-feature.is-open .offer-feature-details {
    max-height: 1200px;
    opacity: 1;
    margin-bottom: 20px;
}

.offer-lead {
    margin-bottom: 20px !important;
}

.offer-camps {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.offer-camps li {
    padding: 14px 18px;
    background: rgba(255,255,255,0.08);
    border-left: 3px solid var(--gold);
    border-radius: 8px;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 18px;
    row-gap: 4px;
    align-items: baseline;
}

.offer-camps-date {
    grid-row: 1 / 3;
    align-self: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.offer-camps li strong {
    font-family: var(--font-display);
    font-size: 17px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.offer-camps li > span:last-child {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
}

.offer-info {
    margin: 0 0 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
}

.offer-info div {
    display: grid;
    grid-template-columns: 100px 1fr;
    column-gap: 16px;
    align-items: baseline;
}

.offer-info dt {
    font-weight: 700;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
}

.offer-info dd {
    margin: 0;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}

.offer-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.6);
    color: var(--white);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.offer-toggle:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.offer-toggle-icon {
    transition: transform 0.4s ease;
}

.offer-feature.is-open .offer-toggle-icon {
    transform: rotate(180deg);
}

.offer-cta {
    text-align: center;
    margin-top: 16px;
}

.offer-feature-limited::after {
    content: '';
    position: absolute;
    top: 24px;
    left: 24px;
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(212,168,67,0.7);
    animation: pulseDot 2s infinite;
    z-index: 3;
}

@keyframes pulseDot {
    0%   { box-shadow: 0 0 0 0 rgba(212,168,67,0.7); }
    70%  { box-shadow: 0 0 0 16px rgba(212,168,67,0); }
    100% { box-shadow: 0 0 0 0 rgba(212,168,67,0); }
}

/* ============================================
   6. KARUZELA LEKTORÓW
   ============================================ */
.lektor-carousel {
    position: relative;
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.lektor-track {
    position: relative;
    overflow: hidden;
    min-height: 460px;
}

.lektor-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 28px;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateX(40px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear 0.5s;
}

.lektor-photo {
    max-width: 380px;
    width: 100%;
    justify-self: end;
}

.lektor-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear;
}

.lektor-photo {
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.lektor-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.lektor-info h3 {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 34px);
    color: var(--navy);
    margin-bottom: 16px;
}

.lektor-info p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.lektor-info .btn {
    margin-top: 12px;
}

.lektor-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid rgba(27,42,74,0.12);
    color: var(--navy);
    box-shadow: 0 4px 16px rgba(27,42,74,0.08);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all var(--transition);
}

.lektor-arrow:hover {
    background: var(--navy);
    color: var(--white);
    transform: scale(1.08);
    border-color: var(--navy);
}

.lektor-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.lektor-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(27,42,74,0.18);
    cursor: pointer;
    transition: all var(--transition);
}

.lektor-dot:hover {
    background: rgba(27,42,74,0.4);
}

.lektor-dot.active {
    background: var(--navy);
    width: 32px;
    border-radius: 6px;
}

/* ============================================
   7. OPINIE KLIENTÓW — marquee
   ============================================ */
.testimonials {
    background: var(--white);
    overflow: hidden;
}

/* Pojemnik marquee — pełna szerokość, miękkie wyblaknięcie po bokach */
.reviews-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}

/* Pas z kartami — pozycja kontrolowana przez JS (auto-scroll + drag) */
.reviews-track {
    display: flex;
    width: max-content;
    will-change: transform;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.reviews-track.is-dragging {
    cursor: grabbing;
}

/* Wyłącz przeciąganie obrazków SVG przy drag */
.reviews-track svg,
.reviews-track img {
    -webkit-user-drag: none;
    pointer-events: none;
}

/* Karta opinii */
.review-card {
    flex: 0 0 360px;
    width: 360px;
    margin-right: 24px;             /* margin-right na KAŻDEJ karcie — odstęp identyczny też przy granicy zestawów */
    box-sizing: border-box;
    padding: 28px;
    background: var(--white);
    border: 1px solid rgba(212,168,67,0.15);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 240px;
}

.review-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    display: grid;
    place-items: center;
    font-family: 'Roboto', var(--font-body);
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    flex-shrink: 0;
}

.review-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 2px;
}

.review-stars {
    color: #D4A843;
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 1;
}

.review-google {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.review-text {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-dark);
    margin: 0;
}

.testimonials-cta {
    text-align: center;
    margin-top: 40px;
}

/* ============================================
   10. KONTAKT
   ============================================ */
.contact {
    background: var(--bg-page);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: stretch;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    box-shadow: 0 2px 12px rgba(27,42,74,0.05);
    border: 1px solid rgba(212,168,67,0.1);
}

.contact-map {
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(27,42,74,0.12);
    min-height: 100%;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(27,42,74,0.12);
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--white);
    transition: all var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(43,94,160,0.12);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-submit .btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 16px;
}

/* ============================================
   8. FOOTER
   ============================================ */
.footer {
    background: var(--navy-deep);
    color: rgba(255,255,255,0.6);
    padding: 56px 0 24px;
}

.footer .container {
    display: block;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-col p {
    font-size: 15px;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.7);
}

.footer-col p a {
    color: rgba(255,255,255,0.85);
    transition: color var(--transition);
}

.footer-col p a:hover {
    color: var(--gold-light);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    display: block;
    margin-bottom: 8px;
}

.footer-logo span {
    color: var(--gold);
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    max-width: 280px;
}

.footer-bottom {
    padding-top: 24px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-align: center;
}

.footer-bottom a {
    color: rgba(255,255,255,0.7);
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: var(--gold-light);
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
    color: var(--white);
}

/* ============================================
   BANER COOKIES
   ============================================ */
.cookie-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 1900;
    max-width: 560px;
    margin: 0 auto;
    display: none;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    background: var(--navy-deep);
    color: rgba(255,255,255,0.85);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.cookie-banner.visible {
    display: flex;
    animation: modalRise 0.4s cubic-bezier(0.22,1,0.36,1);
}

.cookie-text {
    flex: 1 1 260px;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.cookie-text a {
    color: var(--gold-light);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition);
}

.cookie-btn-accept {
    background: var(--gold);
    color: var(--navy-deep);
}

.cookie-btn-accept:hover {
    background: var(--gold-light);
}

.cookie-btn-reject {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.cookie-btn-reject:hover {
    background: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
    }
}

/* ============================================
   MODAL — polityka prywatności
   ============================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17,29,53,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: modalFade 0.3s ease;
}

.modal-box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 760px;
    max-height: 86vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 48px;
    animation: modalRise 0.35s cubic-bezier(0.22,1,0.36,1);
}

.modal-close {
    position: sticky;
    top: 0;
    float: right;
    width: 40px;
    height: 40px;
    margin: -16px -16px 0 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--bg-warm);
    color: var(--navy);
    transition: all var(--transition);
}

.modal-close:hover {
    background: var(--navy);
    color: var(--white);
}

@keyframes modalFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes modalRise {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Treść prawna (wewnątrz modala) */
.modal-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 32px);
    color: var(--navy);
    margin-bottom: 8px;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 32px;
}

.legal-content h3 {
    font-size: 19px;
    margin: 30px 0 12px;
}

.legal-content p,
.legal-content li {
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.75;
}

.legal-content p {
    margin-bottom: 12px;
}

.legal-content ul {
    list-style: disc;
    padding-left: 22px;
    margin-bottom: 12px;
}

.legal-content li {
    margin-bottom: 6px;
}

.legal-content a {
    color: var(--accent);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--accent-dark);
}

@media (max-width: 768px) {
    .modal-box {
        padding: 32px 22px;
    }
}

/* ============================================
   ANIMACJE — HERO ENTRANCE
   ============================================ */
@keyframes heroFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes heroSlideUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Tlo: odsłonięcie od dołu ku górze (analogicznie do napisów wjeżdżających w górę) */
@keyframes heroReveal {
    from { opacity: 0; clip-path: inset(100% 0 0 0); }
    to   { opacity: 1; clip-path: inset(0 0 0 0); }
}

/* 1. Tlo — wchodzi pierwsze (płynne odsłonięcie, bez przybliżania) */
.hero-bg {
    opacity: 0;
    animation: heroReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0s forwards;
}

/* 3. Glowny napis */
.hero h1 {
    opacity: 0;
    animation: heroSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
}

/* 4. Reszta — subtitle, przycisk, badges */
.hero-subtitle {
    opacity: 0;
    animation: heroSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.1s forwards;
}

.hero .btn-primary {
    opacity: 0;
    animation: heroSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.3s forwards;
}

.hero-badges {
    opacity: 0;
    animation: heroSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.5s forwards;
}

/* Deco circle */
.hero-deco {
    opacity: 0;
    animation: heroFadeIn 1.2s ease 0.6s forwards;
}

/* ============================================
   ANIMACJE — SCROLL REVEAL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSYWNOSC
   ============================================ */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
}

/* Karuzela lektorów — jednokolumnowy układ już od tabletów (≤960px),
   bo dwuiarna sekcja zdjęcie+tekst jest za ciasna w tym zakresie */
@media (max-width: 960px) {
    .lektor-carousel {
        display: block;
    }

    .lektor-track {
        position: relative;
        min-height: 0;
        overflow: hidden;
    }

    .lektor-slide {
        position: relative;
        inset: auto;
        display: none;
        grid-template-columns: 1fr;
        gap: 20px;
        transform: none;
        opacity: 1;
        visibility: visible;
        transition: none;
        padding: 0 56px;
    }

    .lektor-slide.active {
        display: grid;
    }

    .lektor-photo {
        max-width: 280px;
        margin: 0 auto;
        justify-self: center;
    }

    .lektor-info {
        text-align: center;
    }

    .lektor-arrow {
        position: absolute;
        top: 130px;
        z-index: 2;
        width: 40px;
        height: 40px;
    }

    .lektor-arrow-prev {
        left: 4px;
    }

    .lektor-arrow-next {
        right: 4px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 32px;
    }

    section {
        padding: 64px 0;
    }

    .nav-links, .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        height: 100vh;
        height: 100dvh;
    }

    .hero .container {
        padding-top: 90px;
        padding-bottom: 40px;
        height: 100vh;
        height: 100dvh;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero h1 {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .hero-badges {
        margin-top: 20px;
        gap: 12px;
    }

    .hero-deco {
        width: 250px;
        height: 250px;
        right: -10%;
        top: auto;
        bottom: 0;
    }


    .offer-stack {
        padding: 0 20px 64px;
        gap: 20px;
    }

    .offer-feature {
        min-height: 380px;
    }

    .offer-feature .container {
        padding: 32px 24px;
    }

    .offer-feature::before,
    .offer-feature-right::before {
        background: linear-gradient(180deg, rgba(17,29,53,0.7) 0%, rgba(17,29,53,0.92) 100%);
    }

    .offer-feature-content,
    .offer-feature-right .offer-feature-content {
        max-width: 100%;
        margin-left: 0;
        text-align: left;
    }

    .offer-feature h3 {
        font-size: 26px;
    }

    .offer-feature p {
        font-size: 15px;
    }

    .review-card {
        flex: 0 0 280px;
        width: 280px;
        margin-right: 16px;
        padding: 22px;
    }


    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 28px;
    }

    .contact-map iframe {
        min-height: 280px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-tagline {
        margin: 0 auto;
    }

    .section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .hero-badges {
        gap: 8px;
    }

    .hero-badge svg {
        width: 22px;
        height: 22px;
    }

    .hero-badge span {
        font-size: 11px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    .hero-bg,
    .hero-deco,
    .hero h1,
    .hero-subtitle,
    .hero .btn,
    .hero-badges {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .review-card,
    .btn-primary {
        transition: none !important;
    }

    .reviews-track {
        animation: none !important;
    }
}
