﻿/*
Theme Name: PXS Szablon
Theme URI: https://www.pixelshark.eu/
Author: PixelShark.eu
Author URI: https://www.pixelshark.eu/
Description: Profesjonalny motyw WordPress dla Wszystkiego Zielonego z panelem PXS_SZABLON, edycją sekcji strony głównej, portfolio, blogiem i standardowymi podstronami WordPress.
Version: 1.2.5
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pxs-szablon
*/
/* Lokalne fonty */
@font-face {
    font-family: 'Ms Madi';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/ms-madi-vietnamese.woff2') format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* WordPress integration */
.admin-bar .navbar {
    top: 32px;
}
.custom-logo {
    width: auto;
    max-height: 89px;
}
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.navigation.pagination,
.post-navigation {
    margin: 42px 0 0;
    text-align: center;
}
.nav-links .page-numbers,
.post-navigation a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 14px;
    margin: 4px;
    border: 1px solid rgba(26, 60, 52, 0.22);
    border-radius: 999px;
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}
.nav-links .page-numbers.current,
.post-navigation a:hover {
    background: var(--primary-color);
    color: #fff;
}
.wp-block-image img,
.wp-block-gallery img {
    height: auto;
}
.blog-article .wp-block-gallery {
    margin: 34px 0;
}
.blog-article .wp-block-gallery.has-nested-images figure.wp-block-image {
    border-radius: 18px;
    overflow: hidden;
}
@media (max-width: 782px) {
    .admin-bar .navbar {
        top: 46px;
    }
}

@font-face {
    font-family: 'Ms Madi';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/ms-madi-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Ms Madi';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/ms-madi-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('assets/fonts/cormorant-garamond-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('assets/fonts/cormorant-garamond-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('assets/fonts/outfit-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('assets/fonts/outfit-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Zmienne i Reset */
:root {
    --primary-color: #1a3c34; /* Głęboka butelkowa zieleń */
    --accent-color: #bfa36c; /* Szlachetne przygaszone złoto */
    --text-color: #2c3e38;
    --font-main: Calibri, 'Trebuchet MS', sans-serif;
    --font-heading: Calibri, 'Trebuchet MS', sans-serif;
    --font-script: 'Ms Madi', cursive;
    
    /* Prawdziwy Glassmorphism (szkło) */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-blur: blur(25px);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: #eef2ea;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 18px;
    width: 100%;
    background-color: transparent;
    min-height: 100%;
}

/* Tło przyklejone */
.fixed-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: -2;
    overflow: hidden;
}
.fixed-background img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    z-index: 0;
}
.fixed-background .overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: transparent;
    backdrop-filter: none;
    z-index: 1;
    pointer-events: none;
}

.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto; padding: 0 40px;
}

/* Typografia premium */
h1, h2 {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 500;
}
h3 {
    color: var(--primary-color);
    font-weight: 400;
}
.script-font {
    font-family: var(--font-script);
    font-size: 5.5rem;
    color: #ffffff;
    line-height: 0.8;
    margin-bottom: -15px; /* Przyciągnięcie do nagłówka h1/h2 */
    position: relative;
    z-index: 2;
    transform: rotate(-5deg);
    -webkit-text-stroke: 0.7px rgba(26, 60, 52, 0.24);
    text-shadow:
        0 1px 1px rgba(26, 60, 52, 0.2),
        0 6px 16px rgba(26, 60, 52, 0.14);
}
.section-header { text-align: center; margin-bottom: 80px; }
.section-header h2 { font-size: 3.5rem; letter-spacing: 2px; text-transform: uppercase; }
.article-page-title { line-height: 1.1; }
.article-page-subtitle { text-transform: none; }

/* Nawigacja */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
    transition: 0.4s ease;
}
.navbar.scrolled {
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 28px rgba(26, 60, 52, 0.1);
}
.nav-container {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 26px;
}

/* Logo */
.logo { display: flex; align-items: center; justify-content: flex-start; grid-column: 1; justify-self: start; }
.logo img { width: auto; max-width: 100%; display: block; transition: 0.3s ease; }
.logo-full { display: block; height: 89px; }
.logo::after {
    content: "";
    display: none;
    width: 42px;
    height: 42px;
    background: url('assets/img/sygnet.svg') center / contain no-repeat;
    filter: brightness(0);
    flex: 0 0 auto;
}
.navbar.scrolled .logo-full { display: none; }
.navbar.scrolled .logo::after { display: block; }

