/* tollcalculator.pro — own look, separate from towingdispatcher.pro (css/site.css is not loaded here). */
:root {
    --tc-ink: #0b1324;
    --tc-ink-2: #12203a;
    --tc-text: #1f2a3d;
    --tc-muted: #5b6678;
    --tc-line: #e3e8f0;
    --tc-soft: #f4f7fb;
    --tc-accent: #f5a524;
    --tc-accent-2: #ffbf47;
    --tc-teal: #14b8a6;
    --tc-radius: 16px;
    --tc-shadow: 0 10px 30px rgba(11, 19, 36, .08);
}

.tc-body { font-family: 'Geologica', system-ui, sans-serif; color: var(--tc-text); background: #fff; overflow-x: clip; }
.tc-body a { color: inherit; }
.tc-muted { color: var(--tc-muted); }

/* ── Buttons ─────────────────────────────────────────── */
.tc-btn { display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px; padding: .65rem 1.3rem; font-weight: 700;
          text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s, color .15s; cursor: pointer; }
.tc-btn:hover { transform: translateY(-1px); }
.tc-btn--primary { background: var(--tc-accent); color: var(--tc-ink) !important; }
.tc-btn--primary:hover { background: var(--tc-accent-2); }
.tc-btn--ghost { border-color: rgba(255,255,255,.35); color: #fff !important; }
.tc-btn--ghost:hover { border-color: #fff; }
.tc-btn--light { background: #fff; color: var(--tc-ink) !important; }
.tc-btn--sm { padding: .4rem 1rem; font-size: .9rem; }
.tc-btn--lg { padding: .85rem 1.6rem; font-size: 1.05rem; }

/* ── Nav ─────────────────────────────────────────────── */
.tc-nav { position: sticky; top: 0; z-index: 50; background: rgba(11,19,36,.96); backdrop-filter: blur(8px); color: #fff; }
.tc-nav-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 64px; }
.tc-brand { display: inline-flex; align-items: center; gap: .55rem; color: #fff !important; text-decoration: none; font-size: 1.1rem; white-space: nowrap; }
.tc-brand b { color: var(--tc-accent); }
.tc-brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--tc-accent); color: var(--tc-ink); }
.tc-nav-links { display: flex; gap: 1.1rem; margin-left: 1rem; flex: 1; }
.tc-nav-links a { color: rgba(255,255,255,.75) !important; text-decoration: none; font-size: .93rem; white-space: nowrap; }
.tc-nav-links a:hover, .tc-nav-links a.active { color: #fff !important; }
.tc-nav-login-mobile { display: none; }
.tc-nav-actions { display: flex; align-items: center; gap: .9rem; margin-left: auto; }
.tc-nav-login { color: rgba(255,255,255,.8) !important; text-decoration: none; font-size: .93rem; }
.tc-burger { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; }

.tc-lang { position: relative; }
.tc-lang-btn { list-style: none; cursor: pointer; color: rgba(255,255,255,.85); font-size: .9rem; display: inline-flex; gap: .35rem; align-items: center; }
.tc-lang-btn::-webkit-details-marker { display: none; }
.tc-lang-chev { font-size: .7rem; }
.tc-lang-menu { position: absolute; right: 0; top: 130%; background: #fff; border-radius: 12px; box-shadow: var(--tc-shadow); padding: .4rem; margin: 0; list-style: none; min-width: 150px; }
.tc-lang-menu a { display: block; padding: .45rem .75rem; border-radius: 8px; color: var(--tc-text) !important; text-decoration: none; font-size: .92rem; }
.tc-lang-menu a:hover, .tc-lang-menu a.active { background: var(--tc-soft); }

.tc-nav-actions .tc-btn, .tc-nav-login { white-space: nowrap; }
/* Seven links in German or Polish do not fit next to the actions below ~1400px — collapse earlier. */
@media (max-width: 1399px) {
    .tc-nav-links { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; gap: 0;
                    background: var(--tc-ink); padding: .5rem 1rem 1rem; margin: 0; }
    .tc-nav-links.open { display: flex; }
    .tc-nav-links a { padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
    .tc-nav-login-mobile { display: block; }
    .tc-nav-login { display: none; }
    .tc-burger { display: inline-block; }
}
@media (max-width: 575px) { .tc-nav-actions .tc-btn { display: none; } }

/* ── Hero ────────────────────────────────────────────── */
.tc-hero { background: radial-gradient(1200px 500px at 80% -10%, rgba(20,184,166,.25), transparent),
                       linear-gradient(160deg, var(--tc-ink) 0%, var(--tc-ink-2) 100%);
           color: #fff; padding: 5rem 0 5.5rem; }
.tc-badge { display: inline-flex; gap: .4rem; align-items: center; background: rgba(245,165,36,.15); color: var(--tc-accent-2);
            border: 1px solid rgba(245,165,36,.35); border-radius: 999px; padding: .3rem .8rem; font-size: .85rem; font-weight: 600; }
.tc-hero-title { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; line-height: 1.12; margin: 1.1rem 0 1rem; }
.tc-hero-lead { font-size: 1.12rem; color: rgba(255,255,255,.8); line-height: 1.65; max-width: 38rem; }
.tc-hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1rem; }
.tc-hero-note { color: rgba(255,255,255,.75); font-size: .92rem; margin: .3rem 0 0; }
.tc-hero-note--muted { color: rgba(255,255,255,.55); }

/* The result mock-up: real layout, blurred amounts. */
.tc-mock { background: #fff; color: var(--tc-text); border-radius: 20px; padding: 1.4rem; box-shadow: 0 30px 60px rgba(0,0,0,.35);
           transform: rotate(-1.2deg); max-width: 460px; margin-left: auto; position: relative; }
.tc-mock-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; }
.tc-mock-title { font-weight: 700; color: var(--tc-muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.tc-mock-route { font-size: 1.25rem; font-weight: 800; }
.tc-mock-truck { background: var(--tc-soft); border-radius: 999px; padding: .25rem .65rem; font-size: .8rem; white-space: nowrap; }
.tc-mock-row { display: flex; justify-content: space-between; align-items: center; padding: .6rem 0; border-top: 1px solid var(--tc-line); font-size: .95rem; }
.tc-mock-row--tolls { flex-direction: column; align-items: flex-start; gap: .5rem; }
.tc-mock-flags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tc-mock-flags span { background: var(--tc-soft); border-radius: 8px; padding: .2rem .5rem; font-size: .82rem; font-weight: 600; }
.tc-mock-total { display: flex; justify-content: space-between; align-items: center; margin-top: .6rem; padding: .85rem 1rem;
                 background: var(--tc-ink); color: #fff; border-radius: 12px; font-weight: 700; }
.tc-mock-total b { color: var(--tc-accent); font-size: 1.2rem; }
.tc-blur { filter: blur(5px); user-select: none; }
.tc-mock-lock { text-align: center; color: var(--tc-muted); font-size: .85rem; margin-top: .8rem; }
@media (max-width: 991px) { .tc-mock { margin: 0 auto; transform: none; } }

/* ── Sections ────────────────────────────────────────── */
.tc-section { padding: 4.5rem 0; scroll-margin-top: 64px; } /* "#how", "#pricing" land below the sticky nav */
.tc-section--soft { background: var(--tc-soft); }
.tc-section--dark { background: var(--tc-ink); color: #fff; }
.tc-section-head { text-align: center; max-width: 46rem; margin: 0 auto 2.5rem; }
.tc-section-head h2 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.tc-section-head p { color: var(--tc-muted); font-size: 1.05rem; margin: .6rem 0 0; }
.tc-section--dark .tc-section-head p { color: rgba(255,255,255,.7); }

.tc-question { display: flex; gap: .8rem; align-items: flex-start; background: #fff; border-radius: var(--tc-radius); padding: 1.1rem; height: 100%;
               box-shadow: var(--tc-shadow); font-weight: 600; line-height: 1.45; }
.tc-question i { color: var(--tc-teal); font-size: 1.4rem; }

.tc-feature { border: 1px solid var(--tc-line); border-radius: var(--tc-radius); padding: 1.5rem; height: 100%; }
.tc-feature h3 { font-size: 1.1rem; font-weight: 700; margin: .9rem 0 .4rem; }
.tc-feature p { color: var(--tc-muted); margin: 0; line-height: 1.6; }
.tc-feature--accent { border-color: var(--tc-accent); background: #fffaf0; }
.tc-feature-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--tc-soft); color: var(--tc-ink); font-size: 1.3rem; }
.tc-feature--accent .tc-feature-icon { background: var(--tc-accent); }

.tc-step { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--tc-radius); padding: 1.5rem; height: 100%; }
.tc-step-num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--tc-accent); color: var(--tc-ink); font-weight: 800; }
.tc-step h3 { font-size: 1.15rem; font-weight: 700; margin: 1rem 0 .4rem; }
.tc-step p { color: rgba(255,255,255,.72); margin: 0; line-height: 1.6; }

.tc-who { display: block; text-decoration: none; border-radius: var(--tc-radius); padding: 1.8rem; height: 100%; background: var(--tc-soft);
          transition: transform .15s, box-shadow .15s; }
.tc-who:hover { transform: translateY(-2px); box-shadow: var(--tc-shadow); }
.tc-who h3 { font-size: 1.25rem; font-weight: 800; margin: 1rem 0 .5rem; }
.tc-who p { color: var(--tc-muted); line-height: 1.6; }
.tc-link { font-weight: 700; color: var(--tc-ink); }

/* ── Pricing ─────────────────────────────────────────── */
.tc-card { border: 1px solid var(--tc-line); border-radius: var(--tc-radius); padding: 1.6rem; background: #fff; box-shadow: var(--tc-shadow); }
.tc-card--accent { border-color: var(--tc-accent); }
.tc-card-title { font-size: 1.15rem; font-weight: 800; margin-bottom: 1rem; display: flex; gap: .5rem; align-items: center; }
.tc-price-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.tc-price-list li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name amount" "qty amount";
                    padding: .75rem 0; border-top: 1px solid var(--tc-line); }
.tc-price-list li:first-child { border-top: 0; }
.tc-price-name { grid-area: name; font-weight: 700; }
.tc-price-qty { grid-area: qty; color: var(--tc-muted); font-size: .88rem; }
.tc-price-amount { grid-area: amount; align-self: center; font-weight: 800; font-size: 1.1rem; }
.tc-price-list li.tc-best { background: #fffaf0; margin: 0 -.6rem; padding-left: .6rem; padding-right: .6rem; border-radius: 10px; }

/* ── CTA + footer ────────────────────────────────────── */
.tc-cta { background: linear-gradient(135deg, var(--tc-accent) 0%, #f08a24 100%); color: var(--tc-ink); padding: 4rem 0; }
.tc-cta h2 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.tc-cta p { font-size: 1.1rem; max-width: 38rem; margin: .6rem auto 1.6rem; }

.tc-footer { background: var(--tc-ink); color: rgba(255,255,255,.72); padding: 3rem 0 1.5rem; font-size: .93rem; }
.tc-brand--footer { margin-bottom: .8rem; }
.tc-footer-tagline { max-width: 26rem; line-height: 1.6; }
.tc-footer-links { list-style: none; padding: 0; margin: 0; }
.tc-footer-links li { margin-bottom: .45rem; }
.tc-footer-links a { color: rgba(255,255,255,.72) !important; text-decoration: none; }
.tc-footer-links a:hover { color: #fff !important; }
.tc-footer-note { font-size: .82rem; color: rgba(255,255,255,.5); margin-top: .6rem; }
.tc-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 2rem; padding-top: 1.2rem; font-size: .85rem; color: rgba(255,255,255,.5); }

.tc-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; background: rgba(11,19,36,.95); color: #dbe2ee;
             padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .87rem; }
.tc-cookie a { color: var(--tc-accent-2) !important; }
.tc-cookie-text { flex: 1; min-width: 220px; }
.tc-cookie-actions { display: flex; gap: 8px; }

/* ── Inner pages ─────────────────────────────────────── */
.tc-subhero { background: linear-gradient(160deg, var(--tc-ink) 0%, var(--tc-ink-2) 100%); color: #fff; padding: 4rem 0 3.5rem; text-align: center; }
.tc-subhero--compact { padding: 3rem 0 2.5rem; }
.tc-subhero h1 { font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 48rem; margin: 1rem auto .8rem; line-height: 1.15; }
.tc-subhero p { color: rgba(255,255,255,.78); font-size: 1.1rem; max-width: 42rem; margin: 0 auto; line-height: 1.6; }
.tc-subhero .tc-hero-note { font-size: .92rem; margin-top: .3rem; }
.tc-subhero-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--tc-accent); color: var(--tc-ink); font-size: 1.6rem; }
.tc-narrow { max-width: 820px; }

.tc-feature--row { display: flex; gap: 1rem; align-items: flex-start; }
.tc-feature--row .tc-feature-icon { flex: 0 0 46px; }
.tc-feature-h { font-size: 1.1rem; font-weight: 700; margin: .2rem 0 .4rem; }

.tc-honest { display: flex; gap: 1rem; margin-top: 2rem; padding: 1.4rem; border-radius: var(--tc-radius); background: var(--tc-soft); }
.tc-honest > i { font-size: 1.5rem; color: var(--tc-muted); }
.tc-honest p { color: var(--tc-muted); margin: 0; line-height: 1.6; }

.tc-pain { display: flex; gap: .8rem; align-items: flex-start; background: #fff; border-left: 4px solid #ef4444; border-radius: 12px; padding: 1.1rem; height: 100%;
           box-shadow: var(--tc-shadow); font-weight: 600; line-height: 1.45; }
.tc-pain i { color: #ef4444; font-size: 1.3rem; }

.tc-example { height: 100%; }
.tc-mock--flat { transform: none; max-width: none; margin: 0; box-shadow: var(--tc-shadow); border: 1px solid var(--tc-line); }
.tc-mock--flat .tc-mock-route { font-size: 1.2rem; margin: 0; }
.tc-example-note { margin: .9rem .3rem 0; color: var(--tc-muted); }
.tc-example-note i { color: var(--tc-accent); }

.tc-faq { background: #fff; border: 1px solid var(--tc-line); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: .7rem; }
.tc-faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.tc-faq summary::-webkit-details-marker { display: none; }
.tc-faq summary::after { content: '+'; font-weight: 800; color: var(--tc-muted); }
.tc-faq[open] summary::after { content: '–'; }
.tc-faq p { margin: .7rem 0 0; color: var(--tc-muted); line-height: 1.6; }

/* ── Recently calculated routes ──────────────────────── */
.tc-routes { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .8rem; }
.tc-route { background: #fff; border: 1px solid var(--tc-line); border-radius: 12px; padding: .85rem 1rem; }
.tc-route-cities { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-weight: 700; }
.tc-route-cities i { color: var(--tc-accent); }
.tc-route-meta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .3rem; color: var(--tc-muted); font-size: .85rem; }

/* ── Blog ────────────────────────────────────────────── */
.tc-post { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--tc-line); border-radius: var(--tc-radius); overflow: hidden;
           text-decoration: none; transition: transform .15s, box-shadow .15s; background: #fff; }
.tc-post:hover { transform: translateY(-2px); box-shadow: var(--tc-shadow); }
.tc-post-img { display: block; aspect-ratio: 16 / 9; background-size: cover; background-position: center; }
.tc-post-body { display: flex; flex-direction: column; gap: .5rem; padding: 1.3rem; flex: 1; }
.tc-post-date { color: var(--tc-muted); font-size: .85rem; }
.tc-post-title { font-weight: 800; font-size: 1.15rem; line-height: 1.3; }
.tc-post-excerpt { color: var(--tc-muted); line-height: 1.55; flex: 1; }
.tc-pager { display: flex; justify-content: center; gap: .4rem; margin-top: 2rem; }
.tc-pager a { min-width: 40px; text-align: center; padding: .45rem .7rem; border-radius: 10px; border: 1px solid var(--tc-line); text-decoration: none; }
.tc-pager a.active { background: var(--tc-ink); color: #fff !important; border-color: var(--tc-ink); }
.tc-empty { text-align: center; color: var(--tc-muted); padding: 3rem 0; }
.tc-empty i { font-size: 2.5rem; }

.tc-back { display: inline-flex; gap: .4rem; align-items: center; text-decoration: none; color: var(--tc-muted) !important; margin-bottom: 1.2rem; }
.tc-article-head h1 { font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.2; }
.tc-article-head { margin-bottom: 2rem; }
.tc-article-body { font-size: 1.07rem; line-height: 1.75; }
.tc-article-body h2 { font-weight: 800; font-size: 1.5rem; margin: 2.2rem 0 .8rem; }
.tc-article-body h3 { font-weight: 700; font-size: 1.2rem; margin: 1.6rem 0 .6rem; }
.tc-article-body table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .95rem; display: block; overflow-x: auto; }
.tc-article-body th, .tc-article-body td { border: 1px solid var(--tc-line); padding: .55rem .7rem; text-align: left; }
.tc-article-body th { background: var(--tc-soft); }
.tc-article-body a { color: #0b6bcb !important; }
.tc-article-body blockquote { border-left: 4px solid var(--tc-accent); padding: .3rem 1rem; color: var(--tc-muted); background: #fffaf0; border-radius: 0 10px 10px 0; }
.tc-article-faq { margin-top: 2.5rem; }
.tc-article-faq h2, .tc-related h2 { font-weight: 800; font-size: 1.4rem; margin-bottom: 1rem; }
.tc-article-cta { margin: 2.5rem 0; padding: 2rem; border-radius: var(--tc-radius); background: var(--tc-ink); color: #fff; text-align: center; }
.tc-article-cta h2 { font-weight: 800; font-size: 1.5rem; }
.tc-article-cta p { color: rgba(255,255,255,.75); }
.tc-related ul { padding-left: 1.2rem; }
.tc-related li { margin-bottom: .4rem; }

/* AdSense unit (_AdSlot) */
.rt-ad { clear: both; text-align: center; }
.rt-ad-label { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #8a8fa3; margin-bottom: .35rem; }
