/* Rodz Transport and Tourism: minimal professional styles */

:root {
    --text: #1a1a1a;
    --bg: #ffffff;
    --bg-soft: #f6f6f4;
    --muted: #6b6b6b;
    --accent: #8f3d32;
    --line: rgba(26, 26, 26, 0.12);
    --line-strong: rgba(26, 26, 26, 0.2);
    --on-dark: #fafafa;
    --shadow: 0 8px 24px rgba(26, 26, 26, 0.06);
    --radius: 8px;
    --header-h: 4.25rem;
    --dock-h: 4.1rem;
    --font-display: "Sora", "Trebuchet MS", sans-serif;
    --font-body: "Source Sans 3", "Segoe UI", sans-serif;
    --ease: ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
    overflow-x: clip;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: var(--font-body);
    font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

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

a {
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 80;
    background: var(--accent);
    color: #fff;
    padding: 0.55rem 0.9rem;
}

.skip-link:focus {
    top: 1rem;
}

.container {
    width: min(1080px, calc(100% - 2.5rem));
    margin-inline: auto;
}

.container.narrow {
    width: min(680px, calc(100% - 2.5rem));
}

.section {
    padding: clamp(3.25rem, 7vw, 5.75rem) 0;
    scroll-margin-top: calc(var(--header-h) + 1rem);
}

#home {
    scroll-margin-top: 0;
}

.section-muted {
    background: var(--bg-soft);
}

.section-header {
    max-width: 36rem;
    margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.section-intro,
.lead {
    color: var(--muted);
    font-size: 1.05rem;
}

.eyebrow {
    margin: 0 0 0.65rem;
    color: var(--muted);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1,
h2,
h3,
.brand-name,
.step-number {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.18;
}

h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.1rem, 5.2vw, 3.5rem);
    color: var(--on-dark);
}

h2 {
    margin: 0 0 0.9rem;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}

h3 {
    margin: 0 0 0.4rem;
    font-size: 1.15rem;
}

p {
    margin: 0 0 1rem;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.65rem 1.2rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: #7a3229;
}

.btn-secondary {
    background: transparent;
    border-color: currentColor;
}

.hero .btn-secondary {
    color: var(--on-dark);
}

.hero .btn-secondary:hover {
    background: rgba(250, 250, 250, 0.08);
}

.btn-sm {
    min-height: 2.4rem;
    padding: 0.4rem 0.95rem;
    font-size: 0.88rem;
}

.btn-block {
    width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    width: min(1080px, calc(100% - 2.5rem));
    margin: 0 auto;
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    min-width: 0;
}

.brand-mark {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-name {
    font-size: 1.15rem;
    line-height: 1.1;
}

.brand-sub {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

.nav-toggle {
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: transparent;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    flex-direction: column;
    cursor: pointer;
    padding: 0;
}

.nav-toggle-bar {
    display: block;
    width: 1.05rem;
    height: 1.5px;
    background: var(--text);
    transition: transform 0.2s var(--ease), opacity 0.2s;
}

.site-header.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}

.site-header.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.site-header.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.nav-list {
    display: flex;
    gap: 1.15rem;
}

.nav-link {
    text-decoration: none;
    font-size: 0.94rem;
    color: var(--muted);
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--text);
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.35);
    z-index: 30;
    touch-action: none;
}

.hero {
    position: relative;
    background:
        radial-gradient(ellipse at 80% 0%, #2a2a2a 0%, transparent 46%),
        linear-gradient(180deg, #1a1a1a 0%, #222222 100%);
    color: var(--on-dark);
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 80%);
    pointer-events: none;
}

.hero-layout {
    position: relative;
    z-index: 1;
    padding: clamp(3.5rem, 9vw, 6.25rem) 0;
}

.hero-copy {
    max-width: 38rem;
}

.hero-brand {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(250, 250, 250, 0.7);
}

.hero-lead {
    color: rgba(250, 250, 250, 0.78);
    font-size: clamp(1.02rem, 1.6vw, 1.12rem);
    max-width: 34rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.5rem 0 1.25rem;
}

.hero-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.95rem;
}

.hero-contact a {
    color: var(--on-dark);
    text-decoration: none;
    border-bottom: 1px solid rgba(250, 250, 250, 0.35);
    padding-bottom: 0.1rem;
}

.hero-contact a:hover {
    border-bottom-color: #fff;
}

.trust {
    border-bottom: 1px solid var(--line);
}

.trust-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.75rem;
    padding: 2.25rem 0;
}

.trust-item .icon {
    color: var(--accent);
    margin-bottom: 0.7rem;
}

.trust-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.trust-item p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.about-grid,
.tourism-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 3.25rem);
    align-items: center;
}

.about-figure img,
.tourism-figure img,
.fleet-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
}

.fleet-card img {
    aspect-ratio: 16 / 10;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

.service-card {
    padding: 1.25rem 1.2rem 1.35rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
}

.service-card .icon {
    color: var(--accent);
    margin-bottom: 0.85rem;
}

.service-card p {
    margin: 0;
    color: var(--muted);
}

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

.fleet-card {
    min-width: 0;
}

.fleet-copy {
    padding-top: 1rem;
}

.spec-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin: 0.85rem 0 0;
}

