/* ==========================================================================
   DlaNart.pl – "Na stoku"
   1. Variables   2. Base   3. Components   4. Sections
   5. Responsive  6. Motion 7. Print
   ========================================================================== */

/* --- 1. Variables --- */
:root {
    --navy: #284050;
    --navy-deep: #1b2d3a;
    --red: #f01820;
    --red-deep: #c8101a;
    --red-bright: #ff4a52;
    --snow: #f8f8f8;
    --ice: #e9f0f5;
    --ice-deep: #d5e0e9;
    --ink: #1f2933;
    --ink-soft: #5b6b7a;
    --white: #fff;
    --gold: #ffc531;

    --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
    --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

    --container: 1200px;
    --gutter: 20px;
    --header-h: 76px;
    --slope: clamp(24px, 4vw, 64px);
    --radius: 16px;
    --radius-sm: 10px;

    --shadow-sm: 0 2px 8px rgba(27, 45, 58, .06), 0 1px 2px rgba(27, 45, 58, .06);
    --shadow-md: 0 12px 32px -12px rgba(27, 45, 58, .22), 0 2px 6px rgba(27, 45, 58, .06);
    --shadow-lg: 0 30px 60px -20px rgba(27, 45, 58, .35), 0 8px 20px -8px rgba(27, 45, 58, .15);

    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    --ridge-wm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 28'%3E%3Cpath d='M2 26 22 10 34 18 52 3 68 16 84 7 100 20 116 12 138 26' fill='none' stroke='%23284050' stroke-width='1.2' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* --- 2. Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
    overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
small { font-size: inherit; }

:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
    border-radius: 4px;
}

.container {
    width: min(var(--container), 100% - 2 * var(--gutter));
    margin-inline: auto;
}

section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.02;
    color: var(--navy);
    letter-spacing: .005em;
}

.section-head { margin-bottom: 2.75rem; }
.section-head.center { text-align: center; }
.section-head.center .ridge,
.section-head.center .lead { margin-inline: auto; }

.section-title {
    font-size: clamp(2.3rem, 4.5vw, 3.6rem);
    text-transform: uppercase;
}

.eyebrow {
    display: block;
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: .6rem;
}

.ridge {
    display: block;
    width: 110px;
    height: 22px;
    color: var(--red);
    margin-top: .9rem;
}

.lead {
    font-size: 1.15rem;
    color: var(--ink-soft);
    max-width: 60ch;
    margin-top: 1.25rem;
}

/* Slanted "piste" edges – the cut-outs show the white body background */
.section--slope {
    clip-path: polygon(0 0, 100% var(--slope), 100% 100%, 0 calc(100% - var(--slope)));
    padding-block: calc(var(--slope) + 4.5rem);
}

.section--slope-top {
    clip-path: polygon(0 0, 100% var(--slope), 100% 100%, 0 100%);
    padding-top: calc(var(--slope) + 4rem);
}

/* Film grain for navy/red surfaces */
.grain { position: relative; isolation: isolate; }
.grain::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    opacity: .07;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 0;
}
.grain > * { position: relative; z-index: 1; }

.on-dark .eyebrow { color: rgba(255, 255, 255, .7); }
.on-dark .section-title,
.on-dark h3 { color: var(--white); }

.print-only { display: none; }

/* --- 3. Components --- */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1;
    padding: 1rem 1.9rem;
    border-radius: 999px;
    border: 2px solid transparent;
    white-space: nowrap;
    transition: transform .2s, background-color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover .fa-phone { animation: ring .6s ease; }

.btn--red {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 12px 28px -10px rgba(240, 24, 32, .65);
}
.btn--red:hover { background: var(--red-deep); }

.btn--ghost {
    color: var(--white);
    border-color: rgba(255, 255, 255, .55);
}
.btn--ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, .12);
}

.btn--white {
    background: var(--white);
    color: var(--red);
    box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .4);
}
.btn--white:hover { background: var(--snow); }

.btn--sm { font-size: 1.05rem; padding: .7rem 1.3rem; }
.btn--lg { font-size: 1.35rem; padding: 1.15rem 2.3rem; }