.nav-links { display: flex; list-style: none; gap: 40px; margin: 0; padding: 0; grid-column: 2; justify-self: end; }
.nav-links li { flex: 0 0 auto; white-space: nowrap; position: relative; }
.nav-links a { text-decoration: none; color: var(--primary-color); font-weight: 550; font-size: 0.95rem; letter-spacing: 2px; text-transform: uppercase; transition: 0.3s; }
.nav-links a:hover { color: var(--accent-color); }
.nav-item-has-children {
    display: flex;
    align-items: center;
}
.nav-parent-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.nav-parent-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 550;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}
.nav-parent-btn {
    display: inline-flex;
    align-items: center;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    transition: color 0.3s ease;
}
.nav-parent-btn::after {
    content: "\2304";
    font-size: 0.9rem;
    line-height: 1;
    transform: translateY(-1px);
    transition: transform 0.25s ease;
}
.nav-item-has-children:hover .nav-parent-link,
.nav-item-has-children:hover .nav-parent-btn,
.nav-item-has-children.is-open .nav-parent-link,
.nav-item-has-children.is-open .nav-parent-btn,
.nav-parent-link:hover,
.nav-parent-btn:hover {
    color: var(--accent-color);
}
.nav-item-has-children.is-open .nav-parent-btn::after,
.nav-item-has-children:hover .nav-parent-btn::after,
.nav-item-has-children:focus-within .nav-parent-btn::after {
    transform: rotate(180deg) translateY(1px);
}
.nav-submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 240px;
    padding: 14px;
    margin: 0;
    list-style: none;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(26, 60, 52, 0.12);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 20;
}
.nav-submenu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 10px;
}
.nav-submenu li {
    width: 100%;
    white-space: normal;
}
.nav-submenu a {
    display: block;
    padding: 11px 14px;
    border-radius: 16px;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--primary-color);
}
.nav-submenu a:hover,
.nav-submenu a:focus-visible {
    background: rgba(194, 220, 177, 0.38);
    color: var(--primary-color);
    outline: none;
}
.nav-item-has-children:hover .nav-submenu,
.nav-item-has-children:focus-within .nav-submenu,
.nav-item-has-children.is-open .nav-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.nav-extras { display: flex; align-items: center; gap: 20px; grid-column: 3; justify-self: end; }
.lang-btn { background: none; border: 1px solid var(--primary-color); padding: 5px 15px; border-radius: 30px; cursor: pointer; color: var(--primary-color); transition: 0.3s; font-family: var(--font-main);}
.lang-btn:hover { background: var(--primary-color); color: white; }

/* HERO - Asymetryczny podział */
.hero {
    min-height: clamp(640px, calc(100dvh - 32px), 860px);
    height: auto;
    display: flex;
    align-items: center;
    padding: 92px 0 24px;
}
.hero-content { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: clamp(24px, 4vw, 56px); }
.hero-text {
    flex: 1 1 0;
    max-width: 560px;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.hero-subtitle {
    position: relative;
    overflow: visible;
    color: var(--primary-color);
    transform: none;
    margin: 0 0 14px 0;
    line-height: 1.12;
    font-size: clamp(2rem, 4.3vw, 3.6rem);
    -webkit-text-stroke: 0;
    text-shadow: 0 4px 12px rgba(26, 60, 52, 0.12);
    display: flex;
    align-items: center;
    gap: 14px;
}
.hero-subtitle::before {
    content: "";
    width: 70px;
    height: 1px;
    background: rgba(26, 60, 52, 0.45);
}
.hero-subtitle-inner {
    display: inline-block;
    transform-origin: left center;
    clip-path: inset(-10% 100% -10% 0);
    padding-block: 0.06em;
    opacity: 0;
    transform: translateY(6px);
    animation: heroHandwriting 2.5s ease forwards;
}
@keyframes heroHandwriting {
    0% {
        clip-path: inset(-10% 100% -10% 0);
        opacity: 0;
        transform: translateY(6px);
    }
    100% {
        clip-path: inset(-10% 0 -10% 0);
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-text h1 {
    font-size: clamp(1.7rem, 3.8vw, 3rem);
    line-height: 1.06;
    margin: 0 0 36px 0;
    letter-spacing: -0.4px;
    white-space: normal;
}
.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: nowrap;
}

/* Slider w kole */
.circle-slider-wrapper {
    --circle-size: clamp(420px, 38vw, 560px);
    position: relative;
    width: min(100%, calc(var(--circle-size) + 40px));
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
}
.circle-slider {
    width: var(--circle-size);
    height: var(--circle-size);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 0 40px 80px rgba(0,0,0,0.15); border: none;
}
.circle-slider img {
    width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0;
    opacity: 0; transition: opacity 1s ease, transform 4s ease; transform: scale(1);
}
.circle-slider img.active { opacity: 1; transform: scale(1.05); }

/* Buttony */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 50px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none; border-radius: 50px; font-weight: 300; letter-spacing: 2px; text-transform: uppercase;
    transition: 0.4s ease; border: 1px solid var(--primary-color); cursor: pointer; text-align: center;
}
.btn-primary::after {
    content: "↗";
    font-size: 0.95em;
    line-height: 1;
    transition: transform 0.3s ease;
}
.btn-primary:hover { background-color: transparent; color: var(--primary-color); }
.btn-primary:hover::after { transform: translate(4px, -2px); }

/* CTA refinements */
.btn-primary {
    transition: background-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
    box-shadow: 0 10px 22px rgba(26, 60, 52, 0.16);
}
.btn-primary::after {
    content: "\2197";
}
.btn-primary:hover {
    box-shadow: 0 12px 26px rgba(26, 60, 52, 0.19);
}
.btn-primary:hover::after {
    transform: translate(3px, -2px);
}
.hero-cta-primary,
.hero-cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 30px;
    width: 260px;
    min-width: 230px;
    min-height: 52px;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.hero-cta-primary {
    flex: 0 0 auto;
}
.hero-cta-link {
    color: var(--primary-color);
    background: rgba(194, 220, 177, 0.9);
    border: 1px solid rgba(89, 126, 85, 0.24);
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(67, 103, 63, 0.12);
    transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.hero-cta-link::after {
    content: "\2197";
    font-size: 0.95em;
    line-height: 1;
    transition: transform 0.3s ease;
}
.hero-cta-link:hover {
    color: var(--primary-color);
    background: rgba(180, 210, 162, 0.98);
    box-shadow: 0 14px 28px rgba(67, 103, 63, 0.16);
    transform: translateY(-1px);
}
.hero-cta-link:hover::after {
    transform: translate(3px, -2px);
}

.hero .btn-primary {
    animation: heroPulse 2.8s ease-in-out infinite;
    box-shadow: 0 0 0 rgba(191, 163, 108, 0.3);
}
.hero .btn-primary:hover { animation-play-state: paused; }

@keyframes heroPulse {
    0%, 100% {
        box-shadow: 0 8px 22px rgba(26, 60, 52, 0.18);
    }
    50% {
        box-shadow: 0 16px 34px rgba(26, 60, 52, 0.26);
    }
}

/* Odstępy między sekcjami */
section { padding: 120px 0; }
#about,
#offer,
#portfolio,
#contact {
    scroll-margin-top: 96px;
}
#about {
    padding-top: 28px;
}

