/* =========================================================
   WODNA PASJA — STRONA GŁÓWNA
========================================================= */

:root {
    --bg: #050a0e;
    --bg-2: #081119;
    --surface: #0b202d;
    --surface-2: #0d1820;

    --white: #f5f7f8;
    --text: #d6dee3;
    --muted: #8c9ba4;

    --blue: #16aef0;
    --blue-light: #43c5ff;

    --green: #72ef32;
    --green-light: #a0ff58;

    --line: rgba(170, 210, 230, 0.17);
    --line-strong: rgba(54, 190, 245, 0.42);

    --container: 1280px;
    --header-height: 132px;

    --serif: "DM Serif Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;

    --transition: 220ms ease;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;

    background: var(--bg);
    color: var(--white);

    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: 0;
    color: inherit;
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(calc(100% - 64px), var(--container));
    margin-inline: auto;
}


/* =========================================================
   GLOBAL TYPOGRAPHY
========================================================= */

.eyebrow {
    color: var(--blue-light);

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.22em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 400;
}

h1 span,
h2 span {
    display: block;

    color: var(--blue-light);

    font-style: italic;
}


/* =========================================================
   HEADER
========================================================= */

/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;
    z-index: 1000;
    height: 112px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
}


/* LOGO */

.header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.header-logo img {
    width: 165px;
    height: auto;
}


/* DESKTOP NAV */

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 38px;
    margin-left: auto;
}

.desktop-nav > a,
.nav-dropdown-button {
    position: relative;

    display: flex;
    align-items: center;
    gap: 7px;

    padding: 12px 0;

    border: 0;
    background: transparent;

    color: var(--text);

    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;

    cursor: pointer;

    transition:
        color var(--transition);
}

.desktop-nav > a:hover,
.desktop-nav > a.active,
.nav-dropdown-button:hover {
    color: var(--white);
}

.desktop-nav > a.active::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 5px;

    width: 100%;
    height: 1px;

    background: var(--blue);
}


/* DROPDOWN */

.nav-dropdown {
    position: relative;
}

.nav-chevron {
    position: relative;
    top: -1px;

    color: var(--blue-light);

    font-size: 14px;

    transition:
        transform var(--transition);
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron {
    transform: rotate(180deg);
}


/* MENU USŁUG */

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;

    width: 310px;
    padding: 8px;

    background: rgba(5, 14, 20, 0.98);
    border: 1px solid var(--line);

    opacity: 0;
    visibility: hidden;

    transform: translate(-50%, 8px);

    transition:
        opacity var(--transition),
        visibility var(--transition),
        transform var(--transition);
}


/*
   Niewidoczny most pomiędzy
   przyciskiem a dropdownem.
   Dzięki temu menu nie znika,
   gdy przesuwamy na nie kursor.
*/

.nav-dropdown-menu::before {
    content: "";

    position: absolute;
    left: 0;
    bottom: 100%;

    width: 100%;
    height: 20px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;

    transform:
        translate(-50%, 0);
}


/* LINKI DROPDOWNU */

.nav-dropdown-menu a {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 48px;
    padding: 0 14px;

    border-bottom: 1px solid var(--line);

    color: var(--text);

    font-size: 12px;
    font-weight: 500;

    white-space: nowrap;

    transition:
        color var(--transition),
        background var(--transition),
        padding var(--transition);
}

.nav-dropdown-menu a:last-child {
    border-bottom: 0;
}

.nav-dropdown-menu a:hover {
    color: var(--white);
    background: rgba(22, 174, 240, 0.07);
}

.dropdown-number {
    color: var(--green);

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
}


/* CTA */

.header-cta {
    min-width: 170px;
    height: 50px;

    margin-left: 38px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    padding: 0 18px;

    border: 1px solid var(--line-strong);

    color: var(--white);

    font-size: 12px;
    font-weight: 500;

    transition:
        background var(--transition),
        border-color var(--transition),
        color var(--transition);
        
border: 0;
font-family: inherit;
cursor: pointer;
appearance: none;
-webkit-appearance: none;
background: var(--blue);
color: #031017;
}

.header-cta:hover {
    border-color: var(--blue);

    background: var(--blue);

    color: #031017;
}


/* MOBILE */

.mobile-menu-button,
.mobile-nav {
    display: none;
}

/* =========================================================
   BUTTONS
========================================================= */

.button {
    min-height: 56px;

    display: inline-flex;
    align-items: center;
    justify-content: space-between;

    gap: 36px;

    padding: 0 24px;

    font-size: 13px;
    font-weight: 500;

    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}

.button-primary {
    color: #031017;
    background: var(--blue);
}

.button-primary:hover {
    background: var(--blue-light);
    transform: translateY(-2px);
}

.text-action {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    padding: 10px 0 6px;

    border-bottom: 1px solid var(--line-strong);

    color: var(--white);

    font-size: 13px;

    transition:
        color var(--transition),
        border-color var(--transition);
}

.text-action:hover {
    color: var(--blue-light);
    border-color: var(--blue-light);
}


/* =========================================================
   HERO — VIDEO
========================================================= */

.hero {
    position: relative;
    min-height: calc(100vh - 112px);

    display: flex;
    align-items: stretch;

    overflow: hidden;

    background: #03090d;
}


/* VIDEO */

.hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video video {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;
}


/* WARSTWA PRZYCIEMNIAJĄCA */

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(2, 8, 12, 0.96) 0%,
            rgba(2, 8, 12, 0.88) 28%,
            rgba(2, 8, 12, 0.58) 55%,
            rgba(2, 8, 12, 0.20) 100%
        ),
        linear-gradient(
            0deg,
            rgba(2, 8, 12, 0.88) 0%,
            rgba(2, 8, 12, 0.08) 45%,
            rgba(2, 8, 12, 0.18) 100%
        );
}


/* GŁÓWNY UKŁAD */

.hero-inner {
    position: relative;
    z-index: 2;

    min-height: calc(100vh - 112px);

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding-top: clamp(90px, 11vh, 145px);
    padding-bottom: 34px;
}


/* TREŚĆ */

.hero-content {
    width: min(720px, 62%);
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 27px;

    color: var(--blue-light);

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.20em;

    text-transform: uppercase;
}

.hero-eyebrow span {
    width: 32px;
    height: 1px;

    display: block;

    background: var(--green);
}


.hero h1 {
    max-width: 760px;

    color: var(--white);

    font-family: var(--serif);
    font-size: clamp(58px, 5.6vw, 88px);
    font-weight: 400;

    line-height: 0.98;
    letter-spacing: -0.04em;
}

.hero h1 span {
    display: block;

    margin-top: 8px;

    color: var(--green);

    font-style: italic;
}


/* OPIS */

.hero-description {
    max-width: 590px;

    margin-top: 30px;

    color: rgba(235, 241, 244, 0.78);

    font-size: 15px;
    line-height: 1.8;
}


/* PRZYCISKI */

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-top: 37px;
}

.hero-actions .button {
    min-width: 190px;
}

.button-outline {
    color: var(--white);

    border: 1px solid rgba(255, 255, 255, 0.35);

    background: rgba(4, 12, 17, 0.28);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.button-outline:hover {
    border-color: var(--white);

    background: rgba(255, 255, 255, 0.08);

    transform: translateY(-2px);
}


/* DÓŁ HERO */

.hero-bottom {
    width: 100%;

    display: grid;
    grid-template-columns: 260px 330px 1fr;

    align-items: end;

    gap: 40px;

    padding-top: 26px;

    border-top: 1px solid rgba(255, 255, 255, 0.16);
}


.hero-bottom-item {
    display: flex;
    flex-direction: column;

    gap: 6px;
}

.hero-bottom-label {
    color: var(--blue-light);

    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.18em;

    text-transform: uppercase;
}

.hero-bottom-item strong {
    color: rgba(255, 255, 255, 0.82);

    font-size: 11px;
    font-weight: 500;
}


/* LOKALIZACJA */

.hero-bottom-location {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 15px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.16em;
}

.location-line {
    width: 80px;
    height: 1px;

    background: rgba(255, 255, 255, 0.28);
}



/* =========================================================
   ABOUT — WODNA PASJA
========================================================= */

.about-section {
    position: relative;
    padding: 150px 0 160px;
    background: linear-gradient(180deg, #050a0e 0%, #061017 100%);
    border-bottom: 1px solid var(--line);
}

.about-grid {
    display: grid;
    grid-template-columns: 220px 1px minmax(0, 1fr);
    gap: 56px;
}

.about-label {
    padding-top: 11px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-label span {
    display: block;
    margin-bottom: 12px;

    color: var(--blue-light);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.2em;
    white-space: nowrap;
}

.about-label-line {
    width: 72px;
    height: 1px;
    margin-top: 0;
    background: linear-gradient(90deg, var(--blue), var(--green));
}

/* SYMBOL WODNEJ PASJI */

.about-symbol {
    width: 170px;
    margin-top: 22px;

    display: flex;
    justify-content: flex-start;

    transform: none; /* najważniejsze */
}

.about-symbol img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0.95;
}

/* PIONOWA LINIA */

.about-divider {
    position: relative;
    width: 1px;
    background: rgba(255, 255, 255, 0.09);
}

.about-divider span {
    position: absolute;
    top: 0;
    left: 0;

    width: 1px;
    height: 75px;

    background: var(--blue);
}

/* TREŚĆ */

.about-content {
    max-width: 820px;
    padding-left: 0;
}

.about-content h2 {
    max-width: 780px;
    margin: 0;

    color: var(--white);
    font-family: var(--serif);
    font-size: clamp(46px, 4.2vw, 68px);
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: -0.035em;
}

.about-content h2 span {
    display: block;
    color: var(--green);
    font-style: italic;
}

.about-text {
    max-width: 620px;
    margin-top: 45px;
}

.about-text p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.about-text p + p {
    margin-top: 22px;
}



/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 80px;

    margin-bottom: 70px;
}

.section-heading .eyebrow {
    margin-bottom: 22px;
}

.section-heading h2 {
    max-width: 780px;

    font-size: clamp(48px, 4.7vw, 72px);
    line-height: 1;

    letter-spacing: -0.035em;
}

.section-heading h2 span {
    color: var(--blue-light);
}

.section-heading > p {
    max-width: 380px;

    padding-bottom: 6px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   SERVICES
========================================================= */

.services-section {
    position: relative;
    padding: 150px 0 160px;
    background:
        linear-gradient(
            to bottom,
            rgba(3, 10, 14, 0.05) 0%,
            rgba(3, 10, 14, 0.18) 28%,
            rgba(3, 10, 14, 0.72) 52%,
            var(--bg) 72%
        ),
        url("images/tło.png") top center / 100% auto no-repeat,
        var(--bg);
}

.services-grid {
    border-top: 1px solid var(--line);
}

.service-row {
    position: relative;

    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 0.7fr) 40px;
    align-items: center;
    gap: 70px;

    min-height: 155px;
    padding: 30px 0;

    border-bottom: 1px solid var(--line);

    transition:
        background var(--transition),
        padding var(--transition);
}
.service-row-title h3 {
    color: var(--white);

    font-family: var(--serif);
    font-size: clamp(24px, 2vw, 29px);
    font-weight: 400;

    line-height: 1.1;
    letter-spacing: -0.02em;

    transition:
        color var(--transition),
        transform var(--transition);
}
.service-row > p {
    max-width: 470px;

    color: var(--muted);

    font-size: 13px;
    font-weight: 400;
    line-height: 1.75;

    transition: color var(--transition);
}
.service-row::before {
    content: "";

    position: absolute;
    inset: 0 -22px;

    background: linear-gradient(
        90deg,
        rgba(22, 174, 240, 0.055) 0%,
        rgba(22, 174, 240, 0.018) 45%,
        transparent 80%
    );

    opacity: 0;
    pointer-events: none;

    transition: opacity var(--transition);
}

.service-row:hover::before {
    opacity: 1;
}

.service-row:hover .service-row-title h3 {
    color: var(--blue-light);
    transform: translateX(7px);
}

.service-row:hover > p {
    color: var(--text);
}

.service-row:hover .service-row-arrow {
    color: var(--green);
    transform: translate(4px, -4px);
}
.service-row-arrow {
    position: relative;
    z-index: 1;

    justify-self: end;

    color: var(--blue-light);
    font-size: 18px;

    transition:
        color var(--transition),
        transform var(--transition);
}

/* =========================
   CARE SECTION
========================= */

.care-section {
    position: relative;

    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr);

    min-height: 720px;

    background: #030a0e;
    overflow: hidden;
}