/* Price rows with dotted leaders */
.row {
    display: flex;
    align-items: baseline;
    gap: .7rem;
    padding: .9rem 0;
    border-bottom: 1px solid var(--ice);
}
.row:last-of-type { border-bottom: 0; }

.row-name {
    font-weight: 600;
    line-height: 1.35;
}

.row-note {
    display: block;
    font-weight: 400;
    font-size: .85rem;
    color: var(--ink-soft);
    margin-top: .15rem;
}

.leader {
    flex: 1;
    min-width: 1.5rem;
    border-bottom: 2px dotted var(--ice-deep);
    margin-bottom: .25em;
}

.row-price {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--red);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.row-price small {
    font-size: .6em;
    font-weight: 700;
    color: var(--ink-soft);
}

/* Big price numerals */
.price {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1;
    color: var(--red);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.price small {
    font-size: .42em;
    font-weight: 700;
    margin-left: .15em;
}

/* Checklist */
.checklist li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: .55rem;
    line-height: 1.45;
}
.checklist li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .8em;
    color: var(--navy);
    position: absolute;
    left: 0;
    top: .2em;
}

/* --- 4. Sections --- */

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--header-h);
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ice);
}
.site-header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.logo img { height: 48px; width: auto; }

.nav { display: none; gap: 2rem; }
.nav a {
    position: relative;
    padding: .25rem 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--navy);
}
.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s;
}
.nav a:hover::after { transform: scaleX(1); }

.header-call { display: none; }
.header-call-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-size: 1.1rem;
    box-shadow: 0 8px 20px -8px rgba(240, 24, 32, .7);
}

/* Hero */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 0 calc(var(--slope) + 4rem);
    color: var(--white);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(to top, rgba(27, 45, 58, .7), rgba(27, 45, 58, 0) 45%),
        linear-gradient(100deg, rgba(27, 45, 58, .92) 0%, rgba(27, 45, 58, .78) 35%, rgba(27, 45, 58, .3) 70%, rgba(27, 45, 58, .12) 100%),
        url("img/hero-1280.webp") center / cover no-repeat;
    background-color: var(--navy);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--slope)));
}
.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2.5rem;
}
.hero-text { max-width: 660px; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: .5rem 1rem .5rem .85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .3);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    margin-bottom: 1.5rem;
}
.badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 4px rgba(240, 24, 32, .3);
}

.hero-text h1 {
    color: var(--white);
    font-size: clamp(2.8rem, 7vw, 5.4rem);
    text-transform: uppercase;
    line-height: .95;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}

.hl {
    display: inline-block;
    position: relative;
    padding: 0 .18em;
    margin: 0 .04em;
    isolation: isolate;
}
.hl::before {
    content: "";
    position: absolute;
    inset: .06em -.04em;
    background: var(--red);
    transform: skewX(-8deg);
    border-radius: 3px;
    z-index: -1;
}

.hero-text .lead {
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    max-width: 52ch;
    color: rgba(255, 255, 255, .88);
    margin: 0 0 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: .9rem;
    flex-wrap: wrap;
    font-size: .95rem;
    color: rgba(255, 255, 255, .85);
}
.stars {
    color: var(--gold);
    letter-spacing: .1em;
    font-size: 1.1rem;
}

/* Quick-price card overlapping the hero's slanted edge */
.quick-card {
    position: relative;
    z-index: 2;
    width: min(100% - 2 * var(--gutter), 360px);
    margin: 2.5rem auto 0;
    background: var(--white);
    color: var(--ink);
    border-radius: var(--radius);
    border-top: 5px solid var(--red);
    box-shadow: var(--shadow-lg);
    padding: 1.4rem 1.6rem 1.5rem;
}
.quick-card .eyebrow { color: var(--navy); margin-bottom: .6rem; }
.quick-card .row { padding: .6rem 0; }
.quick-card .row-price { font-size: 1.45rem; }
.quick-card .more {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: 1rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--red);
}
.quick-card .more i { transition: transform .2s; }
.quick-card .more:hover i { transform: translateX(4px); }