/* O MNIE - zdjęcie bez maskowania */
.split-layout { display: flex; align-items: center; gap: 80px; }
.split-layout > div { flex: 1; }
.image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}
.image-wrapper img {
    width: min(90%, 520px);
    aspect-ratio: 1 / 1;
    height: min(90vw, 520px);
    object-fit: contain;
    object-position: center center;
    border-radius: 50%;
    box-shadow: 0 24px 80px rgba(26, 60, 52, 0.18);
    filter: none;
    display: block;
}
.text-wrapper h2 { font-size: 3.5rem; margin-bottom: 30px; letter-spacing: 2px; text-transform: uppercase; }
.text-wrapper p { font-size: 1.1rem; opacity: 0.8; font-weight: 300; }
.text-wrapper {
    display: flex;
    flex-direction: column;
}
.about-more-link {
    margin-top: 16px;
    display: inline-flex;
    align-self: flex-end;
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(26, 60, 52, 0.35);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.about-more-link:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateX(2px);
}

/* OFERTA - Szklane karty */
.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px; }
.offer-card {
    background: var(--glass-bg); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border);
    padding: 60px; border-radius: 40px; box-shadow: var(--glass-shadow); transition: 0.4s;
    display: flex;
    flex-direction: column;
}
.offer-card:hover { transform: translateY(-10px); background: rgba(255,255,255,0.3); }
.card-icon { color: var(--accent-color); margin-bottom: 30px; }
.card-icon svg { width: 48px; height: 48px; }
.offer-card h3 { font-size: 2rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.offer-list { list-style: none; margin-top: 20px; padding-left: 0; }
.offer-list li { display: block; margin-bottom: 15px; font-weight: 300; position: relative; padding-left: 25px; white-space: normal; overflow: visible; overflow-wrap: break-word; word-break: normal; }
.offer-list li span { display: block; min-width: 0; }
.offer-list li::before { content: "\2022"; color: var(--accent-color); position: absolute; left: 0; font-size: 1.2rem; }
.offer-more-link {
    margin-top: auto;
    padding-top: 18px;
    align-self: flex-end;
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(26, 60, 52, 0.35);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.offer-more-link:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateX(2px);
}

/* PORTFOLIO - poziomy scroll na pionowym przewijaniu */
#portfolio { padding-bottom: 0; }
#portfolio .container { margin-bottom: 40px; }
.portfolio-horizontal {
    position: relative;
    width: 100%;
    overflow: visible;
    --portfolio-frame-height: 82vh;
    --portfolio-gap: 18px;
    --portfolio-panel-width: 40vw;
    --portfolio-panel-min-width: 24vw;
    --portfolio-panel-max-width: 66vw;
    padding: 0 clamp(56px, 6vw, 84px);
}
.portfolio-viewport {
    width: 100%;
    overflow: hidden;
}
.portfolio-arrow {
    position: absolute;
    top: 50%;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.74);
    color: var(--primary-color);
    box-shadow: 0 12px 28px rgba(22, 44, 36, 0.24);
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
    z-index: 5;
}
.portfolio-arrow svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.4px;
}
.portfolio-arrow-prev {
    left: 18px;
}
.portfolio-arrow-next {
    right: 18px;
}
.portfolio-arrow:hover:not(:disabled) {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 16px 34px rgba(22, 44, 36, 0.3);
    transform: translateY(-50%) scale(1.06);
}
.portfolio-arrow:disabled {
    opacity: 0.45;
    cursor: default;
}
.portfolio-track {
    display: flex;
    align-items: center;
    gap: var(--portfolio-gap);
    padding: 0;
    width: max-content;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    transition: transform 0.45s ease;
}
.portfolio-panel {
    position: relative;
    --portfolio-panel-computed-width: clamp(var(--portfolio-panel-min-width), calc(var(--portfolio-frame-height) * var(--portfolio-aspect-ratio, 1)), var(--portfolio-panel-max-width));
    flex: 0 0 var(--portfolio-panel-computed-width);
    min-width: var(--portfolio-panel-computed-width);
    height: var(--portfolio-frame-height);
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    cursor: pointer;
}
.portfolio-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
}
.portfolio-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 23, 18, 0.55) 10%, rgba(9, 23, 18, 0.05) 55%, rgba(9, 23, 18, 0.25) 100%);
    z-index: 1;
}
.portfolio-panel figcaption {
    position: absolute;
    left: clamp(16px, 1.6vw, 30px);
    right: clamp(16px, 1.6vw, 30px);
    bottom: clamp(16px, 3vh, 38px);
    z-index: 2;
    color: #fff;
    font-size: clamp(1rem, 1.35vw, 1.5rem);
    line-height: 1.28;
    letter-spacing: 0.9px;
    font-weight: 400;
    text-transform: uppercase;
    text-shadow: 0 2px 14px rgba(9, 23, 18, 0.45);
}
.portfolio-panel:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: -12px;
}
.portfolio-panel-portrait {
    --portfolio-panel-min-width: 20vw;
    --portfolio-panel-max-width: 38vw;
}
.portfolio-panel-square {
    --portfolio-panel-min-width: 28vw;
    --portfolio-panel-max-width: 56vw;
}
.portfolio-panel-landscape {
    --portfolio-panel-min-width: 34vw;
    --portfolio-panel-max-width: 66vw;
}

