/* Intercity components are fully scoped so city pages and the Taxi order card stay unchanged. */
.intercity {
  --ic-paper: #f4f1eb;
  --ic-paper-deep: #e9e2d7;
  --ic-ink: #1f2c34;
  --ic-muted: #59666e;
  --ic-line: #d9d5cd;
  --ic-accent: #f39436;
  --ic-accent-dark: #9a4507;
  --ic-radius: 16px;
  color: var(--ic-ink);
  background: #fff;
  font: 400 16px/1.62 'Open Sans', sans-serif;
  padding: 100px 0 0;
  isolation: isolate;
}
.intercity *, .intercity *::before, .intercity *::after { box-sizing: border-box; }
.intercity section { border-top: 0; background-attachment: scroll; padding: 0; }
.intercity :is(h1,h2,h3,p,ul,ol,dl,figure) { margin: 0; }
.intercity h1 { max-width: 740px; font-size: clamp(38px,4.2vw,62px); line-height: 1.08; letter-spacing: -.045em; font-weight: 600; }
.intercity h2 { font-size: clamp(28px,3.1vw,42px); line-height: 1.16; letter-spacing: -.035em; font-weight: 600; }
.intercity h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.02em; font-weight: 600; }
.intercity a { color: inherit; }
.intercity a:hover { text-decoration: none; }
.intercity :is(a,button,summary):focus-visible { outline: 3px solid #c45e0b; outline-offset: 4px; }
.ic-wrap { width: min(1240px,calc(100% - 80px)); margin-inline: auto; }
.ic-eyebrow { display: block; margin-bottom: 15px; color: var(--ic-accent-dark); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.ic-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.ic-hero { position: relative; min-height: 620px; overflow: hidden; color: #fff; background: #24343d; }
.ic-hero__image { position: absolute; inset: 0; }
.ic-hero__image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 57%; }
.ic-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg,rgba(15,28,36,.95),rgba(15,28,36,.78) 38%,rgba(15,28,36,.22) 70%,rgba(15,28,36,.04)); }
.ic-hero__inner { position: relative; z-index: 1; min-height: 620px; padding-block: 22px 44px; }
.ic-breadcrumbs { margin-bottom: 50px; color: #e8ebeb; font-size: 12px; }
.ic-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 0; list-style: none; }
.ic-breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 14px; opacity: .65; }
.ic-breadcrumbs a:hover { text-decoration: underline; }
.ic-hero__copy { max-width: 600px; }
.ic-hero__copy .ic-eyebrow { color: #ffc27e; }
.ic-lead { max-width: 560px; margin-top: 21px !important; color: #edf0ef; font-size: 18px; line-height: 1.6; }
.ic-hero__summary { display: flex; align-items: center; gap: 22px; margin-top: 25px; }
.ic-hero__summary strong { font-size: 35px; line-height: 1; letter-spacing: -.035em; font-weight: 600; }
.ic-hero__summary span { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.45); font-size: 13px; line-height: 1.55; }
.ic-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 28px; }
.ic-call { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 20px; border: 1px solid transparent; border-radius: 9px; background: var(--ic-accent); color: #192027 !important; font-size: 15px; font-weight: 700; line-height: 1.4; text-align: center; transition: background-color .2s ease,transform .2s ease; }
.ic-call:hover { background: #ffad5e; transform: translateY(-1px); }
.ic-call svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.ic-phone { font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ic-hero__caption { display: flex; align-items: center; gap: 14px; position: absolute; right: 0; bottom: 38px; padding: 9px 13px; border-radius: 7px; background: rgba(25,40,47,.68); font-size: 12px; }
.ic-hero__caption i { width: 68px; height: 1px; background: #dfdfd1; }

.ic-route-offer { background: var(--ic-ink); color: #fff; }
.ic-route-offer__grid { display: grid; grid-template-columns: 1.2fr 1fr .9fr; gap: 32px; align-items: stretch; padding-block: 34px; }
.ic-route-offer__heading { padding-right: 28px; border-right: 1px solid #526069; }
.ic-route-offer__heading .ic-eyebrow { color: #ffc27e; }
.ic-route-offer__heading h2 { font-size: clamp(26px,2.5vw,36px); }
.ic-route-offer__facts { display: flex; align-items: baseline; gap: 14px; margin-top: 17px; }
.ic-route-offer__facts strong { font-size: 27px; }
.ic-route-offer__facts span { color: #d8dfe2; font-size: 14px; }
.ic-route-offer__heading > p { margin-top: 10px; color: #bcc6ca; font-size: 12px; }
.ic-route-offer__prices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ic-route-offer__prices > div { padding: 18px; border: 1px solid #56646d; border-radius: 12px; background: #293842; }
.ic-route-offer__prices span, .ic-route-offer__prices small { display: block; color: #cdd5d8; font-size: 11px; }
.ic-route-offer__prices strong { display: block; margin: 6px 0; color: #ffc27e; font-size: 27px; line-height: 1.1; font-weight: 700; white-space: nowrap; }
.ic-route-offer__action { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; }
.ic-route-offer__action .ic-call { width: 100%; }
.ic-route-offer__action > p { color: #bdc7cb; font-size: 10px; line-height: 1.5; }

.ic-benefits { border-bottom: 1px solid var(--ic-line); background: #fff; }
.ic-benefits__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; }
.ic-benefits__grid > div { position: relative; min-height: 130px; padding: 28px 25px 25px 48px; border-right: 1px solid var(--ic-line); }
.ic-benefits__grid > div:first-child { border-left: 1px solid var(--ic-line); }
.ic-benefits__grid > div > span { position: absolute; left: 20px; top: 29px; color: var(--ic-accent-dark); font-weight: 700; }
.ic-benefits strong { font-size: 14px; }
.ic-benefits p { margin-top: 5px; color: var(--ic-muted); font-size: 12px; line-height: 1.5; }

.intercity .ic-section { padding-block: 70px; }
.ic-section--paper { background: var(--ic-paper); }
.ic-section--ink { background: var(--ic-ink); color: #fff; }
.ic-section--ink .ic-eyebrow { color: #ffc27e; }
.ic-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.ic-intro h2 { max-width: 540px; }
.ic-prose { color: var(--ic-muted); }
.ic-prose p + p { margin-top: 17px; }
.ic-section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 32px; }
.ic-section-head > p { max-width: 390px; color: var(--ic-muted); font-size: 14px; }
.ic-section--ink .ic-section-head > p { color: #cbd4d8; }

.ic-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.ic-card { min-width: 0; display: flex; flex-direction: column; padding: 23px; border: 1px solid var(--ic-line); border-radius: var(--ic-radius); background: #fff; box-shadow: 0 8px 24px rgba(42,40,35,.035); transition: border-color .2s ease,box-shadow .2s ease; }
.ic-card:hover { border-color: #b9946d; box-shadow: 0 13px 27px rgba(42,40,35,.08); }
.ic-card__road { display: flex; align-items: center; gap: 10px; margin-bottom: 17px; color: #6b7479; font-size: 11px; }
.ic-card__road i { flex: 1; height: 1px; background: var(--ic-line); }
.ic-card h3 { font-size: 25px; }
.ic-card h3 a { text-decoration: none; }
.ic-card__facts { margin-top: 6px !important; color: var(--ic-muted); font-size: 13px; }
.ic-card__prices { display: grid; gap: 9px; margin-top: 19px; padding-top: 16px; border-top: 1px solid var(--ic-line); }
.ic-card__prices > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ic-card__prices span { max-width: 145px; font-size: 12px; }
.ic-card__prices strong { font-size: 25px; letter-spacing: -.03em; white-space: nowrap; }
.ic-card__prices b { font-size: 18px; font-weight: 600; white-space: nowrap; }
.ic-card__per-car { margin-top: 8px !important; color: var(--ic-muted); font-size: 11px; }
.ic-card__actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: auto; padding-top: 18px; }
.ic-card__link { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px solid var(--ic-line); font-size: 13px; font-weight: 700; }
.ic-card__call { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 9px 13px; border-radius: 8px; background: var(--ic-ink); color: #fff !important; font-size: 13px; font-weight: 700; text-decoration: none; }

.ic-gallery { overflow: hidden; }
.ic-gallery__layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 58px; align-items: center; }
.ic-gallery__copy p { margin-top: 20px; color: var(--ic-muted); }
.ic-gallery__stage { position: relative; min-width: 0; max-width: 660px; justify-self: end; }
.ic-gallery__viewport { display: flex; overflow-x: auto; border-radius: var(--ic-radius); background: #dcd6cb; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.ic-gallery__viewport::-webkit-scrollbar { display: none; }
.ic-gallery__slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.ic-gallery__slide picture { display: block; height: 360px; }
.ic-gallery__slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ic-gallery__slide figcaption { min-height: 46px; padding: 12px 72px; background: #fff; font-size: 14px; font-weight: 700; text-align: center; }
.ic-gallery__controls { position: absolute; inset: 0 0 46px; pointer-events: none; }
.ic-gallery__controls[hidden] { display: none; }
.ic-gallery__controls > button { position: absolute; top: 50%; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; color: #fff; background: rgba(22,36,44,.78); box-shadow: 0 5px 14px rgba(0,0,0,.2); cursor: pointer; pointer-events: auto; transform: translateY(-50%); }
.ic-gallery__controls > [data-gallery-prev] { left: 14px; }
.ic-gallery__controls > [data-gallery-next] { right: 14px; }
.ic-gallery__dots { position: absolute; left: 50%; bottom: 12px; z-index: 3; display: flex; gap: 5px; padding: 5px 7px; border-radius: 999px; background: rgba(22,36,44,.72); pointer-events: auto; transform: translateX(-50%); }
.ic-gallery__dots button { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.ic-gallery__dots button span { width: 7px; height: 7px; border-radius: 50%; background: #d2d6d6; }
.ic-gallery__dots button[aria-current="true"] span { width: 18px; border-radius: 5px; background: var(--ic-accent); }
.ic-gallery__note { margin-top: 15px !important; color: var(--ic-muted); font-size: 12px; text-align: right; }

.ic-waypoints__layout { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(330px,.7fr); gap: 55px; align-items: start; }
.ic-waypoints__lead { max-width: 690px; margin-top: 16px !important; color: var(--ic-muted); }
.ic-waypoints__list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 28px; }
.ic-waypoints__list article { padding: 19px; border: 1px solid var(--ic-line); border-radius: 12px; background: #fff; }
.ic-waypoints__list h3 { font-size: 18px; }
.ic-waypoints__list p { margin-top: 7px; color: var(--ic-muted); font-size: 13px; }
.ic-waypoints__list small { display: block; margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--ic-line); color: #79410f; font-size: 11px; line-height: 1.5; }
.ic-journey-photo { position: sticky; top: 120px; overflow: hidden; border-radius: var(--ic-radius); background: #ddd7cd; }
.ic-journey-photo picture { display: block; aspect-ratio: 3/2; }
.ic-journey-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ic-journey-photo figcaption { padding: 13px 16px; background: #fff; color: var(--ic-muted); font-size: 12px; }

.ic-road-fees { background: #e6ecee; }
.ic-road-fees__inner { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding-block: 27px; }
.ic-road-fees__inner > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ic-ink); color: #fff; font-weight: 700; }
.ic-road-fees h2 { font-size: 22px; }
.ic-road-fees p { margin-top: 5px; color: var(--ic-muted); font-size: 13px; }
.ic-road-fees a { display: inline-block; margin-top: 7px; font-size: 12px; text-underline-offset: 3px; }

.ic-corridors { display: grid; grid-template-columns: 1fr 1fr; gap: 0 45px; }
.ic-corridors > a { display: grid; grid-template-columns: 1fr 24px; gap: 4px 16px; align-items: center; padding: 22px 0; border-top: 1px solid #56636b; text-decoration: none; }
.ic-corridors strong { font-size: 20px; font-weight: 600; }
.ic-corridors a > span:not(.ic-road-number) { grid-column: 1; color: #cbd4d8; font-size: 12px; }
.ic-corridors a > i { grid-row: 1 / span 3; grid-column: 2; color: #ffc27e; font-size: 22px; }
.ic-road-number { color: #ffc27e; font-size: 11px; letter-spacing: .12em; }
.ic-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 42px; padding: 0; list-style: none; }
.ic-steps li > span { display: block; margin-bottom: 16px; padding-top: 15px; border-top: 1px solid var(--ic-line); color: var(--ic-accent-dark); font-size: 12px; }
.ic-steps h3 { margin-bottom: 10px; }
.ic-steps p { color: var(--ic-muted); font-size: 14px; }
.ic-faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.ic-faq details { border-bottom: 1px solid var(--ic-line); }
.ic-faq summary { position: relative; padding: 21px 34px 21px 0; cursor: pointer; list-style: none; font-size: 16px; font-weight: 600; }
.ic-faq summary::-webkit-details-marker { display: none; }
.ic-faq summary::after { content: '+'; position: absolute; right: 0; top: 17px; font-size: 25px; font-weight: 400; }
.ic-faq details[open] summary::after { content: '−'; }
.ic-faq details > p { padding-bottom: 22px; color: var(--ic-muted); font-size: 14px; }
.ic-related { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 26px; }
.ic-related > a { display: flex; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--ic-line); }
.ic-final { background: var(--ic-paper-deep); }
.ic-final__action { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.ic-final__action .ic-phone { font-size: 24px; }
.ic-final__action > span { color: var(--ic-muted); font-size: 11px; }
.ic-mobile-call { display: none; }

@media (max-width:1100px) {
  .ic-wrap { width: calc(100% - 48px); }
  .ic-route-offer__grid { grid-template-columns: 1fr 1fr; }
  .ic-route-offer__action { grid-column: 1/-1; flex-direction: row; align-items: center; }
  .ic-route-offer__action .ic-call { width: auto; }
  .ic-route-offer__action > p { max-width: 500px; }
  .ic-benefits__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ic-benefits__grid > div:nth-child(3) { border-left: 1px solid var(--ic-line); border-top: 1px solid var(--ic-line); }
  .ic-benefits__grid > div:nth-child(4) { border-top: 1px solid var(--ic-line); }
  .ic-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ic-intro { gap: 42px; }
  .ic-gallery__layout { gap: 35px; }
  .ic-waypoints__layout { grid-template-columns: 1fr 350px; gap: 35px; }
  .ic-hero__caption { display: none; }
}

@media (max-width:767px) {
  .intercity { padding-top: 60px; }
  .ic-wrap { width: calc(100% - 36px); }
  .intercity .ic-section { padding-block: 46px; }
  .ic-hero, .ic-hero__inner { min-height: 0; }
  .ic-hero__inner { padding-block: 17px 255px; }
  .ic-hero__image { top: auto; height: 240px; }
  .ic-hero__image img { width: 135%; max-width: none; position: absolute; right: 0; object-position: right 58%; }
  .ic-hero::after { background: linear-gradient(180deg,#24343d 0,#24343d calc(100% - 235px),rgba(36,52,61,.42) calc(100% - 170px),rgba(36,52,61,.08)); }
  .ic-breadcrumbs { margin-bottom: 20px; font-size: 10px; }
  .ic-breadcrumbs ol { gap: 5px 8px; }
  .ic-breadcrumbs li:not(:last-child)::after { margin-left: 8px; }
  .intercity h1 { font-size: 36px; line-height: 1.12; }
  .intercity h2 { font-size: 29px; }
  .ic-eyebrow { margin-bottom: 9px; font-size: 10px; }
  .ic-lead { margin-top: 13px !important; font-size: 15px; line-height: 1.5; }
  .ic-hero__summary { margin-top: 15px; gap: 13px; }
  .ic-hero__summary strong { font-size: 27px; }
  .ic-hero__summary span { padding-left: 13px; font-size: 11px; }
  .ic-actions { margin-top: 15px; gap: 8px; }
  .ic-actions .ic-call { width: 100%; }
  .ic-phone { font-size: 17px; }
  .ic-route-offer__grid { grid-template-columns: 1fr; gap: 18px; padding-block: 26px; }
  .ic-route-offer__heading { padding: 0 0 18px; border: 0; border-bottom: 1px solid #526069; }
  .ic-route-offer__prices { gap: 10px; }
  .ic-route-offer__prices > div { padding: 14px 12px; }
  .ic-route-offer__prices strong { font-size: 23px; }
  .ic-route-offer__action { grid-column: auto; flex-direction: column; align-items: stretch; }
  .ic-route-offer__action .ic-call { width: 100%; }
  .ic-route-offer__action .ic-phone { text-align: center; }
  .ic-benefits__grid { grid-template-columns: 1fr 1fr; }
  .ic-benefits__grid > div { min-height: 142px; padding: 20px 13px 18px 34px; }
  .ic-benefits__grid > div > span { top: 21px; left: 12px; }
  .ic-benefits strong { font-size: 12px; }
  .ic-benefits p { font-size: 10px; }
  .ic-intro, .ic-faq-layout, .ic-gallery__layout, .ic-waypoints__layout { grid-template-columns: 1fr; gap: 25px; }
  .ic-prose { font-size: 15px; }
  .ic-section-head { display: block; margin-bottom: 24px; }
  .ic-section-head > p { margin-top: 14px; }
  .ic-cards { grid-template-columns: 1fr; gap: 14px; }
  .ic-card { padding: 21px; }
  .ic-card h3 { font-size: 24px; }
  .ic-gallery__stage { width: 100%; max-width: none; }
  .ic-gallery__slide picture { height: 245px; }
  .ic-gallery__slide figcaption { min-height: 44px; padding: 11px 60px; font-size: 12px; }
  .ic-gallery__controls { bottom: 44px; }
  .ic-gallery__controls > button { width: 40px; height: 40px; }
  .ic-gallery__controls > [data-gallery-prev] { left: 9px; }
  .ic-gallery__controls > [data-gallery-next] { right: 9px; }
  .ic-gallery__note { text-align: left; }
  .ic-waypoints__list { grid-template-columns: 1fr; gap: 11px; margin-top: 22px; }
  .ic-journey-photo { position: static; }
  .ic-road-fees__inner { grid-template-columns: 42px 1fr; gap: 12px; padding-block: 23px; }
  .ic-road-fees__inner > span { width: 38px; height: 38px; }
  .ic-corridors { grid-template-columns: 1fr; }
  .ic-steps { grid-template-columns: 1fr; gap: 24px; }
  .ic-final__action { align-items: stretch; margin-top: 5px; }
  .ic-final__action .ic-phone { text-align: center; }
  .ic-mobile-call { display: flex; position: fixed; z-index: 50; inset: auto 0 0; padding: 10px 18px calc(10px + env(safe-area-inset-bottom,0px)); border-top: 1px solid var(--ic-line); background: #fff; }
  .ic-mobile-call .ic-call { width: 100%; min-height: 49px; }
  body:has(.intercity) { padding-bottom: calc(80px + env(safe-area-inset-bottom,0px)); }
  body:has(.menu-mobile.has-active) .ic-mobile-call, body:has(.menu-city-body.has-active) .ic-mobile-call { visibility: hidden; }
}

@media (prefers-reduced-motion:reduce) {
  .intercity *, .intercity *::before, .intercity *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
