/* Mobile Phones (max 600px) */
@media only screen and (max-width: 600px) {
    html {
        scroll-padding-top: 70px;
    }

    body {
        font-size: 14px;
    }

    #services {
        scroll-margin-top: 92px;
    }

    /* Header adjustments */
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
        padding: 0.3rem 0;
    }

    header > div {
        width: min(1200px, 96%);
        gap: 0.5rem;
        padding: 0;
        flex-wrap: nowrap;
    }

    .brand {
        padding: 0.2rem 0;
        flex-shrink: 0;
    }

    .brand img {
        height: 45px;
        max-width: 180px;
    }

    /* Navigation menu - hide on mobile, show only in hamburger */
    header nav {
        display: none !important;
        flex-direction: column;
        position: fixed;
        top: calc(70px + env(safe-area-inset-top));
        left: 0;
        right: 0;
        background: #070707;
        border-bottom: 1px solid #1f1f1f;
        padding: 0.55rem 0 0.8rem 0;
        gap: 0.4rem !important;
        justify-content: flex-start !important;
        z-index: 99;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 16px 35px #050505;
    }

    header nav.active {
        display: flex !important;
        max-height: calc(100dvh - 70px);
    }

    header nav a {
        padding: 0.95rem 1rem;
        text-align: left;
        font-size: 0.95rem;
        border-bottom: 1px solid #1f1f1f;
        color: var(--text);
        text-decoration: none;
        margin: 0 0.65rem;
        border-radius: 0.95rem;
        background: #121212;
        border: 1px solid #3f3400;
    }

    header nav a:hover {
        background: #2b2300;
        color: var(--primary);
    }

    #lang-toggle-mobile {
        display: flex !important;
    }

    #lang-toggle-mobile:hover {
        background: #2b2300 !important;
        color: var(--primary) !important;
    }

    /* Hamburger menu button */
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        gap: 0.4rem;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        cursor: pointer;
        padding: 0.4rem;
        margin-left: auto;
        flex-shrink: 0;
        position: relative;
        z-index: 130;
    }

    .menu-toggle span {
        width: 24px;
        height: 2px;
        background: var(--muted);
        transition: all 0.3s ease;
        display: block;
        transform-origin: center;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hide desktop lang toggle */
    #lang-toggle-desktop {
        display: none !important;
    }

    /* Hide contact in header */
    .topbar-contact {
        display: none !important;
    }

    /* Hero section */
    .hero {
        min-height: 60vh;
        padding: 1.5rem 0;
        margin-top: 70px;
    }

    .hero-copy {
        max-width: min(1200px, 96%);
        width: min(1200px, 96%);
    }

    .eyebrow {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        margin-bottom: 0.75rem;
    }

    .hero-copy p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .button {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Content sections */
    .content-section {
        padding: 1.25rem;
        margin: 0 auto 1rem auto;
        max-width: min(1200px, 96%);
        border-radius: 1rem;
    }

    .realizacje-section {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .content-section p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .services-grid article {
        padding: 1rem;
    }

    .services-grid h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .review-card {
        padding: 1rem;
    }

    .reviews-set {
        grid-template-columns: 1fr;
    }

    .reviews-actions {
        flex-direction: column;
        align-items: stretch;
    }

    /* Service with image */
    .service-with-image {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-content h2 {
        font-size: 1.3rem;
    }

    .service-content ul {
        margin-left: 1rem !important;
    }

    .service-content li {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }

    /* Realizacje section */
    .realizacje-header {
        gap: 0.75rem;
        margin-bottom: 1rem;
        grid-template-columns: 1fr;
    }

    .realizacje-rotator {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .realizacje-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 46px;
        height: 46px;
        margin: 0;
        z-index: 3;
        background: rgba(7, 7, 7, 0.48);
        backdrop-filter: blur(6px);
        border-color: rgba(255, 212, 0, 0.22);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    }

    .realizacje-prev {
        left: 0.45rem;
    }

    .realizacje-next {
        right: 0.45rem;
    }

    .realizacje-card {
        padding: 0.75rem;
    }

    .realizacje-slide--single .realizacje-card {
        width: 100%;
    }

    .realizacje-visual.pair {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }

    .realizacje-visual.single {
        width: 100%;
    }

    .realizacje-stage {
        position: relative;
    }

    .realizacje-rotator {
        position: relative;
    }

    .realizacje-track {
        align-items: flex-start;
    }

    .realizacje-slide {
        align-items: flex-start;
    }

    .realizacje-label {
        top: 0.65rem;
        left: 0.65rem;
        font-size: 0.7rem;
    }

    .realizacje-copy {
        padding: 1rem;
        margin-top: 0.75rem;
    }

    .realizacje-copy h3 {
        font-size: 1.1rem;
    }

    .realizacje-copy p {
        font-size: 0.9rem;
    }

    .realizacje-meta {
        justify-content: flex-start;
    }

    .realizacje-dot {
        width: 10px;
        height: 10px;
    }

    .realizacje-dot.is-active {
        width: 28px;
    }

    .realizacje-dots {
        margin-top: 0.35rem;
    }

    .realizacje-copy {
        margin-top: 0.45rem;
    }

    .realizacje-dots {
        margin-top: 0.35rem;
    }

    .realizacje-copy {
        margin-top: 0.45rem;
    }

    /* Contact panel */
    .contact-panel p {
        font-size: 0.9rem;
    }

    .locations {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1rem;
    }

    .location {
        padding: 1rem;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 0.8rem;
    }

    .location strong {
        font-size: 1rem;
    }

    .location p {
        font-size: 0.85rem;
        margin: 0.25rem 0;
    }

    /* Footer */
    footer {
        font-size: 0.85rem;
        padding: 1rem 0;
    }

    .footer-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    .map-consent-placeholder {
        min-height: 0;
    }

    .map-card {
        padding: 1rem;
        gap: 0.75rem;
    }

    .find-location-hours {
        padding: 0.6rem 0 0;
        gap: 0.35rem;
    }

    .find-location-hours li {
        font-size: 0.88rem;
    }

    .cookie-banner {
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 1.3rem);
        bottom: 0.7rem;
        padding: 0.85rem;
    }

    .cookie-banner-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-btn {
        width: 100%;
    }

    .legal-main {
        padding: 1rem 0;
    }

    .legal-main h1 {
        font-size: 1.6rem;
    }

    .legal-main h2 {
        font-size: 1.1rem;
    }

    /* Floating Call Button */
    .floating-call-btn {
        bottom: 1rem;
        right: 1rem;
        height: 50px;
        padding: 0 0.85rem;
    }

    .floating-call-btn svg {
        width: 24px;
        height: 24px;
    }

    .floating-call-btn:hover {
        transform: translateY(-2px);
    }

    /* Contact Section */
    .contact-info-header {
        padding: 1rem;
    }

    .location {
        padding: 1.5rem;
    }

    .locations {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .location-header {
        gap: 0.75rem;
    }

    .location-header svg {
        width: 28px;
        height: 28px;
    }

    .location-header h3 {
        font-size: 1.1rem;
    }

    .phone-item {
        padding: 0.65rem 0.85rem;
        font-size: 0.9rem;
    }

    .phone-item svg {
        width: 18px;
        height: 18px;
    }

    /* Find Us Section */
    .maps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .map-address {
        font-size: 0.9rem;
    }

    .map-consent-placeholder {
        min-height: 0;
    }

    .find-location-hours li {
        font-size: 0.9rem;
    }
}
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    html {
        scroll-padding-top: 90px;
    }

    body {
        font-size: 15px;
    }

    #services {
        scroll-margin-top: 102px;
    }

    /* Header adjustments */
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
    }

    header > div {
        width: min(1200px, 94%);
        gap: 1rem;
        flex-wrap: nowrap;
    }

    .brand img {
        height: 55px;
        max-width: 250px;
    }

    .realizacje-header {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        margin-bottom: 1rem;
    }

    .realizacje-rotator {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .realizacje-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 48px;
        height: 48px;
        margin: 0;
        z-index: 3;
        background: rgba(7, 7, 7, 0.48);
        backdrop-filter: blur(6px);
    }

    .realizacje-prev {
        left: 0.5rem;
    }

    .realizacje-next {
        right: 0.5rem;
    }

    .realizacje-visual.pair {
        grid-template-columns: 1fr 1fr;
        gap: 0.7rem;
    }

    .realizacje-visual.single {
        width: 100%;
    }

    .realizacje-copy {
        padding: 1.1rem;
    }

    .realizacje-slide--single .realizacje-card {
        width: 100%;
    }

    .realizacje-copy h3 {
        font-size: 1.2rem;
    }

    .find-location-hours li {
        font-size: 0.9rem;
    }

    .realizacje-meta {
        justify-content: flex-start;
    }

    /* Navigation menu - hide on tablet, show only in hamburger */
    header nav {
        display: none !important;
        flex-direction: column;
        position: fixed;
        top: calc(75px + env(safe-area-inset-top));
        left: 0;
        right: 0;
        background: #070707;
        border-bottom: 1px solid #1f1f1f;
        padding: 0.55rem 0 0.8rem 0;
        gap: 0.4rem !important;
        justify-content: flex-start !important;
        z-index: 99;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 16px 35px #050505;
    }

    header nav.active {
        display: flex !important;
        max-height: calc(100dvh - 75px);
    }

    header nav a {
        padding: 0.95rem 1rem;
        text-align: left;
        font-size: 0.95rem;
        border-bottom: 1px solid #1f1f1f;
        margin: 0 0.65rem;
        border-radius: 0.95rem;
        background: #121212;
        border: 1px solid #3f3400;
    }

    header nav a:hover {
        background: #2b2300;
    }

    #lang-toggle-mobile {
        display: flex !important;
    }

    /* Hamburger menu button */
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        gap: 0.4rem;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        cursor: pointer;
        padding: 0.4rem;
        margin-left: auto;
        flex-shrink: 0;
        position: relative;
        z-index: 130;
    }

    .menu-toggle span {
        width: 24px;
        height: 2px;
        background: var(--muted);
        transition: all 0.3s ease;
        display: block;
        transform-origin: center;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hide desktop lang toggle */
    #lang-toggle-desktop {
        display: none !important;
    }

    /* Hide contact in header */
    .topbar-contact {
        display: none !important;
    }

    .hero {
        min-height: 70vh;
        padding: 2rem 0;
        margin-top: 75px;
    }

    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .services-grid h2 {
        grid-column: 1 / -1;
    }

    .reviews-actions {
        gap: 0.65rem;
    }

    .reviews-set {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

    /* Service with image */
    .service-with-image {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Content sections */
    .content-section {
        padding: 1.5rem;
        margin: 0 auto 1.5rem auto;
        max-width: min(1200px, 94%);
    }

    .realizacje-section {
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
    }

    /* Maps */
    .maps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .map-card {
        padding: 1rem;
    }

    .map-consent-placeholder {
        min-height: 0;
    }

    /* Floating Call Button */
    .floating-call-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        height: 55px;
        padding: 0 0.95rem;
    }

    .floating-call-btn svg {
        width: 26px;
        height: 26px;
    }

    .floating-call-btn:hover {
        transform: translateY(-2px);
    }

}