/* REALIZACJA */
.portfolio-detail-page {
    min-height: 100vh;
    padding-top: 170px;
}
.portfolio-detail-section {
    padding: 0 0 120px;
}
.portfolio-detail-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.portfolio-detail-header h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.12;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.portfolio-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.portfolio-back-link::before {
    content: "\2190";
    line-height: 1;
}
.portfolio-detail-grid {
    display: block;
    columns: 2 320px;
    column-gap: 24px;
}
.portfolio-detail-item {
    margin: 0;
    margin-bottom: 24px;
    break-inside: avoid;
    page-break-inside: avoid;
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: var(--glass-shadow);
}
.portfolio-detail-item img {
    width: 100%;
    height: auto;
    display: block;
}
.portfolio-detail-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: clamp(28px, 4vw, 52px);
    box-shadow: var(--glass-shadow);
}
.portfolio-detail-empty {
    text-align: center;
}

/* BLOG */
.blog-page {
    min-height: 100vh;
    padding-top: 170px;
}
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
}
.blog-grid-page {
    grid-template-columns: repeat(auto-fit, minmax(320px, 420px));
    justify-content: center;
}
.blog-grid-page .blog-card {
    width: 100%;
    max-width: 420px;
    margin: 0;
}
.blog-card {
    background: var(--glass-bg); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border);
    border-radius: 40px; overflow: hidden; max-width: 500px; margin: 0 auto; box-shadow: var(--glass-shadow);
    cursor: pointer; transition: 0.4s;
}
.blog-card:hover { transform: translateY(-10px); }
.blog-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.blog-img { height: 300px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.8s; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-content { padding: 40px; }
.blog-content .date { font-size: 0.9rem; color: var(--primary-color); opacity: 0.6; }
.blog-content h3 { font-size: 1.8rem; margin: 10px 0; }
.read-more { display: inline-block; margin-top: 20px; color: var(--accent-color); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* BLOG - artykul */
.blog-article-page {
    min-height: 100vh;
    padding-top: 170px;
}
.blog-article-section {
    padding: 0 0 120px;
}
.blog-article {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: clamp(26px, 4.5vw, 56px);
    box-shadow: var(--glass-shadow);
}
.article-kicker {
    margin: 0 0 8px;
    color: var(--primary-color);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.82rem;
    font-weight: 500;
}
.blog-article h1 {
    margin: 0 0 10px;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    line-height: 1.2;
    letter-spacing: 0.02em;
}
.article-lead {
    margin: 0 0 10px;
    font-size: clamp(1.1rem, 1.55vw, 1.32rem);
    line-height: 1.55;
    color: var(--primary-color);
}
.article-meta {
    margin: 0 0 24px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(26, 60, 52, 0.72);
}
.article-featured-image {
    margin: 12px 0 18px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(14, 32, 26, 0.18);
}
.article-featured-image img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}
.blog-article h2 {
    margin: 34px 0 12px;
    font-size: clamp(1.32rem, 2.1vw, 1.75rem);
    line-height: 1.25;
}
.blog-article h3 {
    margin: 26px 0 10px;
    font-size: clamp(1.16rem, 1.7vw, 1.35rem);
    line-height: 1.3;
}
.blog-article p {
    margin: 0 0 14px;
    line-height: 1.82;
}
.article-list {
    margin: 0 0 20px 1.25rem;
    padding: 0;
    line-height: 1.8;
}
.article-list > li {
    margin-bottom: 12px;
}
.article-sublist {
    margin-top: 10px;
    margin-bottom: 0;
}
.article-callout {
    margin: 18px 0 24px;
    padding: 14px 16px;
    border: 1px solid rgba(71, 132, 210, 0.34);
    border-left: 4px solid rgba(71, 132, 210, 0.72);
    border-radius: 14px;
    background: rgba(71, 132, 210, 0.08);
    color: #215d99;
}
.article-callout p {
    margin: 0;
    line-height: 1.7;
}
.blog-article a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.blog-article a:hover {
    color: var(--accent-color);
}
.article-next {
    margin-top: 26px;
    padding-top: 16px;
    border-top: 1px solid rgba(26, 60, 52, 0.18);
}

/* O MNIE - strona */
.about-detail-page {
    min-height: 100vh;
    padding-top: 170px;
}
.about-detail-section {
    padding: 0 0 120px;
}
.about-detail-section .section-header {
    margin-bottom: 40px;
}
.about-section-anchor {
    scroll-margin-top: 96px;
}
.about-detail-article {
    color: var(--text-color);
}
.about-detail-intro {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(340px, 1.1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    margin-bottom: 24px;
}
.about-detail-photo img {
    width: 100%;
    max-width: 520px;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
}
.about-detail-head {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about-detail-head h1 {
    margin: 0 0 14px;
    font-size: clamp(1.8rem, 3.2vw, 3rem);
    letter-spacing: 0.03em;
}
.about-detail-head p,
.about-detail-content p {
    margin: 0 0 14px;
    line-height: 1.82;
}
.about-detail-content h2 {
    margin: 34px 0 12px;
    font-size: clamp(1.32rem, 2.1vw, 1.75rem);
    line-height: 1.25;
}
.about-detail-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.about-detail-content a:hover {
    color: var(--accent-color);
}
.about-detail-signoff {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(26, 60, 52, 0.18);
}
.about-detail-signoff img {
    display: block;
    width: min(100%, 260px);
    height: auto;
}

/* POLITYKA PRYWATNOSCI */
.policy-page {
    min-height: 100vh;
    padding-top: 170px;
}
.policy-section {
    padding-top: 0;
}
.policy-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: clamp(28px, 4.8vw, 56px);
    box-shadow: var(--glass-shadow);
    color: var(--text-color);
}
.policy-card h3 {
    margin: 36px 0 16px;
    font-size: 1.22rem;
    letter-spacing: 0.035em;
}
.policy-card p {
    margin: 0 0 18px;
    line-height: 1.85;
    max-width: none;
}
.policy-card a {
    color: var(--primary-color);
}
.policy-card a:hover {
    color: var(--accent-color);
}
.policy-list {
    margin: 0 0 20px 1.45rem;
    padding: 0;
    line-height: 1.85;
    max-width: none;
}
.policy-list > li {
    margin-bottom: 18px;
    padding-right: 6px;
}
.policy-sublist {
    margin-top: 12px;
    margin-bottom: 8px;
}
.policy-sublist > li {
    margin-bottom: 12px;
}
.policy-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: 24px 0 36px;
    border-radius: 18px;
    border: 1px solid rgba(26, 60, 52, 0.18);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}
.policy-table {
    width: 100%;
    min-width: 980px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.98rem;
    line-height: 1.72;
}
.policy-table th,
.policy-table td {
    padding: 18px 16px;
    border-right: 1px solid rgba(26, 60, 52, 0.12);
    border-bottom: 1px solid rgba(26, 60, 52, 0.12);
    vertical-align: top !important;
    text-align: left !important;
    white-space: normal;
}
.policy-table th:last-child,
.policy-table td:last-child {
    border-right: none;
}
.policy-table th:nth-child(1),
.policy-table td:nth-child(1) {
    width: 24%;
    min-width: 220px;
}
.policy-table th:nth-child(2),
.policy-table td:nth-child(2) {
    width: 34%;
}
.policy-table th:nth-child(3),
.policy-table td:nth-child(3) {
    width: 20%;
}
.policy-table th:nth-child(4),
.policy-table td:nth-child(4) {
    width: 22%;
}
.policy-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: rgba(26, 60, 52, 0.95);
    color: #f6f7f4;
    font-family: 'Outfit', sans-serif;
    font-size: 0.86rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
}
.policy-table tbody tr:nth-child(even) td {
    background: rgba(26, 60, 52, 0.06);
}
.policy-table tbody tr:hover td {
    background: rgba(191, 163, 108, 0.12);
}