/* Brands */
.brands {
    padding: 3rem 0 2.5rem;
    text-align: center;
}
.brands-title {
    font-size: .8rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-soft);
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.brand-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem 3rem;
}
.brand-logos img {
    height: 34px;
    width: auto;
    filter: grayscale(1);
    opacity: .5;
    transition: filter .3s, opacity .3s;
}
.brand-logos img:hover { filter: none; opacity: 1; }

/* Cennik – the price board */
.cennik {
    position: relative;
    background: var(--ice);
    overflow: hidden;
}
.cennik::before {
    content: "";
    position: absolute;
    right: -6%;
    top: 3%;
    width: 70vw;
    max-width: 900px;
    aspect-ratio: 5 / 1;
    background: var(--ridge-wm) center / contain no-repeat;
    opacity: .07;
    pointer-events: none;
}
.cennik .container { position: relative; }

.discipline + .discipline { margin-top: 4rem; }
.discipline-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.discipline-head h3 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    text-transform: uppercase;
}
.discipline-head .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--navy);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    flex: none;
}

.price-grid { display: grid; gap: 1.5rem; }
.packages { display: grid; gap: 1.5rem; }

.pkg {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: transform .25s, box-shadow .25s;
}
.pkg:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.pkg img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
}
.pkg-body { padding: 1.5rem 1.75rem 1.75rem; }
.pkg-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    border-bottom: 2px solid var(--ice);
    padding-bottom: 1rem;
    margin-bottom: 1.1rem;
}
.pkg-name {
    font-size: 1.75rem;
    text-transform: uppercase;
}

.tag {
    position: absolute;
    top: 1rem;
    left: -8px;
    z-index: 2;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .4rem 1rem .4rem 1.2rem;
    transform: skewX(-10deg);
    box-shadow: 0 8px 18px -6px rgba(240, 24, 32, .7);
}
.tag span { display: inline-block; transform: skewX(10deg); }

.singles {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 1.6rem 1.75rem 1.25rem;
}
.singles::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--navy);
}
.singles h4 {
    font-size: 1.45rem;
    text-transform: uppercase;
}
.singles .hint {
    font-size: .8rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--ink-soft);
    font-weight: 600;
    margin: .2rem 0 .5rem;
}

.skates {
    margin-top: 3.5rem;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius);
    padding: 2rem 2.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    overflow: hidden;
}
.skates .eyebrow { color: rgba(255, 255, 255, .65); }
.skates h3 {
    color: var(--white);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: .6rem;
}
.skates h3 i { color: var(--red-bright); font-size: .8em; }
.skates p { color: rgba(255, 255, 255, .75); margin-top: .35rem; }
.skates-cta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.skates .price { color: var(--white); }
.skates .price small { color: rgba(255, 255, 255, .7); }

.note {
    margin-top: 1.5rem;
    color: var(--ink-soft);
    font-size: .95rem;
    text-align: center;
}

/* Opinie */
.opinie { padding-block: 5rem; }
.quotes { display: grid; gap: 1.5rem; }

.quote {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: .9rem;
    background: var(--white);
    border: 1px solid var(--ice);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 2.4rem 1.75rem 1.75rem;
    transition: transform .25s, box-shadow .25s;
}
.quote:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.quote::before {
    content: "\201C";
    position: absolute;
    top: -1rem;
    left: 1rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 7.5rem;
    line-height: 1;
    color: var(--ice);
    pointer-events: none;
}
.quote .stars {
    position: relative;
    color: #f5b301;
    font-size: .95rem;
}
.quote blockquote p {
    position: relative;
    font-size: 1.1rem;
    line-height: 1.5;
}
.quote .author {
    margin-top: auto;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--navy);
}
.quote .author::before {
    content: "";
    display: inline-block;
    width: 1.5rem;
    height: 2px;
    background: var(--red);
    vertical-align: middle;
    margin-right: .6rem;
}