.care-photo {
    position: relative;
    min-height: 720px;
    overflow: hidden;
}

.care-photo::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        transparent 55%,
        rgba(3, 10, 14, 0.25) 78%,
        #030a0e 100%
    );

    pointer-events: none;
}

.care-photo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    filter: brightness(0.82) contrast(1.04);
}

.care-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding: 90px 7vw 90px 4vw;
}
.care-content h2 {
    max-width: 650px;

    color: var(--white);

    font-family: var(--serif);
    font-size: clamp(58px, 4.8vw, 82px);
    font-weight: 400;

    line-height: 0.95;
    letter-spacing: -0.045em;
}

.care-content h2 span {
    display: block;

    margin-top: 8px;

    color: var(--blue-light);
    font-style: italic;
}
.care-text {
    max-width: 590px;
    margin-top: 42px;
}

.care-text p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.care-text p + p {
    margin-top: 24px;
}
.care-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;

    min-width: 310px;
    margin-top: 38px;
    padding-bottom: 12px;

    border-bottom: 1px solid var(--blue);

    color: var(--white);
    font-size: 13px;
    font-weight: 600;

    transition:
        color var(--transition),
        border-color var(--transition);
}

.care-link span:last-child {
    color: var(--blue-light);
    font-size: 18px;

    transition: transform var(--transition);
}

.care-link:hover {
    color: var(--blue-light);
    border-color: var(--green);
}

.care-link:hover span:last-child {
    transform: translateX(6px);
}
/* =========================
   REVIEWS SECTION
========================= */

.reviews-section {
    position: relative;
    padding: 140px 0 150px;
    background: #081f2b;
    overflow: hidden;
}

.reviews-heading {
    max-width: 760px;
    margin: 0 auto 70px;
    text-align: center;
}

.reviews-heading .eyebrow {
    margin-bottom: 22px;
}