/* KONTAKT */
.contact-wrapper {
    background: var(--glass-bg); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border);
    border-radius: 40px; padding: 80px; display: flex; flex-direction: column; gap: 40px;
    box-shadow: var(--glass-shadow);
}
.contact-top {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.2fr);
    gap: 40px;
    align-items: stretch;
}
.contact-box-header {
    margin-bottom: 30px;
}
.contact-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-color);
}
.contact-subtitle {
    font-family: var(--font-main);
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.8;
}
.info-item { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; font-size: 1.1rem; font-weight: 300; min-width: 0; }
.info-item p { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.contact-email-link {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(28, 58, 38, 0.25);
    transition: color 0.3s ease, border-color 0.3s ease;
}
.contact-email-link:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}
.info-item svg { color: var(--primary-color); width: 28px; height: 28px; }
.socials { display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.4);
    color: var(--primary-color);
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.social-link svg {
    width: 18px;
    height: 18px;
}
.social-link i {
    width: 18px;
    font-size: 18px;
    line-height: 1;
    text-align: center;
    flex: 0 0 18px;
}
.social-link:hover {
    color: var(--accent-color);
    border-color: rgba(193, 125, 17, 0.35);
    background: rgba(255,255,255,0.72);
    transform: translateY(-3px);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.contact-form textarea {
    min-height: 170px;
}
.contact-form input:not([type="checkbox"]), .contact-form textarea {
    width: 100%; padding: 20px; border: 1px solid var(--glass-border); border-radius: 20px;
    background: rgba(255,255,255,0.4); font-family: var(--font-main); color: var(--text-color);
    font-size: 1rem; transition: 0.3s;
}
.contact-form input:not([type="checkbox"]):focus, .contact-form textarea:focus { background: rgba(255,255,255,0.8); outline: none; border-color: var(--primary-color); }
.contact-file-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: -4px;
}
.contact-file-label {
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
}
.contact-file-input {
    cursor: pointer;
}
.contact-file-input::file-selector-button {
    margin-right: 14px;
    padding: 12px 18px;
    border: 0;
    border-radius: 999px;
    background: var(--primary-color);
    color: #f8f5ed;
    font-family: var(--font-main);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}