/* Proces */
.proces {
    background: var(--navy);
    color: var(--white);
}
.steps {
    position: relative;
    display: grid;
    gap: 2.5rem;
}
.step {
    position: relative;
    text-align: center;
    padding: 1.4rem 1rem 0;
}
.step-num {
    position: absolute;
    top: -.6rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 5.5rem;
    line-height: 1;
    color: rgba(255, 255, 255, .07);
    pointer-events: none;
}
.step-icon {
    position: relative;
    z-index: 1;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, .08), 0 14px 30px -8px rgba(240, 24, 32, .6);
}
.step h3 {
    font-size: 1.6rem;
    text-transform: uppercase;
    margin-bottom: .5rem;
}
.step p {
    color: rgba(255, 255, 255, .75);
    max-width: 30ch;
    margin-inline: auto;
}

/* O nas */
.onas { padding-block: 5rem; }
.onas-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}
.photo-stack {
    position: relative;
    padding: 0 1.5rem 1.5rem 0;
}
.photo-stack::before {
    content: "";
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    right: 0;
    bottom: 0;
    background: var(--navy);
    border-radius: var(--radius);
}
.photo-stack img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.onas-text p { color: var(--ink-soft); margin-bottom: 1rem; }
.onas-text .lead { margin-bottom: 1rem; }

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.75rem;
}
.stat {
    background: var(--ice);
    border-radius: var(--radius-sm);
    padding: .9rem 1.25rem;
    min-width: 140px;
}
.stat b {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.9rem;
    line-height: 1;
    color: var(--navy);
    text-transform: uppercase;
}
.stat span {
    font-size: .85rem;
    color: var(--ink-soft);
    font-weight: 500;
}

/* Kontakt */
.kontakt { background: var(--ice); }
.kontakt-grid { display: grid; gap: 2rem; }

.info-card {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 2rem;
}
.info {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.info i {
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--ice);
    color: var(--navy);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
}
.info h4 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .2rem;
}
.info p { color: var(--ink-soft); line-height: 1.5; }
.info a:hover { color: var(--red); }

.hours {
    display: grid;
    grid-template-columns: auto auto;
    gap: .15rem 1.25rem;
    color: var(--ink-soft);
}
.hours b { color: var(--ink); font-weight: 600; }

.map {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 16 / 10;
    min-height: 320px;
    background: var(--ice-deep);
}
.map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* FAQ */
.faq { padding-block: 5rem; }
.faq-list {
    max-width: 820px;
    margin: 0 auto;
}
.faq-list details { border-bottom: 1px solid var(--ice-deep); }
.faq-list summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.35rem 0;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--navy);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .85rem;
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ice);
    color: var(--red);
    display: grid;
    place-items: center;
    transition: transform .3s, background-color .3s;
}
.faq-list details[open] summary::after {
    transform: rotate(180deg);
    background: var(--red);
    color: var(--white);
}
.faq-list details p {
    padding: 0 0 1.5rem;
    color: var(--ink-soft);
    max-width: 65ch;
}

/* CTA */
.cta {
    background: var(--red);
    color: var(--white);
    text-align: center;
    padding-bottom: 5rem;
}
.cta h2 {
    color: var(--white);
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    text-transform: uppercase;
    line-height: .95;
}
.cta h2 span {
    display: block;
    font-size: .5em;
    font-weight: 700;
    letter-spacing: .04em;
    opacity: .92;
    margin-top: .3em;
}
.cta p {
    margin: 1.25rem auto 2rem;
    max-width: 46ch;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .9);
}

/* Footer */
.site-footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, .62);
    padding: 3.5rem 0 2.5rem;
    font-size: .95rem;
    text-align: center;
}
.footer-brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.2rem;
    line-height: 1;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1rem;
}
.footer-brand span { color: var(--red); }
.site-footer .strong {
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .75rem;
}
.site-footer p { margin-bottom: .35rem; }
.site-footer a:hover { color: var(--white); }

/* Mobile call bar */
.call-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .95rem 1rem calc(.95rem + env(safe-area-inset-bottom));
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .25);
}

/* --- 5. Responsive --- */
@media (max-width: 639.98px) {
    body { padding-bottom: 68px; }
    .section-title br { display: none; } /* let phone-width titles wrap naturally */
}

