/* ==========================================================================
   ZwinnaStrona — Tworzenie Stron Internetowych (City Subpages & Directory)
   Dedicated Subpage Stylesheet (v=20261110_city)
   ========================================================================== */

/* Breadcrumbs navigation */
.breadcrumbs {
    max-width: 1100px;
    margin: 12px auto 0;
    padding: 0 24px;
    font-size: 0.82rem;
    color: var(--ink-faint, #8A90A2);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--ink-soft, #525866);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: var(--blue, #2540E0);
}

.breadcrumbs .sep {
    color: var(--line-strong, #D2D5E0);
    user-select: none;
}

/* Service Hero Section */
.svc-hero {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 48px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 16px 24px 56px;
    align-items: center;
}

.page-h1 {
    font-family: var(--font-display, 'Archivo', sans-serif);
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.14;
    color: var(--ink, #14161B);
    margin-bottom: 18px;
}

.svc-hero p {
    color: var(--ink-soft, #525866);
    line-height: 1.72;
    font-size: 1.02rem;
    margin: 0 0 24px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

/* Hero Side Card (Bento Spec Card) */
.hero-side {
    position: relative;
    background: #FFFFFF;
    border: 1px solid var(--line, #E6E8EE);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(20, 22, 27, 0.04), 0 14px 32px rgba(20, 22, 27, 0.06);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-side:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 22, 27, 0.06), 0 20px 40px rgba(37, 64, 224, 0.08);
}

.hero-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--blue, #2540E0);
}

.hero-side .hs-label {
    display: inline-block;
    font-family: var(--font-mono, 'IBM Plex Mono', monospace);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--blue, #2540E0);
    margin-bottom: 6px;
}

.hero-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 8px 0 20px;
}

.hero-price .num {
    font-family: var(--font-display, 'Archivo', sans-serif);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--ink, #14161B);
    letter-spacing: -0.03em;
    line-height: 1;
}

.hero-price .cur {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink-soft, #525866);
}

.quick-facts {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
}

.quick-facts li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 0;
    border-top: 1px solid var(--line, #E6E8EE);
    font-size: 0.89rem;
    color: var(--ink-soft, #525866);
    line-height: 1.5;
}

.quick-facts li::before {
    content: '✓';
    color: var(--green, #0B9E5A);
    font-weight: 800;
    flex-shrink: 0;
    font-size: 0.92rem;
}

/* Service Bento Grid */
.svc-grid3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.svc-card {
    position: relative;
    background: #FFFFFF;
    border: 1px solid var(--line, #E6E8EE);
    border-radius: 16px;
    padding: 26px 24px;
    box-shadow: 0 1px 3px rgba(20, 22, 27, 0.03), 0 4px 12px rgba(20, 22, 27, 0.02);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.svc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(20, 22, 27, 0.05), 0 16px 32px rgba(37, 64, 224, 0.08);
    border-color: var(--line-strong, #D2D5E0);
}

.svc-card .idx {
    font-family: var(--font-mono, 'IBM Plex Mono', monospace);
    font-size: 0.74rem;
    color: var(--blue, #2540E0);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.svc-card h3 {
    font-family: var(--font-display, 'Archivo', sans-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink, #14161B);
    margin: 0 0 10px;
    line-height: 1.3;
}

.svc-card p {
    color: var(--ink-soft, #525866);
    font-size: 0.91rem;
    line-height: 1.68;
    margin: 0;
}

/* Process Section */
.steps-wrap {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.step-line {
    position: absolute;
    top: 24px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: var(--line, #E6E8EE);
    border-radius: 2px;
    overflow: hidden;
    z-index: 1;
}

.step-line span {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--blue, #2540E0);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.steps-wrap.in .step-line span {
    transform: scaleX(1);
}

.steps-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 2;
}

.step-card {
    display: flex;
    flex-direction: column;
}

.step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blue, #2540E0);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono, 'IBM Plex Mono', monospace);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 14px;
    box-shadow: 0 0 0 5px rgba(37, 64, 224, 0.12);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step-card:hover .step-circle {
    transform: scale(1.1);
}

.step-body {
    background: #FFFFFF;
    border: 1px solid var(--line, #E6E8EE);
    border-radius: 14px;
    padding: 22px;
    height: 100%;
    box-shadow: 0 1px 3px rgba(20, 22, 27, 0.03);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.step-card:hover .step-body {
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(20, 22, 27, 0.06);
    border-color: var(--line-strong, #D2D5E0);
}

.step-card h3 {
    font-family: var(--font-display, 'Archivo', sans-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink, #14161B);
    margin: 0 0 8px;
}

.step-card p {
    color: var(--ink-soft, #525866);
    font-size: 0.88rem;
    line-height: 1.62;
    margin: 0;
}

/* Pricing Table */
.table-wrap {
    overflow-x: auto;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 24px;
    -webkit-overflow-scrolling: touch;
}

.svc-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #FFFFFF;
    border: 1px solid var(--line, #E6E8EE);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(20, 22, 27, 0.04);
}

.svc-table th {
    background: #F8F9FC;
    color: var(--ink, #14161B);
    font-family: var(--font-mono, 'IBM Plex Mono', monospace);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--line, #E6E8EE);
}

.svc-table td {
    padding: 15px 20px;
    border-top: 1px solid var(--line, #E6E8EE);
    font-size: 0.92rem;
    color: var(--ink-soft, #525866);
    transition: background 0.15s ease;
    vertical-align: middle;
}

.svc-table tr:first-child td {
    border-top: none;
}

.svc-table tbody tr:hover td {
    background: #F4F6FC;
}

.svc-table td:first-child {
    font-weight: 600;
    color: var(--ink, #14161B);
}

.svc-table td:last-child {
    font-weight: 800;
    color: var(--blue, #2540E0);
    white-space: nowrap;
    font-feature-settings: "tnum";
}

.svc-table td.t-time {
    font-family: var(--font-mono, 'IBM Plex Mono', monospace);
    font-size: 0.8rem;
    color: var(--ink-faint, #8A90A2);
    white-space: nowrap;
}

/* Local City Editorial & Benefits */
.city-content-box {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.city-text-card {
    background: #FFFFFF;
    border: 1px solid var(--line, #E6E8EE);
    border-radius: 18px;
    padding: 34px 30px;
    box-shadow: 0 2px 8px rgba(20, 22, 27, 0.03);
    height: 100%;
}

.city-text-card h3 {
    font-family: var(--font-display, 'Archivo', sans-serif);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--ink, #14161B);
    margin: 0 0 16px;
    letter-spacing: -0.015em;
}

.city-text-card p {
    color: var(--ink-soft, #525866);
    font-size: 0.95rem;
    line-height: 1.76;
    margin: 0 0 16px;
}

.city-text-card p:last-child {
    margin-bottom: 0;
}

.city-benefits-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.city-benefits-list li {
    position: relative;
    padding-left: 28px;
    color: var(--ink-soft, #525866);
    font-size: 0.92rem;
    line-height: 1.65;
}

.city-benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--green, #0B9E5A);
    font-weight: 800;
    font-size: 0.95rem;
}

.city-benefits-list li strong {
    color: var(--ink, #14161B);
}

/* Nearby Cities Navigation Pills */
.city-pills-wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.city-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid var(--line, #E6E8EE);
    padding: 9px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--ink-soft, #525866);
    transition: all 0.22s ease;
    box-shadow: 0 1px 2px rgba(20, 22, 27, 0.02);
}

.city-pill-check {
    color: var(--blue, #2540E0);
    font-weight: 800;
}

.city-pill:hover {
    border-color: var(--blue, #2540E0);
    color: var(--blue, #2540E0);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 64, 224, 0.12);
}

/* Animations and Transitions */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s);
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll {
    opacity: 0;
    animation: svcFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.05s;
}

@keyframes svcFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Responsive Media Queries */
@media (max-width: 960px) {
    .svc-hero {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-top: 24px;
    }
    .city-content-box {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .step-line {
        display: none;
    }
    .hero-side {
        max-width: 540px;
    }
}

@media (max-width: 640px) {
    .svc-hero {
        padding: 20px 20px 40px;
    }
    .page-h1 {
        font-size: 1.85rem;
    }
    .hero-price .num {
        font-size: 2.3rem;
    }
    .city-text-card {
        padding: 24px 20px;
    }
    .svc-card {
        padding: 22px 18px;
    }
    .svc-table th, .svc-table td {
        padding: 12px 14px;
        font-size: 0.85rem;
    }
}