.contact-file-input::file-selector-button:hover {
    background: var(--accent-color);
    transform: translateY(-1px);
}
.contact-file-help,
.file-upload-feedback {
    font-size: 0.86rem;
    color: var(--primary-color);
}
.file-upload-feedback {
    min-height: 1.2em;
    opacity: 0.9;
}
.file-upload-feedback.is-error {
    color: #8b3d20;
}
.form-status {
    padding: 14px 18px;
    border-radius: 18px;
    line-height: 1.5;
    font-size: 0.92rem;
}
.form-status.is-success {
    background: rgba(104, 154, 106, 0.16);
    border: 1px solid rgba(104, 154, 106, 0.28);
    color: #2f5d34;
}
.form-status.is-error {
    background: rgba(163, 74, 50, 0.12);
    border: 1px solid rgba(163, 74, 50, 0.22);
    color: #7d3220;
}
.form-required-note {
    margin-top: -8px;
    margin-bottom: -4px;
    font-size: 0.86rem;
    color: var(--primary-color);
    opacity: 0.85;
    width: 100%;
    text-align: right;
}
.form-admin-info {
    margin-top: -4px;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--primary-color);
    opacity: 0.9;
}
.consent-field {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--primary-color);
}
.consent-field input[type="checkbox"] {
    margin-top: 0.2em;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    flex: 0 0 auto;
}
.consent-field span {
    opacity: 0.92;
}
.consent-field a,
.consent-field a:visited,
.form-admin-info a,
.form-admin-info a:visited {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.consent-field a:hover,
.form-admin-info a:hover {
    color: var(--accent-color);
}
.map-container { margin-top: 60px; width: 100%; max-width: 100%; min-width: 0; border-radius: 40px; overflow: hidden; height: 450px; box-shadow: var(--glass-shadow); border: 1px solid var(--glass-border); }
.contact-map {
    margin-top: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 360px;
    height: 100%;
}
.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

footer { padding: 40px 0; background: transparent; color: var(--primary-color); font-size: 0.9rem; font-weight: 300; letter-spacing: 1px; }
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-inner > * {
    flex: 1 1 0;
    margin: 0;
}
.footer-inner > :first-child {
    text-align: left;
}
.footer-inner > :nth-child(2) {
    text-align: center;
}
.footer-inner > :last-child {
    text-align: right;
}
footer a {
    color: var(--primary-color);
    text-decoration: none;
}
footer a:hover {
    color: var(--accent-color);
}

/* Delikatne animacje wejścia sekcji */
.intro-hidden {
    opacity: 0;
    transform: translateY(20px);
}
.intro-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Scroll cue */
.scroll-cue {
    --scroll-progress: 0;
    position: fixed;
    right: clamp(14px, 2.2vw, 28px);
    bottom: clamp(14px, 2.2vw, 28px);
    width: clamp(44px, 5vw, 58px);
    height: clamp(44px, 5vw, 58px);
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: conic-gradient(
        from -90deg,
        var(--primary-color) calc(var(--scroll-progress) * 1%),
        rgba(26, 60, 52, 0.22) 0
    );
    box-shadow: 0 10px 24px rgba(26, 60, 52, 0.18);
    pointer-events: auto;
    cursor: pointer;
    z-index: 1100;
    isolation: isolate;
    appearance: none;
    -webkit-appearance: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.scroll-cue::before {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}
.scroll-cue::after {
    content: "\2191";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: clamp(14px, 1.6vw, 17px);
    font-weight: 600;
    line-height: 1;
    z-index: 1;
}
.scroll-cue:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(26, 60, 52, 0.22);
}
.scroll-cue:focus-visible {
    outline: 2px solid rgba(28, 58, 38, 0.82);
    outline-offset: 3px;
}

/* Menu Mobilne (Hamburger) */
.hamburger {
    display: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    padding: 0;
    position: relative;
}
.hamburger span {
    position: absolute;
    left: 4px;
    right: 4px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease, bottom 0.25s ease, background-color 0.25s ease;
}
.hamburger span:nth-child(1) {
    top: 9px;
}
.hamburger span:nth-child(2) {
    top: 15px;
}
.hamburger span:nth-child(3) {
    bottom: 9px;
}
.hamburger.active span:nth-child(1) {
    top: 15px;
    transform: rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    bottom: auto;
    top: 15px;
    transform: rotate(-45deg);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
    }
    .logo {
        justify-self: auto;
    }
    .nav-links {
        grid-column: auto;
        justify-self: auto;
    }
    .nav-extras {
        grid-column: auto;
        justify-self: auto;
    }
    .hero-content, .split-layout, .offer-grid, .contact-wrapper { grid-template-columns: 1fr; flex-direction: column; }
    .split-layout {
        flex-direction: column-reverse;
    }
    .hero { min-height: 100vh; min-height: 100dvh; height: auto; padding-top: 150px; text-align: center; }
    .hero-text { padding-right: 0; align-items: center; }
    .hero-cta-group { justify-content: center; gap: 12px; flex-wrap: nowrap; width: 100%; }
    .hero-cta-primary,
    .hero-cta-link {
        width: 240px;
        min-width: 210px;
        min-height: 50px;
        padding: 12px 22px;
        font-size: 0.9rem;
        letter-spacing: 1.6px;
    }
    .hero-subtitle {
        justify-content: center;
        margin-bottom: 12px;
        font-size: clamp(1.8rem, 6.8vw, 3rem);
    }
    .hero-subtitle::before { width: 46px; }
    .hero-text h1 {
        font-size: clamp(1.4rem, 4.7vw, 2.2rem);
        margin-bottom: 26px;
        white-space: normal;
    }
    .script-font { font-size: 4rem; }
    .navbar.scrolled .logo {
        position: static;
        transform: none;
    }
    .logo-full { height: 72px; }
    .logo::after {
        width: 34px;
        height: 34px;
    }
    .circle-slider-wrapper { --circle-size: min(82vw, 455px); width: min(100%, 546px); height: auto; margin: 60px auto 0; }
    .circle-slider { width: var(--circle-size); height: var(--circle-size); }
    .image-wrapper img { width: min(100%, 460px); height: min(100vw, 460px); border-radius: 50%; }
    .contact-wrapper { padding: 40px; }
    .contact-top { grid-template-columns: 1fr; gap: 30px; }
    .contact-map { min-height: 320px; }
    .contact-form-row { grid-template-columns: 1fr; gap: 14px; }
    .footer-inner {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .footer-inner > * {
        width: 100%;
        text-align: center;
        flex: 0 0 auto;
    }
    .footer-inner > :first-child,
    .footer-inner > :nth-child(2),
    .footer-inner > :last-child {
        text-align: center;
    }
    .portfolio-horizontal {
        --portfolio-frame-height: 85vh;
        --portfolio-gap: 0px;
        --portfolio-panel-width: 100vw;
        --portfolio-panel-min-width: 100vw;
        --portfolio-panel-max-width: 100vw;
        padding: 0;
    }
    .portfolio-arrow {
        width: 44px;
        height: 44px;
    }
    .portfolio-arrow svg {
        width: 20px;
        height: 20px;
    }
    .portfolio-arrow-prev { left: 12px; }
    .portfolio-arrow-next { right: 12px; }
    .portfolio-panel {
        --portfolio-panel-computed-width: 100vw;
        --portfolio-panel-min-width: 100vw;
        --portfolio-panel-max-width: 100vw;
        flex-basis: 100vw;
        min-width: 100vw;
        height: var(--portfolio-frame-height);
        border-radius: 0;
    }
    .portfolio-panel-portrait,
    .portfolio-panel-square,
    .portfolio-panel-landscape {
        --portfolio-panel-min-width: 100vw;
        --portfolio-panel-max-width: 100vw;
    }
    .blog-grid-page { grid-template-columns: 1fr; }
    
    .nav-links {
        position: absolute; top: 90px; left: 0; right: 0; width: auto; max-width: 100vw;
        background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
        flex-direction: column; padding: 40px 20px; text-align: center; border-bottom: 1px solid var(--glass-border);
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        visibility: hidden;
        transition: opacity 0.25s ease, transform 0.25s ease;
        overflow-x: hidden;
    }
    .nav-links.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        visibility: visible;
    }
    .nav-links li {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .nav-item-has-children {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .nav-parent-row {
        width: min(100%, 360px);
        max-width: calc(100vw - 40px);
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }
    .nav-parent-link {
        justify-content: center;
    }
    .nav-parent-btn {
        display: none;
    }
    .nav-submenu {
        position: static;
        top: auto;
        left: auto;
        align-self: center;
        min-width: 0;
        width: min(100%, 320px);
        max-width: calc(100vw - 48px);
        margin-left: auto;
        margin-right: auto;
        margin-top: 10px;
        padding: 10px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        display: block;
        box-shadow: none;
        background: rgba(194, 220, 177, 0.2);
        border-radius: 18px;
        backdrop-filter: none;
    }
    .nav-submenu a {
        width: 100%;
        text-align: center;
        overflow-wrap: anywhere;
    }
    .hamburger { display: block; }
}

@media (max-width: 768px) {
    .offer-grid {
        width: 100%;
        justify-items: center;
        gap: 20px;
    }
    .offer-card {
        width: 100%;
        max-width: 100%;
        margin-inline: auto;
        padding: 28px 20px;
    }
    .contact-wrapper {
        padding: 24px 16px;
        overflow: hidden;
    }
    .contact-top > * {
        min-width: 0;
    }
    .info-item {
        align-items: flex-start;
        gap: 14px;
        font-size: 1rem;
    }
    .info-item svg {
        width: 24px;
        height: 24px;
        flex: 0 0 auto;
        margin-top: 2px;
    }
    .contact-map,
    .map-container {
        width: 100%;
        max-width: 100%;
        min-height: 260px;
        border-radius: 22px;
    }
    .contact-map iframe {
        width: 100%;
        max-width: 100%;
    }
    .container {
        padding: 0 20px;
    }
    .hero {
        min-height: auto;
        padding-top: 118px;
        padding-bottom: 18px;
    }
    .hero-content {
        width: 100%;
        gap: 16px;
    }
    .hero-cta-group {
        max-width: 100%;
        gap: 10px;
    }
    .hero-cta-primary,
    .hero-cta-link {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        min-height: 46px;
        padding: 11px 14px;
        font-size: 0.74rem;
        letter-spacing: 0.08em;
    }
    .circle-slider-wrapper {
        --circle-size: min(86vw, 416px);
        width: min(100%, 442px);
        margin-top: 24px;
    }
    .logo-full { height: 58px; }
    .logo::after {
        width: 28px;
        height: 28px;
    }
    .nav-links {
        top: 76px;
    }
    #about {
        padding-top: 20px;
    }
    .hero-subtitle::before {
        display: none;
    }
    .about-detail-intro {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 24px;
    }
    .about-detail-photo img {
        max-width: 460px;
    }
    .blog-article {
        border-radius: 22px;
        padding: 22px 16px;
    }
    .article-list {
        margin-left: 1.05rem;
        line-height: 1.72;
    }
    .article-callout {
        padding: 12px 12px;
        border-radius: 12px;
    }
    .article-featured-image {
        border-radius: 14px;
        margin: 10px 0 16px;
    }
    .article-featured-image img {
        max-height: 300px;
    }
    .policy-card {
        border-radius: 22px;
        padding: 24px 16px;
    }
    .policy-card h3 {
        font-size: 1.06rem;
        margin: 28px 0 14px;
    }
    .policy-card p {
        margin-bottom: 16px;
        line-height: 1.78;
    }
    .policy-list {
        margin-left: 1.1rem;
        line-height: 1.76;
    }
    .policy-table {
        min-width: 760px;
        font-size: 0.94rem;
        line-height: 1.65;
    }
    .policy-table th,
    .policy-table td {
        padding: 14px 12px;
    }
    .scroll-cue {
        right: 12px;
        bottom: 12px;
    }
    .portfolio-panel figcaption {
        left: 14px;
        right: 14px;
        bottom: 14px;
        font-size: clamp(0.92rem, 3.2vw, 1.06rem);
        line-height: 1.32;
        letter-spacing: 0.6px;
    }
    .section-header h2 { font-size: 2.5rem; }
    .portfolio-detail-grid {
        columns: 1;
        column-gap: 0;
    }
    .portfolio-detail-item {
        margin-bottom: 16px;
        border-radius: 20px;
    }
    .portfolio-detail-item img {
        min-height: 0;
        max-height: none;
    }
    .portfolio-detail-card {
        border-radius: 22px;
        padding: 24px 16px;
    }
}

@media (max-width: 399px) {
    .container {
        padding: 0 14px;
    }
    .offer-grid {
        width: 100%;
        justify-items: center;
        gap: 16px;
    }
    .offer-card {
        width: 100%;
        max-width: 100%;
        margin-inline: auto;
        padding: 24px 16px;
        border-radius: 22px;
    }
    .nav-container {
        gap: 10px;
        align-items: center;
    }
    .nav-container > * {
        min-width: 0;
    }
    .logo {
        flex: 1 1 auto;
        min-width: 0;
    }
    .logo-full {
        width: min(43vw, 116px);
        height: auto;
    }
    .logo::after {
        width: 22px;
        height: 22px;
    }
    .navbar.scrolled .logo-full {
        display: none;
    }
    .navbar.scrolled .logo::after {
        display: block;
    }
    .nav-extras {
        gap: 8px;
        flex: 0 0 auto;
    }
    .lang-btn {
        padding: 4px 10px;
        font-size: 0.8rem;
    }
    .hamburger {
        width: 28px;
        height: 28px;
    }
    .hamburger span {
        left: 3px;
        right: 3px;
    }
    .hamburger span:nth-child(1) {
        top: 8px;
    }
    .hamburger span:nth-child(2) {
        top: 13px;
    }
    .hamburger span:nth-child(3) {
        bottom: 8px;
    }
    .hamburger.active span:nth-child(1),
    .hamburger.active span:nth-child(3) {
        top: 13px;
    }
    .nav-links {
        top: 66px;
        padding: 28px 14px;
    }
    .nav-parent-row {
        max-width: calc(100vw - 28px);
    }
    .nav-submenu {
        max-width: calc(100vw - 28px);
    }
    .hero {
        padding-top: 100px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero .btn-primary { animation: none; }
}