@media (max-width: 400px) {
    .btn--lg { font-size: 1.2rem; padding: 1rem 1.5rem; }
    .hero-actions .btn { flex: 1 1 100%; }
}

@media (min-width: 640px) {
    .call-bar { display: none; }
    .packages { grid-template-columns: 1fr 1fr; }
    .quotes { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 760px) {
    .steps { grid-template-columns: repeat(3, 1fr); }
    .steps::before {
        content: "";
        position: absolute;
        top: calc(1.4rem + 34px);
        left: 17%;
        right: 17%;
        border-top: 2px dashed rgba(255, 255, 255, .22);
    }
}

@media (min-width: 900px) {
    .onas-grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        gap: 4.5rem;
    }
    .kontakt-grid {
        grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
        align-items: stretch;
    }
}

@media (min-width: 960px) {
    .nav { display: flex; }
    .header-call { display: inline-flex; }
    .header-call-icon { display: none; }

    .hero .container { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
    .quick-card {
        position: absolute;
        right: max(var(--gutter), calc(50% - var(--container) / 2 + var(--gutter)));
        bottom: -3.75rem;
        margin: 0;
        width: 360px;
    }
    .brands { padding-top: 6.5rem; }

    .price-grid {
        grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
        align-items: start;
    }
    .pkg--featured {
        margin-top: -12px;
        margin-bottom: 12px;
    }
    .quotes { grid-template-columns: repeat(3, 1fr); }
}

/* --- 6. Motion --- */
@keyframes rise {
    from { opacity: 0; translate: 0 22px; }
    to   { opacity: 1; translate: 0 0; }
}
@keyframes ring {
    0%, 100% { transform: rotate(0); }
    20%      { transform: rotate(-18deg); }
    40%      { transform: rotate(14deg); }
    60%      { transform: rotate(-8deg); }
    80%      { transform: rotate(4deg); }
}

@media (prefers-reduced-motion: no-preference) {
    .hero-text > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
    .hero-text > :nth-child(1) { animation-delay: .05s; }
    .hero-text > :nth-child(2) { animation-delay: .17s; }
    .hero-text > :nth-child(3) { animation-delay: .29s; }
    .hero-text > :nth-child(4) { animation-delay: .41s; }
    .hero-text > :nth-child(5) { animation-delay: .53s; }
    .quick-card { animation: rise .9s cubic-bezier(.2, .7, .2, 1) .7s both; }

    /* Scroll-driven reveals; browsers without support simply show the content */
    @supports (animation-timeline: view()) {
        .reveal {
            animation: rise linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 35%;
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* --- 7. Print: only the price board --- */
@media print {
    .site-header, .hero, .brands, .opinie, .proces, .onas, .kontakt, .faq, .cta, .site-footer, .call-bar,
    .cennik::before, .pkg img, .skates .btn, .ridge, .cennik .lead {
        display: none !important;
    }
    body { background: #fff; color: #000; font-size: 11pt; padding: 0; }
    .print-only { display: block; margin-top: .5rem; color: #000; }
    .cennik { clip-path: none; background: #fff; padding: 0; overflow: visible; }
    .section-head { margin-bottom: 1.5rem; }
    .section-title, .discipline-head h3, .pkg-name, .singles h4, .skates h3 { color: #000; }
    .eyebrow { color: #000; }
    .discipline-head .icon { display: none; }
    .discipline + .discipline { margin-top: 2rem; }
    .price-grid { grid-template-columns: 2fr 1fr; gap: 1rem; }
    .packages { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .pkg, .singles, .skates {
        box-shadow: none;
        border: 1px solid #bbb;
        break-inside: avoid;
        background: #fff;
        color: #000;
        transform: none;
    }
    .pkg--featured { margin: 0; }
    .tag { display: none; }
    .skates { margin-top: 1.5rem; padding: 1.25rem 1.5rem; }
    .skates p, .skates .eyebrow { color: #333; }
    .price, .row-price, .skates .price, .skates .price small, .skates h3 i { color: #000; }
    .checklist li::before { color: #000; }
    .grain::after { display: none; }
    .reveal { animation: none !important; opacity: 1 !important; translate: none !important; }
}