/* Desktop (1025px and above) */
@media only screen and (min-width: 1025px) {
    html {
        scroll-padding-top: 120px;
    }

    body {
        font-size: 16px;
    }

    /* Header - show nav normally, hide hamburger */
    header {
        position: sticky;
    }

    body {
        padding-top: 0;
    }

    header > div {
        width: min(1200px, 92%);
        gap: 2rem;
        flex-wrap: nowrap;
    }

    header nav {
        display: flex !important;
        flex-direction: row !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        gap: 0.75rem;
        max-height: none !important;
        overflow: visible !important;
        transition: none;
        flex: 1;
        justify-content: center;
        padding: 0.4rem;
        border: 1px solid rgba(255, 212, 0, 0.1);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.03);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
    }

    header nav.active {
        max-height: none;
    }

    header nav a {
        padding: 0.75rem 1rem !important;
        text-align: center;
        font-size: 0.95rem;
        border: 1px solid rgba(255, 212, 0, 0.12) !important;
        color: var(--text);
        background: rgba(255, 212, 0, 0.05);
        border-radius: 999px;
    }

    header nav a:hover {
        background: var(--primary) !important;
        color: #000;
        border-color: var(--primary) !important;
    }

    #lang-toggle-mobile {
        display: none !important;
    }

    .menu-toggle {
        display: none !important;
    }

    #lang-toggle-desktop {
        display: flex !important;
    }

    .topbar-contact {
        display: none !important;
    }

    .hero {
        min-height: calc(100vh - 120px);
        margin-top: 0;
    }

    /* Services grid */
    .services-grid {
        grid-template-columns: repeat(3, minmax(220px, 1fr));
        gap: 1rem;
    }

    .services-grid h2 {
        grid-column: 1 / -1;
    }

    /* Service with image - side by side */
    .service-with-image {
        grid-template-columns: 1fr 1fr;
    }

    /* Maps */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr 1fr;
    }

    iframe {
        height: 350px !important;
    }

    /* Floating Call Button */
    .floating-call-btn {
        bottom: 2rem;
        right: 2rem;
        height: 60px;
        padding: 0 1rem;
    }

    .floating-call-btn svg {
        width: 28px;
        height: 28px;
    }

    .floating-call-btn:hover {
        transform: translateY(-2px);
    }
}