.spec-list dt {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.spec-list dd {
    margin: 0.15rem 0 0;
}

.tourism-copy .lead,
.tourism-copy p {
    color: var(--muted);
}

.tourism-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.tourism-item p {
    margin: 0;
    color: var(--muted);
}

.why-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 2.5rem;
}

.why-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem 1rem;
    align-items: start;
}

.why-item .icon {
    color: var(--accent);
    margin-top: 0.15rem;
}

.why-item p {
    margin: 0;
    color: var(--muted);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.step {
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.step-number {
    display: block;
    color: var(--accent);
    font-size: 1.15rem;
    margin-bottom: 0.55rem;
}

.step p {
    margin: 0;
    color: var(--muted);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.75rem;
}

.area-group h3 {
    margin-bottom: 0.7rem;
}

.area-group li {
    color: var(--muted);
}

.area-group li + li {
    margin-top: 0.3rem;
}

.contact-simple {
    max-width: 36rem;
    text-align: center;
}

.contact-simple .lead {
    margin-bottom: 1.4rem;
}

.contact-actions {
    justify-content: center;
}

.site-footer {
    background: var(--text);
    color: rgba(250, 250, 250, 0.72);
    padding: 3.5rem 0 calc(1.5rem + env(safe-area-inset-bottom));
}

.footer-inner {
    width: min(1600px, calc(100% - 4.5rem));
    margin-inline: auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.85fr 1.1fr;
    gap: 2.5rem 4.5rem;
    margin-bottom: 2.5rem;
}

.brand-footer .brand-sub {
    color: rgba(250, 250, 250, 0.55);
}

.brand-footer {
    margin-bottom: 1.1rem;
}

.footer-brand-col p {
    margin: 0;
    max-width: 26rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-heading {
    margin: 0 0 1.1rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(250, 250, 250, 0.45);
}

.footer-col ul {
    display: grid;
    gap: 0.7rem;
}

.footer-col a,
.footer-links a {
    color: rgba(250, 250, 250, 0.88);
    text-decoration: none;
}

.footer-col a:hover,
.footer-links a:hover {
    color: #fff;
}

.footer-base {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.25rem;
    border-top: 1px solid rgba(250, 250, 250, 0.12);
    padding-top: 1.35rem;
}

.footer-copy {
    margin: 0;
    font-size: 0.82rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.1rem;
    font-size: 0.82rem;
}

.mobile-dock {
    display: none;
}

.icon {
    display: block;
}

.reveal {
    animation: fade-in 0.5s var(--ease) both;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 960px) {
    .trust-list,
    .services-grid,
    .tourism-list,
    .areas-grid,
    .steps {
        grid-template-columns: 1fr 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 800px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: fixed;
        top: var(--header-h);
        right: 0;
        width: min(19rem, 88vw);
        height: calc(100dvh - var(--header-h));
        background: var(--bg);
        flex-direction: column;
        align-items: stretch;
        padding: 1.2rem;
        transform: translateX(110%);
        transition: transform 0.25s var(--ease), visibility 0.25s var(--ease);
        z-index: 35;
        overflow-y: auto;
        overscroll-behavior: contain;
        border-left: 1px solid var(--line);
        visibility: hidden;
        pointer-events: none;
    }

    .site-header.is-open .site-nav {
        transform: none;
        visibility: visible;
        pointer-events: auto;
    }

    html {
        scroll-padding-top: calc(var(--header-h) + 1.15rem);
    }

    .section,
    #contact,
    #home.hero {
        scroll-margin-top: calc(var(--header-h) + 1.15rem);
    }

    #home {
        scroll-margin-top: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0.15rem;
        margin-bottom: 1rem;
    }

    .nav-link {
        display: block;
        padding: 0.8rem 0.2rem;
        font-size: 1.05rem;
        color: var(--text);
    }

    .about-grid,
    .tourism-layout,
    .fleet-grid,
    .why-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .footer-inner {
        width: calc(100% - 1.5rem);
    }

    .trust-list,
    .services-grid,
    .tourism-list,
    .areas-grid,
    .steps,
    .footer-main {
        grid-template-columns: 1fr;
    }

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

    .hero-contact {
        flex-direction: column;
        gap: 0.7rem;
    }

    body {
        padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
    }

    .mobile-dock {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 45;
        background: var(--bg);
        border-top: 1px solid var(--line);
        min-height: calc(var(--dock-h) + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
    }

    .dock-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.15rem;
        min-height: var(--dock-h);
        text-decoration: none;
        font-size: 0.7rem;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--muted);
    }

    .dock-primary {
        background: var(--accent);
        color: #fff;
    }
}

@media (min-width: 1440px) {
    .container,
    .header-inner {
        width: min(1160px, calc(100% - 4rem));
    }

    .footer-inner {
        width: min(1680px, calc(100% - 6rem));
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
    }
}