.reviews-heading h2 {
    color: var(--white);
    font-family: var(--serif);
    font-size: clamp(48px, 4.5vw, 72px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.04em;
}

.reviews-heading h2 span {
    color: var(--green);
    font-style: italic;
}

.reviews-heading > p:last-child {
    max-width: 520px;
    margin: 25px auto 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.reviews-widget {
    position: relative;
    width: 100%;
    min-height: 260px;
}
/* =========================================================
   PROCESS
========================================================= */

.process-section {
    padding: 140px 0;

    background: var(--surface);
}

.process-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(500px, 1fr);

    gap: 120px;
}

.process-intro {
    max-width: 520px;
}

.process-intro .eyebrow {
    margin-bottom: 24px;
}

.process-intro h2 {
    font-size: clamp(50px, 4.6vw, 72px);
    line-height: 1;

    letter-spacing: -0.035em;
}

.process-intro h2 span {
    color: var(--green);
}

.process-intro > p:not(.eyebrow) {
    max-width: 450px;

    margin-top: 30px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.8;
}

.process-intro .button {
    margin-top: 34px;
}

.process-list {
    border-top: 1px solid var(--line);
}

.process-item {
    display: grid;

    grid-template-columns:
        60px
        1fr;

    gap: 22px;

    padding: 30px 0;

    border-bottom: 1px solid var(--line);
}

.process-number {
    padding-top: 5px;

    color: var(--green);

    font-size: 11px;
    font-weight: 600;
}

.process-item h3 {
    font-family: var(--sans);

    font-size: 19px;
    font-weight: 500;
}

.process-item p {
    margin-top: 10px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    padding: 150px 0;

    background: var(--bg);
}

.contact-inner {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.contact-inner .eyebrow {
    margin-bottom: 24px;
}

.contact-inner h2 {
    max-width: 760px;

    font-size: clamp(55px, 5.7vw, 84px);
    line-height: 0.98;

    letter-spacing: -0.04em;
}

.contact-inner h2 span {
    color: var(--blue-light);
}

.contact-inner > p:not(.eyebrow) {
    max-width: 520px;

    margin-top: 28px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.8;
}

.contact-inner .button {
    margin-top: 35px;
}


/* =========================
   FOOTER
========================= */

.site-footer {
    position: relative;
    padding: 0;
    background: #030a0e;
    border-top: 1px solid var(--line);
}

.footer-main {
    display: grid;
    grid-template-columns: 235px 160px 260px 150px;
    justify-content: space-between;
    align-items: start;
    column-gap: 60px;

    padding-top: 55px;
    padding-bottom: 50px;
}

/* LOGO + OPIS */

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 235px;
    margin: 0;
    align-self: start;
}

.footer-brand {
    transform: translateY(-8px);
}

.footer-logo {
    display: block;
    margin: 0;
}

.footer-logo img {
    display: block;
    width: 235px;
    height: auto;
    margin: 0;
}

.footer-brand p {
    width: 235px;
    margin: 14px 0 0;

    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

/* KOLUMNY */

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-title {
    display: block;
    margin-bottom: 24px;
    color: var(--blue-light);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

/* NAWIGACJA */

.footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-nav a {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    transition:
        color var(--transition),
        transform var(--transition);
}

.footer-nav a:hover {
    color: var(--white);
    transform: translateX(4px);
}

/* KONTAKT */

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer-contact .footer-title {
    width: auto;
    margin-bottom: 12px;
    text-align: left;
}

.footer-person {
    width: auto;
    margin: 0 0 10px;

    color: var(--white);
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 400;
    line-height: 1.2;

    text-align: left;
}

.footer-contact a {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.footer-contact a:hover {
    color: var(--white);
    transform: translateX(4px);
}

/* SOCIAL MEDIA */

.footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    transition:
        border-color var(--transition),
        transform var(--transition),
        background var(--transition);
}

.footer-socials img {
    display: block;
    width: 19px;
    height: 19px;
    object-fit: contain;
}

.footer-socials a:hover {
    border-color: var(--blue);
    background: rgba(22, 174, 240, 0.06);
    transform: translateY(-3px);
}

/* DOLNY PASEK */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    border-top: 1px solid var(--line);
}

.footer-bottom > span {
    color: var(--muted);
    font-size: 11px;
}

.footer-credit {
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    transition: color var(--transition);
}

.footer-credit:hover {
    color: var(--blue-light);
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--blue-light);
    outline-offset: 4px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    :root {
        --header-height: 105px;
    }

    .container {
        width: min(calc(100% - 44px), var(--container));
    }

    .desktop-nav,
    .header-cta {
        display: none;
    }

    .header-logo {
        width: auto;
    }

    .header-logo img {
        width: 150px;
    }

    .mobile-menu-button {
        width: 46px;
        height: 46px;

        margin-left: auto;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 7px;

        background: transparent;

        cursor: pointer;
    }

    .mobile-menu-button span {
        width: 24px;
        height: 1px;

        display: block;

        background: var(--white);
    }

    .mobile-nav {
        position: absolute;

        top: var(--header-height);
        left: 0;

        width: 100%;

        display: none;
        flex-direction: column;

        padding: 20px 22px 30px;

        border-bottom: 1px solid var(--line);

        background: var(--bg);
    }

    .mobile-nav.active {
        display: flex;
    }

    .mobile-nav a {
        padding: 16px 0;

        border-bottom: 1px solid var(--line);

        font-size: 15px;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 55px;

        padding-top: 80px;
        padding-bottom: 80px;
    }

    .hero-card {
        min-height: 480px;
    }

    .intro-grid,
    .diagnostics-grid,
    .process-grid {
        grid-template-columns: 1fr;

        gap: 65px;
    }

    .intro-content {
        max-width: 650px;
        padding-top: 0;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;

        gap: 28px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card-large {
        grid-column: span 2;
    }

    .diagnostics-panel {
        max-width: 760px;
    }

    .process-list {
        max-width: 760px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    :root {
        --header-height: 90px;
    }

    .container {
        width: calc(100% - 34px);
    }

    .header-logo img {
        width: 132px;
    }

    .hero-grid {
        padding-top: 62px;
        padding-bottom: 62px;
    }

    .hero-content .eyebrow {
        margin-bottom: 22px;
    }

    .hero h1 {
        font-size: clamp(48px, 14vw, 66px);
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;

        gap: 20px;
    }

    .hero-card {
        min-height: 460px;

        padding: 25px;
    }

    .hero-card-symbol {
        top: 70px;
        right: 20px;

        width: 105px;
    }

    .hero-card-title h2 {
        font-size: 44px;
    }

    .hero-strip-grid {
        grid-template-columns: 1fr;

        padding: 22px 0;

        gap: 10px;
    }

    .hero-strip-grid span,
    .hero-strip-grid span:nth-child(2),
    .hero-strip-grid span:nth-child(3) {
        text-align: left;
    }

    .intro-section,
    .services-section,
    .diagnostics-section,
    .process-section {
        padding: 95px 0;
    }

    .intro-heading h2,
    .section-heading h2,
    .diagnostics-heading h2,
    .process-intro h2 {
        font-size: 46px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card-large {
        grid-column: auto;
    }

    .service-card {
        min-height: 360px;

        padding: 24px;
    }

    .service-body h3 {
        font-size: 34px;
    }

    .parameter-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .diagnostics-panel {
        padding: 22px;
    }

    .diagnostics-panel-top {
        flex-direction: column;

        gap: 7px;
    }

    .process-grid {
        gap: 55px;
    }

    .contact-section {
        padding: 105px 0;
    }

    .contact-inner h2 {
        font-size: 50px;
    }

    .footer-main {
        min-height: auto;

        grid-template-columns: 1fr;

        gap: 35px;

        padding-top: 60px;
        padding-bottom: 60px;
    }

    .footer-description,
    .footer-contact {
        text-align: left;
    }

    .footer-bottom {
        min-height: auto;

        flex-direction: column;
        align-items: flex-start;

        gap: 8px;

        padding: 22px 0;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }

}
/* =========================================================
   SERVICE PAGE — SERWIS AKWARYSTYCZNY
========================================================= */

.service-page {
    background: var(--bg);
}


/* =========================================================
   SERVICE HERO
========================================================= */

.service-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(
            circle at 78% 42%,
            rgba(0, 196, 255, 0.08),
            transparent 32%
        ),
        linear-gradient(
            115deg,
            #030a0e 0%,
            #051016 55%,
            #06151c 100%
        );
}


.service-hero-inner {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(520px, 0.95fr);
    gap: 40px;

    align-items: center;

    padding-top: 90px;
    padding-bottom: 90px;
}

.service-hero-content {
    max-width: 720px;
}

.service-hero-content .eyebrow {
    margin-bottom: 28px;
}

.service-hero h1 {
    max-width: 720px;
    margin: 0;

    color: var(--white);

    font-family: var(--serif);
    font-size: clamp(64px, 5vw, 86px);
    font-weight: 400;

    line-height: 0.94;
    letter-spacing: -0.035em;
}

.service-hero h1 span {
    display: block;
    color: var(--blue-light);
    font-style: italic;
}

.service-hero-description {
    max-width: 590px;
    margin: 34px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 42px;
}

.service-hero-side {
    position: relative;
    padding-left: 36px;
    padding-bottom: 6px;
}

.service-hero-side-label {
    display: block;
    margin-bottom: 20px;
    color: var(--blue-light);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.service-hero-side p {
    max-width: 290px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   SERVICE INTRO
========================================================= */

.service-intro {
    padding: 145px 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}
.service-intro-label > span {
    display: block;
    text-align: center;
}

.service-intro-label .service-section-line {
    width: 280px;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.service-intro-grid {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 90px;
    align-items: start;
}

.service-section-label {
    padding-top: 10px;
}

.service-section-label > span {
    display: block;
    color: var(--blue-light);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.service-section-line {
    width: 100%;
    height: 1px;
    margin-top: 18px;
    background: var(--line);
}

.service-intro-content {
    max-width: 880px;
}

.service-intro-content h2 {
    max-width: 760px;
    margin: 0 0 48px;
    color: var(--white);
    font-family: var(--serif);
    font-size: clamp(42px, 4.8vw, 68px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.service-intro-content h2 span {
    display: block;
    color: var(--blue-light);
    font-style: italic;
}

.service-intro-content p {
    max-width: 690px;
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}


/* =========================================================
   SERVICE SCOPE
========================================================= */

.service-scope {
    padding: 145px 0 155px;
    background: #06131a;
}

.service-scope-list {
    margin-top: 75px;
    border-top: 1px solid var(--line);
}

.service-scope-item {
    display: grid;
    grid-template-columns: minmax(360px, 0.8fr) minmax(420px, 1fr);
    column-gap: 90px;
    align-items: start;

    padding: 46px 0;

    border-bottom: 1px solid var(--line);
}

/* LEWA STRONA — IKONA + TYTUŁ */

.service-scope-toggle {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    width: 100%;
    padding: 0;

    border: 0;
    background: transparent;

    color: var(--white);

    font-family: var(--serif);
    font-size: clamp(27px, 2.5vw, 36px);
    font-weight: 400;
    line-height: 1.15;

    text-align: left;
    cursor: default;
}

.service-scope-title {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    transition:
        color 220ms ease,
        transform 220ms ease;
}

.service-scope-info-icon {
    flex: 0 0 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    margin-top: 5px;
}

.service-scope-info-icon img {
    display: block;

    width: 28px;
    height: 28px;

    object-fit: contain;
}

/* PRAWA STRONA — TREŚĆ */

.service-scope-details {
    min-width: 0;

    display: grid;
    grid-template-rows: 0fr;

    opacity: 0;

    transition:
        grid-template-rows 350ms ease,
        opacity 250ms ease;
}

.service-scope-details-inner {
    min-height: 0;
    overflow: hidden;
}

.service-scope-details p {
    max-width: 470px;

    margin: 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.75;
}

.service-scope-details ul {
    max-width: 520px;

    margin: 20px 0 0;
    padding: 0;

    list-style: none;
}

.service-scope-details li {
    position: relative;

    padding: 9px 0 9px 19px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.055);

    color: var(--text);

    font-size: 12px;
    line-height: 1.55;
}

.service-scope-details li::before {
    content: "";

    position: absolute;
    top: 17px;
    left: 0;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--blue-light);
}

/* DESKTOP — ROZWIJANIE PO NAJECHANIU */

@media (hover: hover) and (pointer: fine) {

    .service-scope-item:hover .service-scope-title {
        color: var(--blue-light);
        transform: translateX(6px);
    }

    .service-scope-item:hover .service-scope-details {
        grid-template-rows: 1fr;
        opacity: 1;
    }
}

/* =========================================================
   TYPES OF AQUARIUM
========================================================= */

.service-tanks {
    padding: 145px 0 155px;
    background: var(--bg);
}

.service-tanks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 75px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.service-tank {
    min-height: 260px;
    padding: 34px 30px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.service-tank:hover {
    background: rgba(0, 196, 255, 0.035);
}

.service-tank h3 {
    max-width: 220px;
    margin: 0 0 25px;
    color: var(--white);
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.15;
}

.service-tank p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.75;
}


/* =========================================================
   PRICING
========================================================= */

.service-pricing {
    padding: 145px 0 155px;
    background: #081f2b;
}

.service-price-list {
    margin-top: 75px;
    border-top: 1px solid var(--line);
}

.service-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 115px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.service-price-row > div {
    display: flex;
    align-items: baseline;
    gap: 28px;
}

.service-price-name {
    min-width: 230px;
    color: var(--white);
    font-family: var(--serif);
    font-size: 25px;
    line-height: 1.2;
}

.service-price-volume {
    color: var(--muted);
    font-size: 12px;
}

.service-price-row strong {
    color: var(--blue-light);
    font-family: var(--serif);
    font-size: clamp(25px, 2.5vw, 34px);
    font-weight: 400;
    white-space: nowrap;
}

.service-price-note {
    display: grid;
    grid-template-columns: 110px minmax(0, 600px);
    gap: 35px;
    margin-top: 42px;
}

.service-price-note > span {
    padding-top: 4px;
    color: var(--blue-light);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.service-price-note p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.75;
}


/* =========================================================
   BEFORE CONTACT
========================================================= */

.service-before-contact {
    padding: 145px 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}

.service-before-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(450px, 0.7fr);
    gap: 120px;
    align-items: start;
}

.service-before-contact h2 {
    max-width: 600px;
    margin: 22px 0 0;
    color: var(--white);
    font-family: var(--serif);
    font-size: clamp(42px, 4.5vw, 66px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.service-before-contact h2 span {
    display: block;
    color: var(--blue-light);
    font-style: italic;
}

.service-before-list {
    border-top: 1px solid var(--line);
}

.service-before-list > div {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 20px;
    align-items: center;
    min-height: 78px;
    border-bottom: 1px solid var(--line);
}

.service-before-list span {
    color: var(--blue-light);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.service-before-list p {
    margin: 0;
    color: var(--text);
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   SERVICE PAGE — RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .service-hero {
        min-height: auto;
    }

    .service-hero-inner {
        grid-template-columns: 1fr;
        gap: 70px;
        padding-top: 100px;
        padding-bottom: 90px;
    }

    .service-hero-side {
        max-width: 600px;
        padding-left: 0;
        padding-top: 30px;
        border-top: 1px solid var(--line);
    }

    .service-intro-grid {
        grid-template-columns: 170px minmax(0, 1fr);
        gap: 60px;
    }


    .service-tanks-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-before-grid {
        grid-template-columns: 1fr;
        gap: 70px;
    }
}


@media (max-width: 750px) {

    .service-hero {
    min-height: auto;
}

.service-hero-inner {
    display: block;
    padding-top: 42px;
    padding-bottom: 48px;
}

.service-hero-content {
    width: 100%;
    max-width: 100%;
}

.service-hero-content .eyebrow {
    margin-bottom: 18px;
    font-size: 8px;
    line-height: 1.45;
    letter-spacing: 0.16em;
}

.service-hero h1 {
    max-width: 100%;
    font-size: 36px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.service-hero-description {
    max-width: 100%;
    margin-top: 22px;
    font-size: 12.5px;
    line-height: 1.7;
}

.service-hero-actions {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 10px;
    margin-top: 26px;
}

.service-hero-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 0 18px;
}

    .service-intro,
    .service-scope,
    .service-tanks,
    .service-pricing,
    .service-before-contact {
        padding-top: 95px;
        padding-bottom: 100px;
    }

    .service-intro-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .service-section-label {
        max-width: 180px;
    }

    .service-scope-list,
    .service-tanks-grid,
    .service-price-list {
        margin-top: 55px;
    }

    .service-scope-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 42px 0;
    }


    .service-tanks-grid {
        grid-template-columns: 1fr;
    }

    .service-tank {
        min-height: auto;
        padding: 30px 24px 35px;
    }

    .service-price-row {
        align-items: flex-end;
    }

    .service-price-row > div {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .service-price-name {
        min-width: 0;
        font-size: 22px;
    }

    .service-price-note {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-before-grid {
        gap: 55px;
    }
    .service-page .service-hero:has(.service-hero-image)
.service-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 28px;

    padding-top: 50px;
    padding-bottom: 0;
}

.service-page .service-hero-image {
    width: 100%;
    height: auto;

    position: relative;

    margin-top: 10px;

    overflow: hidden;
}

.service-page .service-hero-image img {
    display: block;

    width: 100%;
    max-width: 100%;
    height: auto;

    position: static;

    transform: none;

    object-fit: contain;
}
}


@media (max-width: 520px) {

    .service-hero h1 {
        font-size: 42px;
    }

    .service-intro-content h2,
    .service-before-contact h2 {
        font-size: 39px;
    }

    .service-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        min-height: 0;
        padding: 27px 0;
    }

    .service-price-row strong {
        font-size: 27px;
    }
}

/* =========================================================
   GALERIA — NOWA WERSJA
========================================================= */

.gallery-page {
    background: var(--bg);
}


/* =========================================================
   NAGŁÓWEK
========================================================= */

.gallery-header {
    padding: 70px 0 48px;

    border-bottom: 1px solid var(--line);
}

.gallery-header-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 14px;
}

.gallery-header .eyebrow {
    margin: 0;
}

.gallery-header h1 {
    margin: 0;

    color: var(--white);

    font-family: var(--serif);
    font-size: clamp(34px, 3vw, 48px);
    font-weight: 400;

    line-height: 1;
    letter-spacing: -0.03em;
}

.gallery-header h1 span {
    display: inline;

    color: var(--blue-light);
    font-style: italic;
}


/* =========================================================
   GALERIA
========================================================= */

.gallery-content {
    padding: 45px 0 130px;
}


/*
   GRID jest celowo prosty.
   Dzięki temu później panel administratora
   może dodawać dowolną liczbę zdjęć i filmów.
*/

.gallery-media-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    grid-auto-rows: 8px;

    gap: 14px;

    align-items: start;
}


/* =========================================================
   ELEMENT GALERII
========================================================= */

.gallery-media-item {
   
    position: relative;
    
    width: 100%;
    
    height: 100%;
    
    min-height: 0;

    overflow: hidden;

    padding: 0;
    border: 0;

    background: #071016;

    cursor: pointer;
}

.gallery-media-item img,
.gallery-media-item video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 500ms cubic-bezier(.2, .8, .2, 1),
        filter 500ms ease;
}

.gallery-media-item::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.28),
            transparent 45%
        );

    opacity: 0;

    transition: opacity 300ms ease;
}

.gallery-media-item:hover img,
.gallery-media-item:hover video {
    transform: scale(1.025);

    filter: brightness(1.05);
}

.gallery-media-item:hover::after {
    opacity: 1;
}




/* =========================================================
   FILM
========================================================= */

.gallery-video-preview {
    pointer-events: none;
}

.gallery-video-badge {
    position: absolute;
    z-index: 3;

    left: 20px;
    bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    border: 1px solid rgba(255,255,255,.35);

    border-radius: 50%;

    background: rgba(3, 10, 14, 0.72);

    backdrop-filter: blur(7px);

    color: var(--white);

    font-size: 15px;

    transition:
        transform 250ms ease,
        border-color 250ms ease,
        background 250ms ease;
}

.gallery-media-item:hover .gallery-video-badge {
    transform: scale(1.08);

    border-color: var(--blue-light);

    background: rgba(3, 10, 14, 0.9);
}


/* =========================================================
   LIGHTBOX
========================================================= */

.gallery-lightbox {
    position: fixed;
    z-index: 12000;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 90px;

    visibility: hidden;
    opacity: 0;

    transition:
        opacity 250ms ease,
        visibility 250ms ease;
}

.gallery-lightbox.is-open {
    visibility: visible;
    opacity: 1;
}

.gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(1, 6, 9, 0.96);

    backdrop-filter: blur(10px);
}


/* =========================================================
   MEDIA
========================================================= */

.gallery-lightbox-stage {
    position: relative;
    z-index: 2;

    width: min(100%, 1450px);
    height: calc(100vh - 80px);

    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-media {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-media img,
.gallery-lightbox-media video {
    display: block;

    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;
}

.gallery-lightbox-media video {
    width: min(100%, 1200px);
}


/* =========================================================
   ZAMKNIJ
========================================================= */

.gallery-lightbox-close {
    position: absolute;
    z-index: 4;

    top: 24px;
    right: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    padding: 0;

    border: 1px solid rgba(255,255,255,.18);
    background: rgba(5, 12, 17, .55);

    color: var(--white);

    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: 300;

    cursor: pointer;

    transition:
        border-color 220ms ease,
        background 220ms ease;
}

.gallery-lightbox-close:hover {
    border-color: var(--blue-light);

    background: rgba(22, 174, 240, .08);
}


/* =========================================================
   STRZAŁKI
========================================================= */

.gallery-lightbox-arrow {
    position: absolute;
    z-index: 4;

    top: 50%;

    width: 56px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    padding: 0;

    border: 0;
    background: transparent;

    color: rgba(255,255,255,.65);

    font-family: Arial, sans-serif;
    font-size: 52px;
    font-weight: 200;

    cursor: pointer;

    transition:
        color 200ms ease,
        transform 200ms ease;
}

.gallery-lightbox-prev {
    left: 25px;
}

.gallery-lightbox-next {
    right: 25px;
}

.gallery-lightbox-arrow:hover {
    color: var(--blue-light);

    transform:
        translateY(-50%)
        scale(1.08);
}


/* =========================================================
   LICZNIK
========================================================= */

.gallery-lightbox-counter {
    position: absolute;

    left: 50%;
    bottom: 0;

    transform: translateX(-50%);

    display: flex;
    gap: 6px;

    color: rgba(255,255,255,.5);

    font-size: 11px;
    letter-spacing: .12em;
}


/* =========================================================
   BLOKADA SCROLLA
========================================================= */

body.gallery-lightbox-open {
    overflow: hidden;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .gallery-media-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .gallery-header {
        padding: 80px 0 45px;
    }

    .gallery-header-inner {
        display: block;
    }

    .gallery-header .eyebrow {
        margin-bottom: 15px;
    }

    .gallery-header h1 {
        font-size: 40px;
    }

    .gallery-content {
        padding: 20px 0 80px;
    }

    .gallery-media-grid {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .gallery-media-item {
    grid-column: auto;

    min-height: 0;
}

    .gallery-lightbox {
        padding: 65px 10px 45px;
    }

    .gallery-lightbox-stage {
        height: calc(100dvh - 110px);
    }

    .gallery-lightbox-close {
        top: 12px;
        right: 12px;

        width: 42px;
        height: 42px;
    }

    .gallery-lightbox-arrow {
        top: auto;
        bottom: 7px;

        width: 50px;
        height: 45px;

        transform: none;

        font-size: 38px;
    }

    .gallery-lightbox-arrow:hover {
        transform: none;
    }

    .gallery-lightbox-prev {
        left: calc(50% - 75px);
    }

    .gallery-lightbox-next {
        right: calc(50% - 75px);
    }

    .gallery-lightbox-counter {
        bottom: 14px;
    }

}

/* =========================================================
   KONTAKT
========================================================= */

.contact-page {
    background: #05090c;
}


/* =========================================================
   HERO + FORMULARZ
========================================================= */

.contact-page-hero {
    padding: 110px 0 120px;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.75fr);
    gap: 110px;
    align-items: start;
}


/* =========================================================
   LEWA STRONA
========================================================= */

.contact-page-intro h1 {
    max-width: 720px;
    margin: 18px 0 30px;

    font-family: "DM Serif Display", serif;
    font-size: clamp(58px, 6vw, 92px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.045em;

    color: #ffffff;
}

.contact-page-intro h1 span {
    display: block;
    color: var(--accent, #00d8ff);
}

.contact-page-description {
    max-width: 580px;
    margin: 0;

    font-size: 18px;
    line-height: 1.75;

    color: rgba(255, 255, 255, 0.62);
}


/* =========================================================
   DANE KONTAKTOWE
========================================================= */

.contact-details {
    margin-top: 70px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-detail {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 25px;

    padding: 25px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-detail-label {
    padding-top: 4px;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;

    color: var(--accent, #00d8ff);
}

.contact-detail a {
    width: fit-content;

    font-family: "DM Serif Display", serif;
    font-size: 23px;
    line-height: 1.35;

    color: #ffffff;

    text-decoration: none;

    transition: color 0.25s ease;
}

.contact-detail a:hover {
    color: var(--accent, #00d8ff);
}


/* =========================================================
   SOCIAL MEDIA
========================================================= */

/* =========================================================
   KONTAKT — SOCIAL MEDIA
========================================================= */

.contact-socials {
    margin-top: 42px;
}

.contact-social-links {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 18px;
}

.contact-social-links a {
    min-width: 155px;
    height: 48px;

    display: grid;
    grid-template-columns: 22px 1fr auto;
    align-items: center;

    gap: 12px;

    padding: 0 15px;

    border: 1px solid rgba(255, 255, 255, 0.13);

    background: rgba(255, 255, 255, 0.015);

    color: var(--text);

    font-size: 12px;
    font-weight: 500;

    transition:
        border-color 220ms ease,
        color 220ms ease,
        background 220ms ease,
        transform 220ms ease;
}

.contact-social-links a img {
    display: block;

    width: 20px;
    height: 20px;

    object-fit: contain;
}

.contact-social-links a > span:last-child {
    color: var(--blue-light);

    font-size: 14px;
}

.contact-social-links a:hover {
    color: var(--white);

    border-color: var(--blue);

    background: rgba(22, 174, 240, 0.045);

    transform: translateY(-2px);
}


/* GOOGLE */

.contact-social-google {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    color: var(--blue-light);

    font-size: 15px;
    font-weight: 600;
}


/* MOBILE */

@media (max-width: 650px) {

    .contact-social-links {
        flex-direction: column;
    }

    .contact-social-links a {
        width: 100%;
    }

}

/* =========================================================
   FORMULARZ
========================================================= */

.contact-form-wrapper {
    position: relative;

    padding: 48px;

    background: #08131a;

    border: 1px solid rgba(255, 255, 255, 0.09);
}

.contact-form-wrapper::before {
    content: "";

    position: absolute;

    top: -1px;
    left: -1px;

    width: 90px;
    height: 2px;

    background: var(--accent, #00d8ff);
}


/* NAGŁÓWEK */

.contact-form-heading {
    margin-bottom: 42px;
}

.contact-form-heading > span {
    display: block;

    margin-bottom: 13px;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;

    color: var(--accent, #00d8ff);
}

.contact-form-heading p {
    max-width: 390px;
    margin: 0;

    font-size: 15px;
    line-height: 1.65;

    color: rgba(255, 255, 255, 0.55);
}


/* POLA */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 27px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.03em;

    color: rgba(255, 255, 255, 0.75);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 15px 0;

    background: transparent;

    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0;

    outline: none;

    font-family: "DM Sans", sans-serif;
    font-size: 15px;

    color: #ffffff;

    transition: border-color 0.25s ease;
}

.form-group textarea {
    min-height: 145px;

    resize: vertical;
}


/* PLACEHOLDER */

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.28);
}


/* FOCUS */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent, #00d8ff);
}


/* SELECT */

.form-group select {
    cursor: pointer;

    color-scheme: dark;
}

.form-group select option {
    background: #08131a;
    color: #ffffff;
}


/* =========================================================
   ZGODA
========================================================= */

.form-consent {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 12px;
    align-items: start;

    cursor: pointer;
}

.form-consent input {
    width: 16px;
    height: 16px;

    margin: 2px 0 0;

    accent-color: var(--accent, #00d8ff);
}

.form-consent span {
    max-width: 390px;

    font-size: 12px;
    line-height: 1.55;

    color: rgba(255, 255, 255, 0.45);
}


/* =========================================================
   BUTTON FORMULARZA
========================================================= */

.contact-form-submit {
    width: 100%;

    margin-top: 5px;

    border: 0;

    cursor: pointer;
}

.contact-form-note {
    margin: -10px 0 0;

    text-align: center;

    font-size: 11px;
    line-height: 1.5;

    color: rgba(255, 255, 255, 0.3);
}


/* =========================================================
   LOKALIZACJA
========================================================= */

.contact-location {
    padding: 110px 0;

    background: #08131a;

    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-location-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);

    gap: 100px;
    align-items: end;
}

.contact-location h2 {
    max-width: 650px;

    margin: 15px 0 0;

    font-family: "DM Serif Display", serif;
    font-size: clamp(48px, 5vw, 72px);
    font-weight: 400;
    line-height: 1;

    color: #ffffff;
}

.contact-location h2 span {
    color: var(--accent, #00d8ff);
}

.contact-location-content p {
    max-width: 440px;

    margin: 0 0 30px;

    font-size: 17px;
    line-height: 1.7;

    color: rgba(255, 255, 255, 0.6);
}

.contact-map-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;

    padding-bottom: 7px;

    border-bottom: 1px solid var(--accent, #00d8ff);

    font-size: 14px;
    font-weight: 500;

    color: #ffffff;

    text-decoration: none;

    transition: color 0.25s ease;
}

.contact-map-link span {
    color: var(--accent, #00d8ff);
}

.contact-map-link:hover {
    color: var(--accent, #00d8ff);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .contact-page-grid {
        grid-template-columns: minmax(0, 1fr) minmax(370px, 0.85fr);
        gap: 60px;
    }

    .contact-form-wrapper {
        padding: 38px;
    }

    .contact-location-grid {
        gap: 60px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .contact-page-hero {
        padding: 80px 0 80px;
    }

    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 75px;
    }

    .contact-page-intro h1 {
        font-size: clamp(52px, 14vw, 76px);
    }

    .contact-page-description {
        font-size: 16px;
    }


    /* DANE */

    .contact-details {
        margin-top: 50px;
    }

    .contact-detail {
        grid-template-columns: 100px minmax(0, 1fr);
    }

    .contact-detail a {
        font-size: 20px;
    }


    /* FORMULARZ */

    .contact-form-wrapper {
        padding: 35px 28px;
    }


    /* LOKALIZACJA */

    .contact-location {
        padding: 80px 0;
    }

    .contact-location-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

}


/* =========================================================
   MAŁE TELEFONY
========================================================= */

@media (max-width: 520px) {

    .contact-page-hero {
        padding-top: 65px;
    }

    .contact-detail {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .contact-detail-label {
        padding-top: 0;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .contact-form {
        gap: 24px;
    }

    .contact-social-links {
        flex-direction: column;
    }

    .contact-social-links a {
        width: 100%;
    }

}
/* =========================================================
   MODAL KONTAKTOWY
========================================================= */

.contact-modal {
    position: fixed;
    z-index: 1000;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    visibility: hidden;
    opacity: 0;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.contact-modal.is-open {
    visibility: visible;
    opacity: 1;
}


/* =========================================================
   TŁO
========================================================= */

.contact-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 5, 8, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


/* =========================================================
   OKNO
========================================================= */

.contact-modal-dialog {
    position: relative;
    z-index: 1;

    width: min(100%, 820px);
    max-height: calc(100vh - 60px);

    overflow-y: auto;

    padding: 55px;

    background: #08131a;

    border: 1px solid rgba(255, 255, 255, 0.1);

    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.55);

    transform: translateY(25px) scale(0.98);

    transition:
        transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.contact-modal.is-open .contact-modal-dialog {
    transform: translateY(0) scale(1);
}


/* CYANOWY DETAL */

.contact-modal-dialog::before {
    content: "";

    position: absolute;

    top: -1px;
    left: -1px;

    width: 110px;
    height: 2px;

    background: var(--accent, #00d8ff);
}


/* =========================================================
   PRZYCISK X
========================================================= */

.contact-modal-close {
    position: absolute;

    top: 22px;
    right: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    padding: 0;

    background: transparent;

    border: 1px solid rgba(255, 255, 255, 0.12);

    font-family: "DM Sans", sans-serif;
    font-size: 27px;
    font-weight: 300;
    line-height: 1;

    color: rgba(255, 255, 255, 0.7);

    cursor: pointer;

    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.contact-modal-close:hover {
    color: #ffffff;

    border-color: var(--accent, #00d8ff);

    background: rgba(0, 216, 255, 0.05);
}


/* =========================================================
   NAGŁÓWEK
========================================================= */

.contact-modal-heading {
    max-width: 610px;

    margin-bottom: 42px;
}

.contact-modal-heading h2 {
    margin: 14px 0 18px;

    font-family: "DM Serif Display", serif;
    font-size: clamp(42px, 5vw, 62px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.035em;

    color: #ffffff;
}

.contact-modal-heading h2 span {
    color: var(--accent, #00d8ff);
}

.contact-modal-heading > p:last-child {
    max-width: 470px;
    margin: 0;

    font-size: 15px;
    line-height: 1.65;

    color: rgba(255, 255, 255, 0.52);
}


/* =========================================================
   FORMULARZ
========================================================= */

.contact-modal-form {
    display: flex;
    flex-direction: column;

    gap: 28px;
}

.contact-modal-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 35px;
    row-gap: 27px;
}


/* POLA */

.contact-modal .form-group {
    display: flex;
    flex-direction: column;

    gap: 9px;
}

.contact-modal .form-group label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;

    color: rgba(255, 255, 255, 0.7);
}

.contact-modal .form-group input,
.contact-modal .form-group select,
.contact-modal .form-group textarea {
    width: 100%;

    padding: 13px 0;

    background: transparent;

    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0;

    outline: none;

    font-family: "DM Sans", sans-serif;
    font-size: 14px;

    color: #ffffff;

    transition: border-color 0.25s ease;
}

.contact-modal .form-group input:focus,
.contact-modal .form-group select:focus,
.contact-modal .form-group textarea:focus {
    border-color: var(--accent, #00d8ff);
}


/* PLACEHOLDER */

.contact-modal .form-group input::placeholder,
.contact-modal .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.27);
}


/* SELECT */

.contact-modal .form-group select {
    cursor: pointer;
    color-scheme: dark;
}

.contact-modal .form-group select option {
    background: #08131a;
    color: #ffffff;
}


/* WIADOMOŚĆ */

.contact-modal-message textarea {
    min-height: 105px;

    resize: vertical;
}


/* =========================================================
   ZGODA
========================================================= */

.contact-modal-consent {
    max-width: 520px;
}


/* =========================================================
   PRZYCISK WYŚLIJ
========================================================= */

.contact-modal-submit {
    width: 100%;

    border: 0;

    cursor: pointer;
}


/* =========================================================
   BLOKADA SCROLLA STRONY
========================================================= */

body.modal-open {
    overflow: hidden;
}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 750px) {

    .contact-modal {
        padding: 15px;
        align-items: flex-start;
    }

    .contact-modal-dialog {
        width: 100%;
        max-height: calc(100dvh - 30px);

        margin-top: 15px;

        padding: 45px 25px 30px;
    }

    .contact-modal-close {
        top: 15px;
        right: 15px;

        width: 38px;
        height: 38px;
    }

    .contact-modal-heading {
        padding-right: 35px;

        margin-bottom: 35px;
    }

    .contact-modal-heading h2 {
        font-size: clamp(40px, 11vw, 56px);
    }

    .contact-modal-fields {
        grid-template-columns: 1fr;

        gap: 24px;
    }

}


@media (max-width: 480px) {

    .contact-modal {
        padding: 0;
    }

    .contact-modal-dialog {
        min-height: 100dvh;
        max-height: 100dvh;

        margin: 0;

        padding: 42px 20px 28px;

        border-left: 0;
        border-right: 0;
        border-bottom: 0;
    }

    .contact-modal-heading h2 {
        font-size: 42px;
    }

}
/* =========================================================
   SERWIS — HERO IMAGE
========================================================= */

.service-hero {
    overflow: hidden;
}

.service-hero-image {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    min-width: 0;
}

.service-hero-image img {
    display: block;

    width: min(760px, 50vw);
    max-width: none;
    height: auto;

    object-fit: contain;

    transform: translate(130px, -25px);
}

/* =========================================================
   SERWIS — INTRO AQUARIUM
========================================================= */

.service-intro-label {
    align-self: stretch;
}

.service-intro-aquarium {
    margin-top: 42px;
    width: 360px;
}

.service-intro-aquarium img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.service-hero-content h1 strong {
    display: block;
    color: var(--green);
    font: inherit;
    font-weight: inherit;
}
/* =========================================================
   SERWIS — KOLORY GŁÓWNYCH NAGŁÓWKÓW
========================================================= */

/* Nagłówki sekcji na stronie serwisu */
.service-page .section-heading h2 {
    color: var(--white);
}

.service-page .section-heading h2 span {
    color: var(--blue-light);
}

.service-page .service-intro-content h2 {
    color: var(--white);
}

.service-page .service-before-contact h2 {
    color: var(--green);
}

.service-page .service-intro-content h2 span,
.service-page .service-before-contact h2 span {
    color: var(--blue-light);
}
/* =========================================================
   przycisk CTA w sekcji "Przed SERWISEM"
========================================================= */
.service-before-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 190px;
    min-height: 56px;
    margin: 34px auto 0;

    padding: 0 22px;

    border: 0;
    background: var(--blue);
    color: #031017;

    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;

    cursor: pointer;
    transition:
        transform 220ms ease,
        background 220ms ease;
}

.service-before-cta:hover {
    background: var(--blue-light);
    transform: translateY(-2px);
}

/* =========================================================
   PROJEKTOWANIE — HERO BACKGROUND
========================================================= */
.project-page .service-hero {
    background:
        linear-gradient(
            90deg,
            #06131a 0%,
            rgba(6, 19, 26, 0.98) 30%,
            rgba(6, 19, 26, 0.82) 50%,
            rgba(6, 19, 26, 0.30) 72%,
            rgba(6, 19, 26, 0.08) 100%
        ),
        url("images/projektowanie.png") center right / cover no-repeat;
}
/* =========================================================
   GOOGLE REVIEWS
========================================================= */

.reviews-section {
    padding: 120px 0 145px;
    background: #081f2b;
    overflow: hidden;
}

.reviews-heading {
    max-width: 760px;
    margin: 0 auto 70px;
    text-align: center;
}

.reviews-heading .eyebrow {
    margin-bottom: 22px;
}

.reviews-heading h2 {
    margin: 0;
    color: var(--white);
    font-family: var(--serif);
    font-size: clamp(48px, 4.5vw, 72px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.04em;
}

.reviews-heading h2 span {
    display: block;
    color: var(--green);
    font-style: italic;
}

.reviews-heading > p:last-child {
    max-width: 520px;
    margin: 25px auto 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}


/* CAŁY WIDGET */

.reviews-google {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 34px;
    align-items: start;

    max-width: 1180px;
    margin: 0 auto;
}


/* =========================================================
   LEWA STRONA
========================================================= */

.reviews-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding-top: 35px;
}

.reviews-summary-title {
    margin-bottom: 9px;

    color: #ffffff;

    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.reviews-summary-stars {
    margin-bottom: 7px;

    color: #f9b805;

    font-size: 30px;
    line-height: 1;
    letter-spacing: 0;
}

.reviews-summary-count {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 14px;
    line-height: 1.4;
}

.reviews-summary-count strong {
    color: #ffffff;
    font-weight: 600;
}

.reviews-google-link {
    display: block;
    width: 120px;

    text-decoration: none;

    transition: opacity 180ms ease;
}

.reviews-google-link:hover {
    opacity: 0.8;
}

.reviews-google-link img {
    display: block;

    width: 100%;
    height: auto;
}


/* =========================================================
   KARUZELA
========================================================= */

.reviews-carousel {
    position: relative;
    min-width: 0;
}

.reviews-viewport {
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 16px;

    transition: transform 420ms cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}


/* =========================================================
   KARTA
========================================================= */

.review-card {
    flex: 0 0 calc((100% - 32px) / 3);

    min-width: 0;
    height: 228px;

    padding: 20px 20px 18px;

    background: #171717;
    border: none;
    border-radius: 3px;

    display: flex;
    flex-direction: column;

    box-sizing: border-box;
}


/* GÓRA KARTY */

.review-card-header {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 22px;
    gap: 11px;
    align-items: center;

    margin-bottom: 13px;
}

.review-avatar {
    display: block;

    width: 42px;
    height: 42px;

    border-radius: 50%;
    object-fit: cover;
}

.review-author {
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 2px;
}

.review-author strong {
    overflow: hidden;

    color: #ffffff;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.review-author span {
    color: #8f8f8f;

    font-size: 11px;
    line-height: 1.2;
}


/* PRAWDZIWE GOOGLE G */

.review-google-icon {
    display: block;

    width: 21px;
    height: 21px;

    object-fit: contain;

    justify-self: end;
}


/* =========================================================
   GWIAZDKI
========================================================= */

.review-stars {
    margin-bottom: 10px;

    color: #f9b805;

    font-size: 17px;
    line-height: 1;
    letter-spacing: 0;
}

.review-star-empty {
    color: #777777;
}


/* =========================================================
   TREŚĆ
========================================================= */

.review-content {
    overflow: hidden;

    max-height: 72px;

    transition: max-height 300ms ease;
}

.review-content p {
    margin: 0;

    color: #ffffff;

    font-size: 12.5px;
    line-height: 1.48;
}

.review-card.is-expanded {
    height: auto;
    min-height: 228px;
}

.review-card.is-expanded .review-content {
    max-height: 700px;
}

.review-more {
    align-self: flex-start;

    margin-top: 8px;
    padding: 0;

    border: 0;
    background: none;

    color: #969696;

    font-family: var(--sans);
    font-size: 11.5px;

    cursor: pointer;
}

.review-more:hover {
    color: #ffffff;
}


/* =========================================================
   STRZAŁKI
========================================================= */

.reviews-arrow {
    position: absolute;
    z-index: 10;
    top: 94px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 42px;

    padding: 0;

    border: 0;
    border-radius: 3px;

    background: rgba(23, 23, 23, 0.94);
    color: #aaaaaa;

    font-family: Arial, sans-serif;
    font-size: 27px;
    font-weight: 300;

    cursor: pointer;

    transform: none;

    transition:
        color 180ms ease,
        background 180ms ease,
        opacity 180ms ease;
}

.reviews-arrow:hover {
    color: #ffffff;
    background: #222222;
}

.reviews-arrow-prev {
    left: -16px;
}

.reviews-arrow-next {
    right: -16px;
}

.reviews-arrow:disabled {
    opacity: 0.4;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .reviews-google {
        grid-template-columns: 170px minmax(0, 1fr);
        gap: 26px;
    }

    .review-card {
        flex-basis: calc((100% - 16px) / 2);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .reviews-section {
        padding: 85px 0 120px;
    }

    .reviews-heading {
        margin-bottom: 48px;
    }

    .reviews-google {
        display: block;
    }

    .reviews-summary {
        margin-bottom: 35px;
    }

    .reviews-carousel {
        width: 100%;
    }

    .review-card {
        flex-basis: 100%;
        height: 228px;
    }

    .reviews-arrow {
        top: auto;
        bottom: -58px;

        transform: none;
    }

    .reviews-arrow-prev {
        left: calc(50% - 42px);
    }

    .reviews-arrow-next {
        right: calc(50% - 42px);
    }

}
/* =====================================================
   PROJEKTOWANIE — AKWARIUM OD PODSTAW
===================================================== */

.project-overview {
    position: relative;
    overflow: hidden;
    padding: 120px 0 125px;
    background:
        radial-gradient(
            circle at 12% 52%,
            rgba(22, 174, 240, 0.055),
            transparent 28%
        ),
        #07151d;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-overview-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.35fr 0.95fr;
    gap: 64px;
    align-items: center;
}


/* =====================================================
   LEWA STRONA
===================================================== */

.project-overview-visual {
    min-width: 0;
}

.project-overview-label {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 54px;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--blue-light);
}

.project-overview-label span {
    white-space: nowrap;
}

.project-overview-label div {
    width: 70px;
    height: 1px;
    background: rgba(67, 197, 255, 0.45);
}

.project-overview-aquarium {
    display: block;
    width: 100%;
    max-width: 360px;
    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(0 0 18px rgba(22, 174, 240, 0.12))
        drop-shadow(0 0 45px rgba(22, 174, 240, 0.05));
}


/* =====================================================
   ŚRODEK
===================================================== */

.project-overview-content {
    position: relative;

    padding-left: 58px;
    border-left: 1px solid rgba(255, 255, 255, 0.10);
}

.project-overview-content h2 {
    margin: 0;

    max-width: 540px;

    font-family: var(--serif);
    font-size: clamp(48px, 4vw, 72px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.025em;

    color: var(--white);
}

.project-overview-content h2 span {
    display: block;
    margin-top: 8px;

    font-style: italic;
    color: var(--blue-light);
}

.project-overview-content > p {
    max-width: 520px;

    margin: 38px 0 0;

    font-size: 16px;
    line-height: 1.85;

    color: var(--muted);
}


/* =====================================================
   PROCES
===================================================== */

.project-overview-process {
    position: relative;

    display: flex;
    flex-direction: column;

    padding-left: 22px;
}

.project-overview-process::before {
    content: "";

    position: absolute;

    top: 20px;
    bottom: 20px;
    left: 28px;

    width: 1px;

    background: linear-gradient(
        to bottom,
        rgba(67, 197, 255, 0.8),
        rgba(67, 197, 255, 0.12)
    );
}

.project-overview-step {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 24px;
    align-items: start;

    min-height: 86px;
}

.project-overview-step:last-child {
    min-height: 0;
}

.project-overview-number {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 14px;
    height: 14px;

    margin-top: 5px;

    font-size: 0;

    border: 1px solid var(--blue-light);
    border-radius: 50%;

    background: #07151d;

    box-shadow: 0 0 12px rgba(67, 197, 255, 0.28);
}

.project-overview-number::after {
    content: "";

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: var(--blue-light);
}

.project-overview-step h3 {
    margin: 0 0 7px;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;

    letter-spacing: 0.16em;
    text-transform: uppercase;

    color: var(--blue-light);
}

.project-overview-step h3::before {
    content: counter(project-step, decimal-leading-zero) "  ";

    margin-right: 5px;

    color: rgba(67, 197, 255, 0.45);
}

.project-overview-process {
    counter-reset: project-step;
}

.project-overview-step {
    counter-increment: project-step;
}

.project-overview-step p {
    margin: 0;

    max-width: 260px;

    font-size: 13px;
    line-height: 1.55;

    color: var(--muted);
}
.project-overview-content h2 {
    max-width: 620px;
    font-size: clamp(48px, 3.7vw, 68px);
}

.project-overview-content h2 span {
    white-space: nowrap;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {

    .project-overview {
        padding: 100px 0;
    }

    .project-overview-grid {
        grid-template-columns: 0.8fr 1.2fr;
        gap: 65px;
    }

    .project-overview-process {
        grid-column: 1 / -1;

        display: grid;
        grid-template-columns: repeat(5, 1fr);

        margin-top: 30px;
        padding: 35px 0 0;

        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .project-overview-process::before {
        display: none;
    }

    .project-overview-step {
        display: block;
        min-height: 0;
        padding-right: 25px;
    }

    .project-overview-number {
        margin: 0 0 20px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 760px) {

    .project-overview {
        padding: 75px 0 80px;
    }

    .project-overview-grid {
        display: flex;
        flex-direction: column;
        gap: 55px;
        align-items: stretch;
    }

    .project-overview-label {
        margin-bottom: 35px;
    }

    .project-overview-aquarium {
        width: 75%;
        max-width: 280px;
        margin: 0 auto;
    }

    .project-overview-content {
        padding: 0;
        border-left: 0;
    }

    .project-overview-content h2 {
        font-size: clamp(44px, 13vw, 58px);
    }

    .project-overview-content > p {
        margin-top: 28px;
        font-size: 15px;
        line-height: 1.75;
    }

    .project-overview-process {
        display: flex;
        flex-direction: column;

        margin: 0;
        padding: 0 0 0 8px;

        border-top: 0;
    }

    .project-overview-process::before {
        display: block;

        top: 20px;
        bottom: 20px;
        left: 14px;
    }

    .project-overview-step {
        display: grid;
        grid-template-columns: 38px 1fr;
        gap: 18px;

        min-height: 85px;
        padding: 0;
    }

    .project-overview-step:last-child {
        min-height: 0;
    }

    .project-overview-number {
        margin-top: 5px;
    }

}
.consulting-page .service-hero {
    position: relative;
    background:
        linear-gradient(
            90deg,
            rgba(5, 10, 14, 0.98) 0%,
            rgba(5, 10, 14, 0.92) 32%,
            rgba(5, 10, 14, 0.55) 58%,
            rgba(5, 10, 14, 0.12) 100%
        ),
        url("images/doradztwo.png") center right / cover no-repeat;
}
/* DORADZTWO — ikona sekcji wprowadzenia */

.consulting-page .consulting-intro-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.consulting-page .consulting-intro-icon {
    display: block;
    width: 340px;
    height: auto;
    margin-top: 28px;
    object-fit: contain;
}
.consulting-intro-label > span {
    display: block;
    text-align: center;
}

.consulting-intro-label .service-section-line {
    width: 280px;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}
/* =========================================
   EXAQUA — HERO BACKGROUND
========================================= */

.exaqua-page .service-hero {
    position: relative;
    background:
        linear-gradient(
            90deg,
            rgba(3, 10, 15, 0.96) 0%,
            rgba(3, 10, 15, 0.82) 42%,
            rgba(3, 10, 15, 0.35) 100%
        ),
        url("images/exaqua.png") center / cover no-repeat;
}
.exaqua-intro-icon {
    display: block;
    width: 160px;
    height: auto;
    margin: 32px auto 0;
    object-fit: contain;
}
.exaqua-page .service-section-label > span {
    display: block;
    text-align: center;
}
.exaqua-page .service-section-line {
    width: 280px;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}
/* EXAQUA — KIEDY ZBADAĆ WODĘ */

.exaqua-when .exaqua-when-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.exaqua-when .exaqua-when-icon img {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
}
/* =========================================
   AQUASCAPING — HERO BACKGROUND
========================================= */

.aquascaping-page .service-hero {
    position: relative;
    background:
        linear-gradient(
            90deg,
            rgba(3, 10, 15, 0.96) 0%,
            rgba(3, 10, 15, 0.78) 42%,
            rgba(3, 10, 15, 0.20) 100%
        ),
        url("images/aquascaping.png") center / cover no-repeat;
}
/* =====================================================
   AQUASCAPING — INTRO
===================================================== */

.aquascaping-intro-visual .service-section-label {
    display: block;
    width: 100%;
    margin: 0;

    color: var(--blue);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: left;
}

.aquascaping-intro-visual .service-section-label::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    margin-top: 22px;
    background: var(--line);
}

.aquascaping-rock {
    display: block;
    width: 280px;
    max-width: 85%;
    height: auto;
    margin: 32px auto 0;
    object-fit: contain;
}
.aquascaping-page .service-section-label > span {
    display: block;
    text-align: center;
}
.aquascaping-page .service-section-line {
    width: 280px;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}
/* =========================================================
   WODA RO — HERO
========================================================= */

.ro-page .service-hero {
    position: relative;
    background:
        linear-gradient(
            90deg,
            rgba(3, 10, 15, 0.96) 0%,
            rgba(3, 10, 15, 0.82) 38%,
            rgba(3, 10, 15, 0.38) 68%,
            rgba(3, 10, 15, 0.16) 100%
        ),
        url("images/wodaro.png") center / cover no-repeat;
}
/* =========================================================
   WODA RO — INTRO
========================================================= */

.ro-intro-grid {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 90px;
    align-items: start;
}

.ro-intro-left {
    width: 100%;
    max-width: none;
}

.ro-intro-left .service-section-label > span {
    display: block;
    text-align: center;
}

.ro-intro-left .service-section-line {
    width: 280px;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.ro-intro-icon {
    display: block;
    width: 280px;
    max-width: 85%;
    height: auto;
    margin: 32px auto 0;
    object-fit: contain;
}

.ro-intro-content {
    min-width: 0;
}


/* TABLET */

@media (max-width: 1050px) {

    .ro-intro-grid {
        grid-template-columns: 170px minmax(0, 1fr);
        gap: 60px;
    }

    .ro-intro-icon {
        width: 160px;
    }

}


/* MOBILE */

@media (max-width: 750px) {

    .ro-intro-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .ro-intro-left {
        max-width: 280px;
    }

    .ro-intro-icon {
        width: 190px;
        margin: 32px auto 0;
    }

}
.ro-usage-section {
  padding: 120px 0;
}

.ro-usage-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 420px);
  gap: 80px;
  align-items: end;
}

.ro-usage-head-left {
  max-width: 760px;
}

.ro-usage-head-right {
  max-width: 420px;
}

.ro-usage-head-right p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.7;
}

.ro-usage-title {
  margin: 18px 0 0;
  font-size: clamp(54px, 6vw, 88px);
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #f4f1ea;
}

.ro-usage-title span {
  display: block;
  color: #29b6ff;
  font-style: italic;
  font-weight: 500;
}

.ro-usage-list {
  margin-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ro-usage-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 48px;
  padding: 42px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: start;
}

.ro-usage-icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

.ro-usage-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.ro-usage-content {
  max-width: 760px;
}

.ro-usage-content h3 {
  margin: 0 0 10px;
  font-size: 36px;
  line-height: 1.1;
  font-weight: 600;
  color: #f4f1ea;
}

.ro-usage-content p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.7;
}

.ro-usage-content ul {
  margin: 0;
  padding-left: 22px;
}

.ro-usage-content li {
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .ro-usage-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ro-usage-list {
    margin-top: 48px;
  }

  .ro-usage-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 30px 0;
  }

  .ro-usage-icon {
    justify-content: flex-start;
  }

  .ro-usage-content h3 {
    font-size: 28px;
  }

  .ro-usage-content p,
  .ro-usage-content li,
  .ro-usage-head-right p {
    font-size: 16px;
  }
}
/* =========================================================
   WODA RO — PRZYGOTOWANIE
========================================================= */

.ro-preparation {
    padding: 145px 0 155px;
    background: var(--bg);
}


/* =========================================================
   GŁÓWNE KARTY
========================================================= */

.ro-preparation-main {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.ro-preparation-card {
    position: relative;

    min-height: 360px;
    padding: 38px 40px 34px;

    border: 1px solid var(--line);
    background: rgba(4, 13, 18, 0.28);
}

.ro-preparation-number {
    display: block;

    margin-bottom: 18px;

    color: var(--blue-light);

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
}


/* GÓRA KARTY */

.ro-preparation-card-top {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 30px;

    align-items: start;
}

.ro-preparation-main-icon {
    display: block;

    width: 92px;
    height: 92px;

    object-fit: contain;
}

.ro-preparation-card h3 {
    margin: 0 0 15px;

    color: var(--white);

    font-family: var(--serif);
    font-size: 32px;
    font-weight: 400;

    line-height: 1.08;
}

.ro-preparation-card-top p {
    max-width: 470px;

    margin: 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   LISTA Z PUNKTAMI
========================================================= */

.ro-preparation-points {
    margin: 32px 0 0;
    padding: 25px 0 0;

    border-top: 1px solid var(--line);

    list-style: none;
}

.ro-preparation-points li {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-top: 12px;

    color: var(--text);

    font-size: 13px;
    line-height: 1.6;
}

.ro-preparation-points li:first-child {
    margin-top: 0;
}

.ro-preparation-points img {
    flex: 0 0 22px;

    display: block;

    width: 22px;
    height: 22px;

    object-fit: contain;
}


/* =========================================================
   DOLNE KARTY
========================================================= */

.ro-preparation-secondary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 24px;

    margin-top: 24px;
}

.ro-preparation-small {
    display: grid;

    grid-template-columns:
        110px
        1px
        minmax(0, 1fr);

    gap: 30px;
    align-items: center;

    min-height: 165px;

    padding: 30px 38px;

    border: 1px solid var(--line);

    background: rgba(4, 13, 18, 0.2);
}

.ro-preparation-small-icon {
    display: block;

    width: 82px;
    height: 82px;

    object-fit: contain;

    justify-self: center;
}

.ro-preparation-small-line {
    width: 1px;
    height: 82px;

    background: var(--line);
}

.ro-preparation-small h3 {
    margin: 0 0 10px;

    color: var(--white);

    font-family: var(--serif);
    font-size: 26px;
    font-weight: 400;

    line-height: 1.1;
}

.ro-preparation-small p {
    max-width: 430px;

    margin: 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.75;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .ro-preparation-card-top {
        grid-template-columns: 80px minmax(0, 1fr);
        gap: 22px;
    }

    .ro-preparation-main-icon {
        width: 72px;
        height: 72px;
    }

    .ro-preparation-small {
        grid-template-columns:
            80px
            1px
            minmax(0, 1fr);

        gap: 22px;

        padding: 28px;
    }

    .ro-preparation-small-icon {
        width: 64px;
        height: 64px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 750px) {

    .ro-preparation {
        padding: 95px 0 100px;
    }

    .ro-preparation-main,
    .ro-preparation-secondary {
        grid-template-columns: 1fr;
    }

    .ro-preparation-card {
        min-height: 0;

        padding: 30px 24px;
    }

    .ro-preparation-card-top {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .ro-preparation-main-icon {
        width: 62px;
        height: 62px;
    }

    .ro-preparation-card h3 {
        font-size: 27px;
    }

    .ro-preparation-small {
        grid-template-columns:
            65px
            1px
            minmax(0, 1fr);

        gap: 18px;

        min-height: 0;

        padding: 26px 22px;
    }

    .ro-preparation-small-icon {
        width: 54px;
        height: 54px;
    }

    .ro-preparation-small-line {
        height: 65px;
    }

}
/* =========================================================
   WODA RO — WARTO WIEDZIEĆ
========================================================= */

.ro-important-list > div {
    grid-template-columns: 55px 1fr;
}

.ro-important-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    width: 28px;
    height: 28px;
}

.ro-important-icon img {
    display: block;

    width: 28px;
    height: 28px;

    object-fit: contain;
}
/* =========================================================
   STRONA GŁÓWNA — RESPONSIVE FIX
========================================================= */


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .site-header {
        height: 100px;
    }

    .container {
        width: min(calc(100% - 44px), var(--container));
    }


    /* HERO */

    .hero,
    .hero-inner {
        min-height: calc(100svh - 100px);
    }

    .hero-inner {
        justify-content: center;
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .hero-content {
        width: min(680px, 82%);
    }

    .hero h1 {
        font-size: clamp(56px, 8vw, 76px);
    }


    /* ABOUT */

    .about-section {
        padding: 110px 0 120px;
    }

    .about-grid {
        grid-template-columns: 135px 1px minmax(0, 1fr);
        gap: 45px;
    }

    .about-symbol {
        width: 240px;
        transform: translateX(-75px);
    }

    .about-content {
        padding-left: 0;
    }

    .about-content h2 {
        font-size: clamp(44px, 6vw, 60px);
    }


    /* SERVICES */

    .services-section {
        padding: 110px 0 120px;
    }

    .section-heading {
        gap: 35px;
    }

    .service-row {
        grid-template-columns:
            minmax(220px, 0.8fr)
            minmax(260px, 1fr)
            30px;

        gap: 35px;
    }


    /* CARE */

    .care-section {
        grid-template-columns: 1fr 1fr;
        min-height: 620px;
    }

    .care-photo {
        min-height: 620px;
    }

    .care-content {
        padding:
            70px
            44px;
    }

    .care-content h2 {
        font-size: clamp(50px, 6vw, 68px);
    }


    /* FOOTER */

    .footer-main {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap:
            50px
            70px;
    }
}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    :root {
        --header-height: 88px;
    }


    /* GLOBAL */

    .container {
        width: calc(100% - 34px);
    }

    body {
        overflow-x: hidden;
    }


    /* =====================================================
       HEADER
    ===================================================== */

    .site-header {
        height: 88px;
    }

    .header-inner {
        height: 88px;
    }

    .header-logo img {
        width: 132px;
    }

    .mobile-menu-button {
        width: 44px;
        height: 44px;
    }

    .mobile-nav {
        top: 88px;
        max-height: calc(100dvh - 88px);
        overflow-y: auto;

        padding:
            12px
            17px
            25px;
    }

    .mobile-nav a {
        font-size: 14px;
    }


    /* =====================================================
       HERO
    ===================================================== */

    .hero {
        min-height: calc(100svh - 88px);
    }

    .hero-inner {
        min-height: calc(100svh - 88px);

        justify-content: center;

        padding-top: 65px;
        padding-bottom: 55px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero-eyebrow {
        margin-bottom: 22px;

        font-size: 9px;
        line-height: 1.5;
    }

    .hero h1 {
        max-width: 100%;

        font-size: clamp(48px, 13.5vw, 62px);
        line-height: 0.97;

        letter-spacing: -0.035em;
    }

    .hero h1 span {
        margin-top: 5px;
    }

    .hero-description {
        max-width: 92%;

        margin-top: 26px;

        font-size: 13px;
        line-height: 1.75;
    }

    .hero-actions {
        width: 100%;

        flex-direction: column;
        align-items: stretch;

        gap: 12px;

        margin-top: 30px;
    }

    .hero-actions .button {
        width: 100%;
        min-width: 0;
    }

    .hero-video video {
        object-position: 58% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(2, 8, 12, 0.95) 0%,
                rgba(2, 8, 12, 0.82) 58%,
                rgba(2, 8, 12, 0.42) 100%
            ),
            linear-gradient(
                0deg,
                rgba(2, 8, 12, 0.88) 0%,
                rgba(2, 8, 12, 0.05) 55%,
                rgba(2, 8, 12, 0.15) 100%
            );
    }


    /* =====================================================
       ABOUT
    ===================================================== */

    .about-section {
        padding:
            85px
            0
            95px;
    }

    .about-grid {
        display: flex;
        flex-direction: column;

        gap: 0;
    }

    .about-label {
        width: 100%;

        padding-top: 0;
    }

    .about-label span {
        font-size: 9px;
    }

    .about-label-line {
        width: 52px;
    }

    .about-symbol {
        width: 150px;

        margin:
            32px
            auto
            0;

        transform: none;
    }

    .about-divider {
        display: none;
    }

    .about-content {
        width: 100%;
        max-width: none;

        padding-left: 0;

        margin-top: 50px;
    }

    .about-content h2 {
        max-width: 100%;

        font-size: clamp(40px, 11.5vw, 52px);
        line-height: 1;

        overflow-wrap: break-word;
    }

    .about-text {
        max-width: 100%;

        margin-top: 32px;
    }

    .about-text p {
        font-size: 13px;
        line-height: 1.8;
    }

    .about-text p + p {
        margin-top: 20px;
    }


    /* =====================================================
       SERVICES
    ===================================================== */

    .services-section {
        padding:
            90px
            0
            100px;

        background-size: auto 520px;
    }

    .section-heading {
        display: block;

        margin-bottom: 48px;
    }

    .section-heading .eyebrow {
        margin-bottom: 18px;
    }

    .section-heading h2 {
        max-width: 100%;

        font-size: clamp(40px, 11vw, 50px);
        line-height: 1;
    }

    .section-heading > p {
        max-width: 100%;

        margin-top: 24px;
        padding-bottom: 0;

        font-size: 13px;
        line-height: 1.75;
    }

    .services-grid {
        display: block;

        border-top: 1px solid var(--line);
    }

    .service-row {
        display: grid;

        grid-template-columns:
            minmax(0, 1fr)
            24px;

        grid-template-areas:
            "title arrow"
            "description description";

        column-gap: 18px;
        row-gap: 16px;

        min-height: 0;

        padding:
            29px
            0;
    }

    .service-row-title {
        grid-area: title;

        min-width: 0;
    }

    .service-row-title h3 {
        font-size: 25px;
        line-height: 1.12;

        overflow-wrap: break-word;
    }

    .service-row > p {
        grid-area: description;

        max-width: 100%;

        font-size: 12.5px;
        line-height: 1.7;
    }

    .service-row-arrow {
        grid-area: arrow;

        justify-self: end;
        align-self: start;

        padding-top: 4px;
    }

    .service-row::before {
        inset:
            0
            -17px;
    }


    /* =====================================================
       CARE
    ===================================================== */

    .care-section {
        display: flex;
        flex-direction: column;

        min-height: 0;
    }

    .care-photo {
        width: 100%;
        min-height: 330px;
        height: 330px;
    }

    .care-photo::after {
        background:
            linear-gradient(
                to bottom,
                transparent 55%,
                #030a0e 100%
            );
    }

    .care-content {
        width: 100%;

        padding:
            65px
            17px
            85px;
    }

    .care-content h2 {
        max-width: 100%;

        font-size: clamp(43px, 12vw, 55px);
        line-height: 0.98;
    }

    .care-text {
        max-width: 100%;

        margin-top: 32px;
    }

    .care-text p {
        font-size: 13px;
        line-height: 1.8;
    }

    .care-text p + p {
        margin-top: 20px;
    }

    .care-link {
        width: 100%;
        min-width: 0;

        gap: 20px;

        margin-top: 32px;
    }


    /* =====================================================
       REVIEWS
    ===================================================== */

    .reviews-section {
        padding:
            85px
            0
            110px;
    }

    .reviews-heading {
        margin-bottom: 42px;
    }

    .reviews-heading h2 {
        font-size: clamp(40px, 11vw, 50px);
    }

    .reviews-heading > p:last-child {
        margin-top: 20px;

        font-size: 13px;
    }

    .reviews-google {
        display: block;
    }

    .reviews-summary {
        padding-top: 0;

        margin-bottom: 38px;
    }

    .reviews-summary-stars {
        font-size: 26px;
    }

    .reviews-carousel {
        width: 100%;
    }

    .reviews-viewport {
        width: 100%;
    }

    .reviews-track {
        gap: 0;
    }

    .review-card {
        flex:
            0
            0
            100%;

        width: 100%;

        height: auto;
        min-height: 228px;

        padding:
            20px
            18px;
    }

    .reviews-arrow {
        bottom: -58px;
    }


    /* =====================================================
       CONTACT CTA
    ===================================================== */

    .contact-section {
        padding:
            90px
            0
            95px;
    }

    .contact-inner h2 {
        max-width: 100%;

        font-size: clamp(42px, 12vw, 54px);
    }

    .contact-inner > p:not(.eyebrow) {
        max-width: 100%;

        margin-top: 24px;

        font-size: 13px;
    }

    .contact-inner .button {
        width: 100%;
        max-width: 280px;

        margin-top: 32px;
    }


    /* =====================================================
       FOOTER
    ===================================================== */

    .footer-main {
        display: flex;
        flex-direction: column;

        gap: 40px;

        padding-top: 55px;
        padding-bottom: 45px;
    }

    .footer-brand {
        width: 100%;

        align-items: flex-start;

        transform: none;
    }

    .footer-logo img {
        width: 190px;
    }

    .footer-brand p {
        width: auto;

        text-align: left;
    }

    .footer-column {
        width: 100%;
    }

    .footer-contact {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;

        gap: 10px;

        padding:
            22px
            0;
    }

    .footer-credit {
        line-height: 1.6;
    }
}



/* =========================================================
   MAŁE TELEFONY
========================================================= */

@media (max-width: 380px) {

    .container {
        width: calc(100% - 28px);
    }

    .header-logo img {
        width: 120px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero-description {
        max-width: 100%;
    }

    .about-content h2,
    .section-heading h2,
    .reviews-heading h2 {
        font-size: 39px;
    }

    .service-row-title h3 {
        font-size: 23px;
    }

    .care-content h2,
    .contact-inner h2 {
        font-size: 40px;
    }
}
/* =========================================================
   MOBILE MENU — FIX
========================================================= */

@media (max-width: 1050px) {

    .mobile-nav {
        display: none;
    }

    .mobile-nav.active {
        display: flex;
    }

    .mobile-services-menu {
        display: none;
    }

    .mobile-services-menu.active {
        display: flex;
        flex-direction: column;
    }

    .mobile-services-button {
        width: 100%;

        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 16px 0;

        background: transparent;
        border-bottom: 1px solid var(--line);

        color: var(--text);

        font-size: 14px;

        cursor: pointer;
    }

    .mobile-services-menu {
        padding:
            5px
            0
            10px
            16px;
    }

    .mobile-services-menu a {
        padding: 12px 0;

        color: var(--muted);

        font-size: 13px;
    }

}
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .about-divider {
        display: none;
    }

    .about-label {
        align-items: flex-start;
        text-align: left;
        padding-top: 0;
    }

    .about-label-line {
        margin-left: 0;
        margin-right: 0;
    }

    .about-symbol {
    width: 120px;

    margin-top: 18px;
    margin-left: 0;
    margin-right: auto;

    justify-content: flex-start;
}

    .about-content {
        max-width: 100%;
        padding-left: 0;
    }

    .about-content h2 {
        font-size: clamp(38px, 11vw, 56px);
    }

    .about-text {
        max-width: 100%;
        margin-top: 30px;
    }
}

@media (max-width: 1050px) {

    .mobile-nav-cta {
        width: 100%;
        min-height: 54px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        margin-top: 18px;
        padding: 0 18px;

        border: 0;
        background: var(--blue);

        color: #031017;

        font-size: 13px;
        font-weight: 600;

        cursor: pointer;
    }

    .mobile-nav-cta:hover {
        background: var(--blue-light);
    }

}
/* =========================================================
   MOBILE — HERO PODSTRON JAK STRONA GŁÓWNA
   SERWIS WYŁĄCZONY
========================================================= */

@media (max-width: 750px) {

    /* TYLKO HERO, KTÓRE NIE MAJĄ OSOBNEGO ZDJĘCIA <img> */
    .service-page .service-hero:not(:has(.service-hero-image)) {
        min-height: calc(100svh - var(--header-height));
        height: auto;

        display: flex;
        align-items: stretch;

        position: relative;
        overflow: hidden;
    }

    .service-page
    .service-hero:not(:has(.service-hero-image))
    .service-hero-inner {
        width: calc(100% - 34px);
        min-height: calc(100svh - var(--header-height));

        display: flex;
        align-items: flex-start;
        justify-content: center;

        padding-top: 70px;
        padding-bottom: 70px;
    }

    .service-page
    .service-hero:not(:has(.service-hero-image))
    .service-hero-content {
        width: 100%;
        max-width: none;

        position: relative;
        z-index: 2;
    }

    /* EYEBROW */

    .service-page
    .service-hero:not(:has(.service-hero-image))
    .service-hero-content
    .eyebrow {
        margin: 0 0 28px;

        font-size: 10px;
        line-height: 1.4;
        letter-spacing: 0.18em;
    }

    /* NAGŁÓWEK */

    .service-page
    .service-hero:not(:has(.service-hero-image))
    h1 {
        width: 100%;
        max-width: 100%;

        margin: 0;

        font-size: clamp(48px, 13vw, 64px);
        line-height: 0.96;
        letter-spacing: -0.04em;
    }

    .service-page
    .service-hero:not(:has(.service-hero-image))
    h1 strong,
    .service-page
    .service-hero:not(:has(.service-hero-image))
    h1 span {
        display: block;
    }

    /* OPIS */

    .service-page
    .service-hero:not(:has(.service-hero-image))
    .service-hero-description {
        width: 100%;
        max-width: 100%;

        margin-top: 32px;

        font-size: 14px;
        line-height: 1.75;
    }

    /* PRZYCISKI */

    .service-page
    .service-hero:not(:has(.service-hero-image))
    .service-hero-actions {
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 12px;

        margin-top: 34px;
    }

    .service-page
    .service-hero:not(:has(.service-hero-image))
    .service-hero-actions
    .button {
        width: 100%;
        min-width: 0;
        min-height: 58px;

        padding: 0 24px;

        font-size: 14px;
    }


    /* =====================================================
       KADROWANIE TŁA — KAŻDA PODSTRONA
    ===================================================== */

    .project-page .service-hero {
        background-position: 58% center;
    }

    .consulting-page .service-hero {
        background-position: 61% center;
    }

    .exaqua-page .service-hero {
        background-position: 61% center;
    }

    .aquascaping-page .service-hero {
        background-position: 63% center;
    }

    .ro-page .service-hero {
        background-position: 62% center;
    }
}


/* =========================================================
   BARDZO MAŁE TELEFONY
========================================================= */

@media (max-width: 390px) {

    .service-page
    .service-hero:not(:has(.service-hero-image))
    .service-hero-inner {
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .service-page
    .service-hero:not(:has(.service-hero-image))
    h1 {
        font-size: clamp(43px, 12.5vw, 52px);
    }

    .service-page
    .service-hero:not(:has(.service-hero-image))
    .service-hero-description {
        margin-top: 26px;

        font-size: 13px;
    }

    .service-page
    .service-hero:not(:has(.service-hero-image))
    .service-hero-actions {
        margin-top: 28px;
    }
}
.service-scope-item.is-open .service-scope-details {
    grid-template-rows: 1fr;
    opacity: 1;
}

.service-scope-item.is-open .service-scope-title {
    color: var(--blue-light);
}

@media (hover: none), (pointer: coarse) {

    .service-scope-toggle {
        cursor: pointer;
    }

}
/* =========================================================
   LINK POLITYKI PRYWATNOŚCI W FORMULARZU
========================================================= */

.privacy-modal-link {
    display: inline;
    padding: 0;
    margin: 0;

    background: transparent;
    border: 0;

    font: inherit;
    color: var(--accent, #00d8ff);

    text-decoration: underline;
    text-underline-offset: 3px;

    cursor: pointer;
}


.privacy-modal-link:hover {
    color: #ffffff;
}


/* =========================================================
   MODAL POLITYKI PRYWATNOŚCI
========================================================= */

.privacy-modal {
    position: fixed;
    inset: 0;

    z-index: 1200;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    visibility: hidden;
    opacity: 0;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


.privacy-modal.is-open {
    visibility: visible;
    opacity: 1;
}


/* TŁO */

.privacy-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 5, 8, 0.86);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


/* OKNO */

.privacy-modal-dialog {
    position: relative;

    z-index: 1;

    width: min(100%, 900px);
    max-height: calc(100vh - 60px);

    overflow: hidden;

    padding: 55px;

    background: #08131a;

    border:
        1px solid
        rgba(255, 255, 255, 0.1);

    box-shadow:
        0 40px 100px
        rgba(0, 0, 0, 0.55);

    transform:
        translateY(25px)
        scale(0.98);

    transition:
        transform
        0.35s
        cubic-bezier(0.2, 0.8, 0.2, 1);
}


.privacy-modal.is-open
.privacy-modal-dialog {
    transform:
        translateY(0)
        scale(1);
}


/* CYANOWY DETAL */

.privacy-modal-dialog::before {
    content: "";

    position: absolute;

    top: -1px;
    left: -1px;

    width: 110px;
    height: 2px;

    background:
        var(--accent, #00d8ff);
}


/* X */

.privacy-modal-close {
    position: absolute;

    top: 22px;
    right: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    padding: 0;

    background: transparent;

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 27px;
    font-weight: 300;

    color:
        rgba(255, 255, 255, 0.7);

    cursor: pointer;

    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}


.privacy-modal-close:hover {
    color: #ffffff;

    border-color:
        var(--accent, #00d8ff);

    background:
        rgba(0, 216, 255, 0.05);
}


/* NAGŁÓWEK */

.privacy-modal-heading {
    padding-right: 60px;
    margin-bottom: 30px;
}


.privacy-modal-heading h2 {
    margin: 14px 0 18px;

    font-family:
        "DM Serif Display",
        serif;

    font-size:
        clamp(40px, 5vw, 58px);

    font-weight: 400;
    line-height: 0.98;

    letter-spacing: -0.035em;

    color: #ffffff;
}


.privacy-modal-heading h2 span {
    color:
        var(--accent, #00d8ff);
}


.privacy-modal-heading > p:last-child {
    max-width: 560px;

    margin: 0;

    color:
        rgba(255, 255, 255, 0.58);

    font-size: 14px;
    line-height: 1.7;
}


/* TREŚĆ */

.privacy-modal-content {
    max-height: 55vh;

    overflow-y: auto;

    padding-right: 22px;

    scrollbar-width: thin;
    scrollbar-color:
        var(--accent, #00d8ff)
        rgba(255, 255, 255, 0.06);
}


.privacy-modal-content::-webkit-scrollbar {
    width: 6px;
}


.privacy-modal-content::-webkit-scrollbar-track {
    background:
        rgba(255, 255, 255, 0.05);
}


.privacy-modal-content::-webkit-scrollbar-thumb {
    background:
        var(--accent, #00d8ff);
}


.privacy-modal-content section {
    padding:
        0 0 28px;

    margin:
        0 0 28px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.08);
}


.privacy-modal-content section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;

    border-bottom: 0;
}


.privacy-modal-content h3 {
    margin:
        0 0 12px;

    color: #ffffff;

    font-size: 18px;
    font-weight: 600;
}


.privacy-modal-content p,
.privacy-modal-content li {
    color:
        rgba(255, 255, 255, 0.68);

    font-size: 14px;
    line-height: 1.75;
}


.privacy-modal-content p {
    margin:
        0 0 12px;
}


.privacy-modal-content ul {
    margin:
        10px 0 14px;

    padding-left: 20px;
}


.privacy-modal-content a {
    color:
        var(--accent, #00d8ff);

    text-decoration: none;
}


.privacy-modal-content a:hover {
    text-decoration: underline;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 750px) {

    .privacy-modal {
        padding: 15px;

        align-items: flex-start;
    }


    .privacy-modal-dialog {
        width: 100%;

        max-height:
            calc(100dvh - 30px);

        margin-top: 15px;

        padding:
            45px 25px 30px;
    }


    .privacy-modal-close {
        top: 15px;
        right: 15px;

        width: 38px;
        height: 38px;
    }


    .privacy-modal-heading {
        padding-right: 40px;

        margin-bottom: 25px;
    }


    .privacy-modal-heading h2 {
        font-size:
            clamp(38px, 11vw, 52px);
    }


    .privacy-modal-content {
        max-height:
            calc(100dvh - 240px);

        padding-right: 12px;
    }

}


@media (max-width: 480px) {

    .privacy-modal {
        padding: 0;
    }


    .privacy-modal-dialog {
        min-height: 100dvh;
        max-height: 100dvh;

        margin: 0;

        padding:
            42px 20px 28px;

        border-left: 0;
        border-right: 0;
        border-bottom: 0;
    }


    .privacy-modal-content {
        max-height:
            calc(100dvh - 210px);
    }

}
.footer-privacy-link {
    padding: 0;

    background: transparent;
    border: 0;

    font: inherit;
    color: inherit;

    cursor: pointer;
}

.footer-privacy-link:hover {
    color: var(--accent, #00d8ff);
}