.request-item.is-delivered,
.courier-route.is-delivered {
  border-left-color: #4cc879;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
  opacity: 0.86;
}

.delivered-note {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: #14745d;
  background: #e9fbf2;
  border: 1px solid rgba(76, 200, 121, 0.24);
  border-radius: 14px;
  font-weight: 900;
}

.empty-state.small {
  min-height: 120px;
}

.admin-toast {
  position: fixed;
  right: 22px;
  top: 22px;
  z-index: 10000;
  max-width: min(420px, calc(100vw - 36px));
  padding: 16px 18px;
  border: 1px solid rgba(74, 200, 121, 0.28);
  border-radius: 16px;
  color: #0e4c3c;
  background: linear-gradient(135deg, #effdf7, #ffffff);
  box-shadow: 0 20px 60px rgba(18, 21, 45, 0.18);
  font-size: 14px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.admin-toast.error {
  color: #9b2d3b;
  background: linear-gradient(135deg, #fff4f5, #ffffff);
  border-color: rgba(219, 59, 84, 0.25);
}

.admin-toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .dashboard-view,
  .request-item,
  .admin-card,
  .dashboard-stats article,
  .courier-summary-grid article {
    animation: dashboardRise 260ms ease both;
  }

  @keyframes dashboardRise {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.site-footer h3 {
  margin: 0 0 18px;
  color: white;
  font-size: 14px;
}

.site-footer a,
.footer-contact b {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.socials {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  font-weight: 900;
}

.footer-contact {
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  color: white;
  background: #25d366;
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.32);
  font-size: 15px;
  font-weight: 900;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
}

.copyright {
  width: min(1160px, 100%);
  margin: 42px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 1120px) {
  .site-header {
    padding: 0 24px;
    gap: 18px;
  }

  .main-nav {
    display: none;
  }

  .site-header.menu-open .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 24px;
    right: 24px;
    z-index: 20;
    display: grid;
    gap: 6px;
    padding: 14px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 20px 46px rgba(30, 26, 67, 0.14);
  }

  .site-header.menu-open .main-nav a {
    padding: 12px 10px;
  }

  .site-header.menu-open {
    z-index: 80;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-left: auto;
    color: var(--ink);
    background: #f2f3f8;
    border: 0;
    border-radius: 10px;
    font-size: 22px;
  }

  .header-actions {
    gap: 10px;
  }

  .login,
  .header-phone,
  .lang-switch {
    display: none;
  }

  .hero-content {
    padding-left: 32px;
  }

  .hero h1 {
    max-width: 520px;
  }

  .quote-panel,
  .section,
  .stats,
  .cta,
  .service-hero,
  .service-trustbar,
  .service-content,
  .service-related,
  .service-seo-band {
    width: min(100% - 32px, 1160px);
  }

  .solutions,
  .why,
  .home-faq,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .quote-stepper {
    grid-column: 1;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .quote-panel .quote-wizard {
    grid-template-columns: 1fr;
  }

  .quote-step,
  .quote-contact-card {
    grid-column: 1;
  }

  .quote-contact-card {
    grid-row: auto;
    min-height: auto;
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .quote-stepper i {
    display: none;
  }

  .quote-grid.two,
  .vehicle-grid,
  .speed-grid,
  .planning-slots,
  .courier-detail-grid {
    grid-template-columns: 1fr;
  }

  .planning-panel {
    padding: 16px;
  }

  .planning-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-stops-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .courier-stops li {
    grid-template-columns: 1fr;
  }

  .contact-side {
    min-height: auto;
    padding: 16px 0 26px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .call-box {
    margin-top: 24px;
  }

  .price-card {
    margin-top: 0;
  }

  .section-intro {
    max-width: 620px;
  }

  .section-intro {
    grid-template-columns: 1fr;
  }

  .section-intro .primary {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .home-faq .section-intro {
    position: static;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .transport-grid,
  .benefits-grid,
  .home-faq-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-card-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-stats,
  .dispatch-board,
  .dashboard-split,
  .dashboard-app {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
    min-height: auto;
  }

  .dashboard-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-sidebar-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dispatch-toolbar,
  .dashboard-actions,
  .dashboard-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .live-locations {
    padding-left: 0;
    padding-top: 18px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .service-hero,
  .service-content {
    grid-template-columns: 1fr;
  }

  .service-trustbar,
  .related-grid,
  .process-list,
  .service-seo-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-trustbar article:nth-child(2n) {
    border-right: 0;
  }

  .service-trustbar article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .service-form {
    position: static;
  }

  .feature-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    overflow: visible;
  }

  .phone-card,
  .mini-card,
  .operator-card,
  .parcel-card {
    grid-row: auto;
  }

  .phone-card {
    width: auto;
    transform: none;
  }

  .parcel-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-admin-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-admin-item > div:last-child {
    justify-content: flex-start;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-summary {
    position: static;
  }
}

@media (max-width: 760px) {
  .blog-hero {
    padding: 44px 20px 46px;
  }

  .blog-hero::after {
    width: 220px;
    right: -72px;
    bottom: -96px;
  }

  .blog-hero h1 {
    max-width: 11ch;
    margin-top: 18px;
    font-size: clamp(40px, 13vw, 58px);
    line-height: 1;
  }

  .blog-hero p {
    font-size: 16px;
    line-height: 1.62;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 560px);
    padding-block: 28px 44px;
    gap: 16px;
  }

  .blog-card {
    min-height: 0;
    padding: 22px;
    border-radius: 12px;
  }

  .blog-card h2 {
    font-size: 24px;
    line-height: 1.15;
  }

  .blog-card p {
    font-size: 15px;
    line-height: 1.65;
  }

  .blog-article {
    padding-top: 46px;
  }

  .blog-content {
    font-size: 16px;
  }

  .blog-content h2 {
    font-size: 24px;
  }

  .blog-editor-actions > * {
    width: 100%;
  }

  .legal-hero {
    width: calc(100% - 24px);
    margin-top: 20px;
    padding: 32px 22px;
  }

  .legal-hero h1 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .legal-hero p {
    font-size: 17px;
  }

  .legal-layout {
    width: calc(100% - 24px);
    margin-bottom: 36px;
  }

  .legal-content {
    padding: 28px 22px;
  }

  .legal-content h2 {
    font-size: 23px;
  }

  .legal-content p {
    font-size: 15px;
  }

  .site-header {
    min-height: 66px;
    padding: 0 16px;
  }

  .logo img {
    width: 150px;
  }

  .header-actions .primary {
    display: none;
  }

  .hero {
    min-height: auto;
    display: grid;
    align-items: end;
    padding: 0 0 28px;
  }

  .hero-photo {
    object-position: 62% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(12, 9, 38, 0.98), rgba(18, 14, 46, 0.74));
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 46px 0 280px;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.02;
  }

  .hero p {
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-buttons,
  .service-actions,
  .footer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-buttons .primary,
  .hero-buttons .secondary,
  .service-actions .primary,
  .service-actions .secondary,
  .cta .light-button,
  .cta .dark-button {
    width: 100%;
  }

  .checks,
  .quote-panel form,
  .panel-benefits,
  .stats,
  .process-grid,
  .cta,
  .review-grid,
  .feature-mosaic,
  .phone-card,
  .mini-card,
  .parcel-card,
  .operator-card {
    grid-template-columns: 1fr;
  }

  .trust {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-card {
    left: 16px;
    right: 16px;
    bottom: 26px;
    width: calc(100% - 32px);
  }

  .quote-panel {
    width: calc(100% - 24px);
    margin-top: 12px;
    padding: 24px 18px;
    border-radius: 12px;
  }

  .quote-contact-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px 14px;
    margin-top: 8px;
    padding: 16px;
    border: 1px solid #ded6ff;
    border-radius: 12px;
    background: #fbf9ff;
  }

  .quote-contact-card .avatar-icon {
    grid-row: 1 / span 2;
    width: 52px;
    height: 52px;
    margin: 0;
  }

  .quote-contact-card h2 {
    align-self: end;
    font-size: 20px;
    line-height: 1.18;
  }

  .quote-contact-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
  }

  .quote-contact-card .call-box {
    grid-column: 1 / -1;
    margin-top: 8px;
    padding: 16px;
    border-radius: 10px;
    text-align: left;
  }

  .quote-contact-card .call-box b {
    margin-top: 4px;
    font-size: clamp(24px, 8vw, 34px);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .quote-contact-card .call-box span,
  .quote-contact-card .call-box small {
    font-size: 13px;
  }

  .quote-stepper button {
    justify-content: flex-start;
    font-size: 15px;
  }

  .quote-step h3 {
    font-size: 27px;
  }

  .quote-step > p {
    font-size: 15px;
  }

  .route-stop {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .route-stop-actions {
    grid-column: 2;
    justify-content: stretch;
    max-width: none;
  }

  .route-stop-actions button {
    flex: 1 1 42px;
  }

  .route-stop-actions [data-make-end-stop] {
    flex-basis: 100%;
  }

  .wizard-price {
    padding: 18px;
  }

  .wizard-price strong {
    align-items: flex-start;
    flex-direction: column;
  }

  .choice-grid {
    gap: 12px;
  }

  .choice-card {
    min-height: auto;
  }

  .vehicle-choice-card {
    grid-template-columns: minmax(116px, 38%) minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
    gap: 16px;
    min-height: 150px;
    padding: 16px 18px;
  }

  .route-vehicle-choice {
    margin-top: 22px;
  }

  .vehicle-photo {
    height: 112px;
  }

  .vehicle-choice-card::after {
    top: 12px;
    right: auto;
    left: 12px;
    width: 30px;
    height: 30px;
  }

  .speed-choice-card {
    grid-template-columns: 46px minmax(0, 1fr);
    min-height: 96px;
    padding: 16px 50px 16px 16px;
  }

  .speed-choice-icon {
    width: 46px;
    height: 46px;
  }

  .cargo-items-head {
    align-items: stretch;
    flex-direction: column;
  }

  .cargo-add {
    justify-content: center;
    width: 100%;
  }

  .cargo-item-fields,
  .planning-fields {
    grid-template-columns: 1fr;
  }

  .cargo-dimensions {
    grid-template-columns: 1fr;
  }

  .cargo-dimensions > span {
    display: none;
  }

  .contact-layout {
    gap: 22px;
  }

  .form-actions,
  .wizard-actions {
    grid-template-columns: 1fr;
  }

  .panel-benefits {
    padding: 20px 0 0;
  }

  .steps-line {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .home-faq {
    width: calc(100% - 24px);
    padding: 26px 20px;
  }

  .home-faq-grid {
    grid-template-columns: 1fr;
  }

  .review-grid {
    gap: 18px;
  }

  .phone-card {
    min-height: 360px;
    padding: 28px;
    background-position: 62% center;
  }

  .phone-card,
  .mini-card,
  .operator-card,
  .parcel-card {
    grid-column: 1;
    grid-row: auto;
  }

  .phone-card > img {
    width: 100%;
    height: 220px;
    margin: 18px auto 0;
    border-radius: 12px;
  }

  .parcel-card {
    gap: 26px;
    padding: 28px;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .parcel-photo-wrap {
    justify-self: center;
    width: 100%;
    max-width: 360px;
    height: 210px;
    margin: 0 auto;
  }

  .parcel-features {
    grid-column: 1;
    justify-content: flex-start;
  }

  .operator-card {
    padding: 24px;
  }

  .operator-card img {
    position: static;
    width: 100%;
    height: 220px;
    border-radius: 8px;
  }

  .stats {
    padding: 28px;
  }

  .why-media > img {
    height: 330px;
  }

  .feature-stack {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    margin-top: -26px;
  }

  .cta {
    align-items: start;
    width: calc(100% - 24px);
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .site-footer {
    padding: 42px 24px 22px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }

  .admin-heading,
  .admin-two {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    width: min(100% - 20px, 1420px);
    padding: 20px 0;
  }

  .admin-login,
  .admin-card,
  .dashboard-header,
  .dashboard-sidebar,
  .dispatch-board {
    padding: 20px;
    border-radius: 12px;
  }

  .dashboard-menu,
  .dashboard-sidebar-actions {
    grid-template-columns: 1fr;
  }

  .dashboard-header h1 {
    font-size: 30px;
  }

  .dashboard-stats {
    gap: 10px;
  }

  .dashboard-stats article {
    min-height: auto;
    padding: 16px;
  }

  .request-item div,
  .courier-workload article div {
    align-items: flex-start;
    flex-direction: column;
  }

  .request-actions,
  .courier-actions,
  .dispatch-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .request-actions select,
  .request-actions button,
  .courier-actions button,
  .dispatch-controls select,
  .dispatch-controls button {
    width: 100%;
  }

  .admin-heading {
    display: grid;
  }

  .service-hero {
    width: calc(100% - 24px);
    margin-top: 28px;
    padding: 26px 20px;
    gap: 26px;
  }

  .service-logo {
    width: 150px;
    margin-bottom: 24px;
  }

  .service-hero h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .service-hero p,
  .service-copy p,
  .service-copy li {
    font-size: 15px;
  }

  .service-media,
  .service-media > img {
    min-height: 320px;
  }

  .service-media {
    overflow: hidden;
  }

  .service-badge {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    justify-content: center;
  }

  .service-trustbar,
  .related-grid,
  .process-list,
  .service-seo-band {
    grid-template-columns: 1fr;
  }

  .service-trustbar article,
  .service-trustbar article:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-trustbar article:last-child {
    border-bottom: 0;
  }

  .service-content {
    gap: 24px;
  }

  .service-copy section,
  .service-form {
    padding: 20px;
  }

  .service-copy ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .site-header {
    gap: 10px;
    padding: 0 12px;
  }

  .logo img {
    width: 136px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .site-header.menu-open .main-nav {
    left: 12px;
    right: 12px;
  }

  .hero-content {
    width: calc(100% - 24px);
    padding-top: 36px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .checks {
    gap: 10px;
    font-size: 13px;
  }

  .hero-card {
    left: 12px;
    right: 12px;
    width: calc(100% - 24px);
    padding: 18px;
  }

  .primary,
  .secondary,
  .light-button,
  .dark-button {
    min-height: 44px;
    padding: 0 16px;
    font-size: 13px;
  }

  .quote-panel input,
  .quote-panel select,
  .quote-panel textarea,
  .admin-login input,
  .admin-settings input,
  .delivery-box input {
    font-size: 16px;
  }

  .choice-card {
    padding: 20px;
  }

  .section {
    margin-top: 60px;
  }

  .section-intro h2,
  .why h2,
  .cta h2 {
    font-size: 30px;
  }

  .cards article,
  .mini-card,
  .operator-card,
  .parcel-card,
  .service-copy section,
  .service-form,
  .admin-card {
    padding: 18px;
  }

  .parcel-features {
    gap: 7px;
  }

  .parcel-features span {
    min-height: 34px;
    font-size: 11px;
  }

  .parcel-card b {
    font-size: 21px;
  }

  .service-hero h1 {
    font-size: 30px;
  }

  .service-trustbar article {
    padding: 20px;
  }

  .footer-contact {
    padding: 18px;
  }

  .whatsapp-float {
    min-height: 48px;
    padding: 0 16px;
    font-size: 14px;
  }
}

/* Proportion polish: keeps dense pages balanced across desktop, tablet and phone. */
.site-header {
  padding-inline: clamp(18px, 4vw, 54px);
}

.main-nav {
  gap: clamp(16px, 2vw, 26px);
}

.hero {
  min-height: clamp(600px, 58vw, 660px);
}

.hero-content {
  padding: clamp(58px, 6vw, 78px) 0 180px clamp(34px, 6vw, 76px);
}

.hero-card {
  right: clamp(22px, 4vw, 54px);
  bottom: 78px;
}

.quote-panel {
  padding: clamp(24px, 3vw, 38px);
}

.quote-contact-card {
  min-height: 0;
}

.choice-card {
  min-height: 144px;
  padding: clamp(20px, 2vw, 26px);
}

.service-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr);
  gap: clamp(24px, 3vw, 38px);
  padding: clamp(30px, 4vw, 48px);
}

.service-hero h1 {
  font-size: clamp(34px, 3.5vw, 52px);
}

.service-hero p {
  font-size: 16px;
  line-height: 1.68;
}

.service-media,
.service-media > img {
  min-height: clamp(340px, 36vw, 460px);
}

.service-badge {
  bottom: 16px;
}

.service-trustbar article {
  min-height: 92px;
  padding: 18px 20px;
}

.service-content {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  margin-top: 48px;
}

.service-copy section {
  padding: clamp(26px, 3vw, 36px);
}

.service-form {
  padding: 24px;
}

.cards article,
.review-grid article,
.home-faq-grid article {
  border-radius: 8px;
}

.legal-hero {
  padding: clamp(34px, 5vw, 56px);
}

@media (max-width: 1120px) {
  .main-nav {
    gap: 14px;
    font-size: 12px;
  }

  .header-actions {
    gap: 12px;
  }

  .service-hero {
    grid-template-columns: 1fr;
  }

  .service-media,
  .service-media > img {
    min-height: 360px;
  }

  .service-content {
    grid-template-columns: 1fr;
  }

  .service-form {
    position: static;
  }
}

@media (max-width: 760px) {
  .request-edit-modal {
    align-items: end;
    place-items: end stretch;
    padding: 0;
  }

  .request-edit-panel {
    width: 100%;
    max-height: 92dvh;
    padding: 20px 16px 16px;
    border-radius: 22px 22px 0 0;
  }

  .request-edit-panel > header {
    gap: 12px;
    margin-bottom: 16px;
  }

  .request-edit-panel h2 {
    font-size: 23px;
  }

  .request-edit-grid {
    grid-template-columns: 1fr;
  }

  .request-edit-grid .wide {
    grid-column: auto;
  }

  .request-edit-actions {
    position: sticky;
    bottom: -16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 18px -16px -16px;
    padding: 12px 16px 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), #fff 35%);
    border-top: 1px solid #e8ecf6;
  }

  .hero {
    min-height: 640px;
  }

  .hero-content {
    padding: 38px 0 170px;
  }

  .hero-card {
    bottom: 20px;
  }

  .quote-panel {
    padding: 22px 16px;
  }

  .quote-stepper {
    margin-bottom: 28px;
  }

  .quote-stepper button span {
    width: 38px;
    height: 38px;
  }

  .choice-card {
    min-height: 0;
  }

  .vehicle-choice-card {
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 136px;
    padding: 14px;
  }

  .vehicle-photo {
    height: 96px;
  }

  .service-media,
  .service-media > img {
    min-height: 280px;
  }

  .service-badge {
    position: static;
    margin: 12px;
  }

  .service-trustbar,
  .service-content,
  .service-related,
  .service-seo-band {
    width: calc(100% - 24px);
  }

  .service-copy section,
  .service-form {
    padding: 18px;
  }

  .service-copy h2 {
    font-size: 24px;
  }

  .service-copy p,
  .service-copy li {
    font-size: 15px;
    line-height: 1.68;
  }

  .process-list article {
    grid-template-columns: 32px 1fr;
    padding: 14px;
  }

  .home-faq {
    margin-top: 52px;
  }
}

@media (max-width: 760px) {
  .courier-page .admin-shell {
    width: 100%;
    padding: 10px 10px 22px;
  }

  .courier-page .admin-login {
    width: min(100%, 420px);
    margin: 18px auto;
    padding: 22px 16px;
    border-radius: 14px;
  }

  .courier-page .admin-login h1 {
    font-size: 34px;
  }

  .courier-page .admin-login img {
    width: 156px;
  }

  .courier-page .dashboard-app {
    display: block;
  }

  .courier-page .dashboard-sidebar {
    position: fixed;
    top: 10px;
    left: 10px;
    bottom: 10px;
    z-index: 1000;
    width: min(300px, calc(100vw - 20px));
    min-height: auto;
    transform: translateX(calc(-100% - 18px));
    transition: transform 220ms ease;
  }

  body.courier-page.dashboard-menu-open .dashboard-sidebar {
    transform: translateX(0);
  }

  body.courier-page.dashboard-menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(8, 9, 26, 0.42);
    backdrop-filter: blur(3px);
  }

  .courier-page .dashboard-mobile-toggle {
    display: inline-flex;
  }

  .courier-page .dashboard-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 14px;
    padding: 18px;
    border-radius: 16px;
  }

  .courier-page .dashboard-header h1 {
    font-size: 32px;
    line-height: 1.05;
  }

  .courier-page .dashboard-header p {
    font-size: 14px;
  }

  .courier-page .dashboard-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 10px;
  }

  .courier-page .dashboard-actions > * {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
  }

  .courier-page .courier-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .courier-page .courier-summary-grid article {
    min-height: 82px;
    padding: 12px 10px;
    border-radius: 14px;
  }

  .courier-page .courier-summary-grid span {
    font-size: 10px;
    line-height: 1.25;
  }

  .courier-page .courier-summary-grid b {
    font-size: 24px;
  }

  .courier-page .admin-card {
    padding: 16px;
    border-radius: 16px;
  }

  .courier-page .admin-card-heading {
    gap: 12px;
  }

  .courier-page .admin-card-heading h2 {
    font-size: 24px;
  }

  .courier-page .dashboard-date-filter {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border-radius: 14px;
  }

  .courier-page .dashboard-date-filter button,
  .courier-page .dashboard-date-filter label {
    justify-content: center;
    width: 100%;
    min-height: 40px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .courier-page .dashboard-date-filter label {
    grid-column: 1 / -1;
  }

  .courier-page .courier-route {
    padding: 15px;
    border-left-width: 4px;
    border-radius: 16px;
  }

  .courier-page .courier-route h3 {
    font-size: 20px;
    line-height: 1.2;
  }

  .courier-page .courier-detail-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .courier-page .courier-detail-grid p,
  .courier-page .courier-stops li {
    padding: 12px;
    border-radius: 12px;
  }

  .courier-page .courier-stops li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .courier-page .courier-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .courier-page .status-modal {
    align-items: end;
    padding: 0;
    overflow: hidden;
  }

  .courier-page .status-modal-panel {
    width: 100%;
    max-height: calc(100dvh - 12px);
    padding: 18px 14px 0;
    border-radius: 18px 18px 0 0;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .courier-page .status-modal-panel h2 {
    padding-right: 44px;
    font-size: 26px;
    line-height: 1.08;
  }

  .courier-page .status-modal-panel p {
    font-size: 14px;
    line-height: 1.45;
  }

  .courier-page .status-modal-panel input {
    min-height: 46px;
    border-radius: 10px;
  }

  .courier-page .status-modal-panel canvas {
    height: clamp(150px, 34dvh, 210px);
    border-radius: 12px;
  }

  .courier-page .status-modal-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 2px -14px 0;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  }

  .courier-page .status-modal-actions button {
    min-height: 48px;
    padding-inline: 10px;
    white-space: normal;
  }

  .courier-page .status-modal-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 360px) {
  .admin-login .recaptcha-wrap {
    min-height: 68px;
  }

  .admin-login .g-recaptcha {
    transform: scale(0.86);
    transform-origin: left top;
  }

  .courier-page .dashboard-actions,
  .courier-page .dashboard-date-filter,
  .courier-page .courier-summary-grid {
    grid-template-columns: 1fr;
  }

  .courier-page .status-modal-actions {
    grid-template-columns: 1fr;
  }
}

/* Final standard navigation and WhatsApp polish for the live Symfony pages. */
.site-header {
  gap: clamp(16px, 2vw, 28px);
}

.main-nav {
  flex: 1;
  justify-content: center;
  gap: clamp(16px, 2vw, 26px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0;
  border-radius: 0;
  color: #353956;
  line-height: 1;
  transition: color 180ms ease;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--purple);
  background: transparent;
  box-shadow: none;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 36px;
  padding: 4px;
  border: 1px solid rgba(226, 229, 241, 0.85);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 22px rgba(25, 21, 58, 0.07);
}

.language-switch .language-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  color: #7c8197;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.language-switch .language-option.active {
  color: #fff;
  background: linear-gradient(135deg, #9b5cff, #7b35ee);
  box-shadow: 0 10px 22px rgba(139, 84, 255, 0.25);
}

.language-switch a.language-option:hover {
  color: #252846;
  background: #f4f5fb;
}

.header-action-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 156px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(226, 229, 241, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 22px rgba(25, 21, 58, 0.07);
}

.header-action-logo img {
  display: block;
  width: 128px;
  height: auto;
  max-height: 18px;
  object-fit: contain;
}

.whatsapp-float {
  width: 58px;
  height: 58px;
  min-height: 58px;
  padding: 0;
  border-radius: 999px;
  color: #fff;
  background: #25d366;
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.34);
  font-size: 0;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.whatsapp-float span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .main-nav {
    display: none;
  }

  .site-header.menu-open .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 24px;
    right: 24px;
    z-index: 90;
    display: grid;
    width: auto;
    gap: 0;
    padding: 8px;
    border: 1px solid rgba(221, 224, 239, 0.95);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(30, 26, 67, 0.14);
  }

  .site-header.menu-open .main-nav a {
    justify-content: flex-start;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 14px;
    color: #252846;
  }

  .site-header.menu-open .main-nav a + a {
    border-top: 1px solid rgba(226, 229, 241, 0.72);
  }

  .site-header.menu-open .main-nav a:hover,
  .site-header.menu-open .main-nav a.active {
    color: var(--purple);
    background: rgba(139, 84, 255, 0.08);
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(221, 224, 239, 0.95);
    border-radius: 12px;
    background: #fff;
    color: #252846;
    font-size: 24px;
    line-height: 1;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 16px;
  }

  .site-header.menu-open .main-nav {
    left: 16px;
    right: 16px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
    min-height: 54px;
  }

  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }
}

/* Restore the original feature mosaic, with only spacing fixes to prevent clipping. */
.feature-mosaic {
  grid-template-columns: 330px 330px minmax(0, 1fr);
  grid-template-rows: 156px 156px;
  gap: 16px;
  overflow: visible;
}

.feature-mosaic article {
  min-width: 0;
}

.parcel-card {
  grid-column: 3;
  grid-row: 1 / span 2;
  grid-template-columns: minmax(220px, 1fr) minmax(190px, 0.74fr);
  grid-template-rows: 1fr auto;
  min-height: 328px;
  padding: 28px;
  gap: 12px 18px;
}

.parcel-card b {
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.12;
}

.parcel-card p {
  max-width: 300px;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.5;
}

.parcel-photo-wrap {
  width: min(100%, 260px);
  height: clamp(135px, 13vw, 172px);
}

.parcel-features {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  width: 100%;
  padding-top: 2px;
}

.parcel-features span {
  justify-content: flex-start;
  min-width: 0;
  min-height: 42px;
  padding: 7px 10px 7px 8px;
  white-space: nowrap;
  font-size: 12px;
}

.parcel-features .icon-badge {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}

@media (max-width: 1180px) {
  .feature-mosaic {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .phone-card,
  .mini-card,
  .operator-card,
  .parcel-card {
    grid-row: auto;
  }

  .phone-card {
    grid-column: 1;
  }

  .mini-card,
  .operator-card {
    grid-column: 2;
  }

  .parcel-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .feature-mosaic {
    grid-template-columns: 1fr;
    gap: 14px;
    width: min(100% - 32px, 620px);
  }

  .phone-card,
  .mini-card,
  .operator-card,
  .parcel-card {
    grid-column: 1;
    grid-row: auto;
  }

  .parcel-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: 0;
    padding: 22px;
    gap: 18px;
    border-radius: 14px;
  }

  .parcel-copy,
  .parcel-photo-wrap,
  .parcel-features {
    grid-column: 1;
    grid-row: auto;
  }

  .parcel-copy {
    max-width: none;
  }

  .parcel-card b {
    font-size: clamp(30px, 10vw, 42px);
  }

  .parcel-card p {
    max-width: none;
    font-size: 17px;
  }

  .parcel-photo-wrap {
    width: min(100%, 360px);
    height: 190px;
    margin: 0 auto;
  }

  .parcel-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding-top: 0;
  }

  .parcel-features span {
    justify-content: flex-start;
    min-height: 44px;
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .parcel-card {
    padding: 18px;
  }

  .parcel-photo-wrap {
    height: 160px;
  }

  .parcel-features {
    grid-template-columns: 1fr;
  }
}

/* Polished desktop feature mosaic: balanced cards and clean image integration. */
@media (min-width: 1181px) {
  .feature-mosaic {
    grid-template-columns: minmax(300px, 0.86fr) minmax(300px, 0.9fr) minmax(420px, 1.16fr);
    grid-template-rows: 178px 178px;
    gap: 20px;
    margin-top: 42px;
  }

  .feature-mosaic article {
    overflow: hidden;
    border: 1px solid rgba(213, 219, 237, 0.86);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(22, 18, 48, 0.075);
  }

  .phone-card {
    padding: 34px 32px;
  }

  .mini-card {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 20px;
    padding: 30px 34px;
    background:
      radial-gradient(circle at 92% 8%, rgba(81, 211, 219, 0.1), transparent 34%),
      linear-gradient(135deg, #ffffff 0%, #fbf9ff 100%);
  }

  .mini-card b,
  .operator-card b {
    font-size: 20px;
    line-height: 1.15;
  }

  .mini-card p,
  .operator-card p {
    font-size: 14px;
    line-height: 1.48;
  }

  .operator-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    padding: 30px 142px 30px 34px;
    background:
      linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.93) 58%, rgba(255, 255, 255, 0.5) 76%),
      radial-gradient(circle at 100% 20%, rgba(133, 72, 255, 0.12), transparent 44%),
      linear-gradient(135deg, #ffffff 0%, #f8f5ff 100%);
  }

  .operator-card div {
    max-width: 188px;
    position: relative;
    z-index: 2;
  }

  .operator-card img {
    inset: auto -6px 0 auto;
    width: 138px;
    height: 96%;
    object-fit: cover;
    object-position: 50% 30%;
    opacity: 0.94;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.1) 30%, #000 58%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.1) 30%, #000 58%);
  }

  .parcel-card {
    grid-template-columns: minmax(240px, 1fr) minmax(170px, 0.74fr);
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 376px;
    padding: 40px 34px 32px;
    gap: 18px 22px;
    background:
      radial-gradient(circle at 82% 18%, rgba(81, 211, 219, 0.16), transparent 31%),
      linear-gradient(135deg, #fcffff 0%, #effcff 48%, #f5f0ff 100%);
  }

  .parcel-card b {
    max-width: 360px;
    margin-bottom: 16px;
    font-size: clamp(27px, 2vw, 34px);
    line-height: 1.09;
  }

  .parcel-card p {
    max-width: 330px;
    font-size: 15px;
    line-height: 1.48;
  }

  .parcel-photo-wrap {
    justify-self: end;
    width: min(100%, 236px);
    height: 178px;
    background: transparent;
  }

  .parcel-photo-wrap > img:first-child {
    object-fit: contain;
    filter: drop-shadow(0 16px 18px rgba(49, 31, 27, 0.16));
  }

  .parcel-features {
    gap: 10px;
  }

  .parcel-features span {
    min-height: 46px;
    padding: 8px 12px 8px 9px;
    border-color: rgba(203, 190, 239, 0.82);
    font-size: 13px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 8px 22px rgba(91, 60, 192, 0.06);
  }
}

@media (max-width: 980px) {
  body.admin-page.dashboard-menu-open {
    overflow: hidden;
  }

  .admin-page .admin-shell {
    width: 100%;
    padding: 10px;
  }

  .admin-page .dashboard-app {
    display: block;
  }

  .admin-page .dashboard-sidebar {
    position: fixed;
    top: 10px;
    left: 10px;
    bottom: 10px;
    z-index: 1200;
    display: flex;
    width: min(320px, calc(100vw - 20px));
    max-height: calc(100dvh - 20px);
    min-height: 0;
    overflow-y: auto;
    padding: 18px;
    border-radius: 18px;
    transform: translateX(calc(-100% - 24px));
    transition: transform 220ms ease;
  }

  body.admin-page.dashboard-menu-open .dashboard-sidebar {
    transform: translateX(0);
  }

  body.admin-page.dashboard-menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1190;
    background: rgba(8, 9, 26, 0.48);
    backdrop-filter: blur(4px);
  }

  .admin-page .dashboard-mobile-toggle {
    z-index: 1;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: max-content;
    min-height: 44px;
    padding: 0 16px;
  }

  .admin-page .dashboard-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 14px;
    padding: 18px;
  }

  .admin-page .dashboard-header h1 {
    font-size: clamp(28px, 9vw, 40px);
    line-height: 1;
  }

  .admin-page .dashboard-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 10px;
  }

  .admin-page .dashboard-actions .primary,
  .admin-page .dashboard-actions .secondary {
    width: 100%;
    justify-content: center;
  }

  .admin-page .dashboard-menu,
  .admin-page .dashboard-sidebar-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .admin-page .admin-shell {
    padding: 8px;
  }

  .admin-page .admin-card,
  .admin-page .dashboard-header,
  .admin-page .dispatch-board {
    padding: 16px;
    border-radius: 14px;
  }

  .admin-page .dashboard-stats,
  .admin-page .dashboard-split,
  .admin-page .settings-grid,
  .admin-page .admin-two,
  .admin-page .dispatch-board,
  .admin-page .blog-editor-grid {
    grid-template-columns: 1fr;
  }

  .admin-page .dashboard-date-filter {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .admin-page .dashboard-date-filter label {
    grid-column: 1 / -1;
  }
}

/* Regional courier pages */
.cities-page,
.city-page {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #f8f7ff 100%);
}

.cities-hero,
.city-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: min(1220px, calc(100% - 40px));
  margin: 38px auto 0;
  padding: clamp(38px, 6vw, 74px);
  background:
    radial-gradient(circle at 100% 0, rgba(98, 217, 232, 0.22), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f4fbff 52%, #f7f2ff 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(30, 26, 67, 0.09);
}

.cities-hero h1,
.city-hero h1 {
  max-width: 850px;
  margin: 20px 0 18px;
  color: var(--ink);
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: 0.99;
}

.cities-hero p,
.city-hero > div > p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.7;
}

.cities-hero-actions,
.city-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cities-map-panel,
.city-hero-panel {
  display: grid;
  align-content: center;
  min-height: 290px;
  padding: 34px;
  color: white;
  background: #12102b;
  border-radius: 8px;
}

.cities-map-panel > svg,
.city-panel-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 26px;
  color: #69d9e8;
}

.city-panel-icon {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.city-panel-icon svg {
  width: 28px;
  height: 28px;
}

.cities-map-panel strong,
.city-hero-panel strong {
  color: white;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.15;
}

.cities-map-panel span,
.city-hero-panel p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.cities-intro {
  padding-bottom: 8px;
  text-align: center;
}

.cities-intro h2,
.city-content h2,
.city-faq h2,
.cities-coverage h2 {
  margin: 16px 0 12px;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.08;
}

.cities-intro p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 24px;
}

.city-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
  min-height: 310px;
  padding: 26px;
  background: white;
  border: 1px solid #dfe4f1;
  border-radius: 8px;
  box-shadow: 0 20px 55px rgba(30, 26, 67, 0.07);
}

.city-card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--purple);
  background: #f2edff;
  border-radius: 8px;
}

.city-card-icon svg {
  width: 24px;
  height: 24px;
}

.city-region {
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.city-card h2 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: 28px;
}

.city-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.city-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.city-card-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #f7f8fc;
  border: 1px solid #dfe4f1;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.city-card-actions a:last-child {
  color: white;
  background: var(--purple);
  border-color: var(--purple);
}

.cities-coverage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 70px;
  padding: clamp(28px, 5vw, 48px);
  background: #12102b;
  border-radius: 8px;
}

.cities-coverage h2 {
  color: white;
}

.cities-coverage p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: #737b91;
  font-size: 13px;
  font-weight: 800;
}

.breadcrumbs a {
  color: var(--purple);
}

.city-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.city-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #4f5870;
  font-size: 14px;
  font-weight: 800;
}

.city-trust svg {
  width: 18px;
  height: 18px;
  color: var(--purple);
}

.city-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
  padding-block: clamp(58px, 7vw, 90px);
}

.city-content > div > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.city-checks {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.city-checks li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 800;
}

.city-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #13ac82;
  font-weight: 900;
}

.city-steps {
  display: grid;
  gap: 12px;
}

.city-steps article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  background: white;
  border: 1px solid #dfe4f1;
  border-radius: 8px;
}

.city-steps article > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: white;
  background: var(--purple);
  border-radius: 8px;
  font-weight: 900;
}

.city-steps b {
  color: var(--ink);
  font-size: 17px;
}

.city-steps p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.city-faq {
  max-width: 900px;
  padding-top: 10px;
  padding-bottom: 80px;
}

.city-faq details {
  margin-top: 12px;
  background: white;
  border: 1px solid #dfe4f1;
  border-radius: 8px;
}

.city-faq summary {
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.city-faq details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 980px) {
  .cities-hero,
  .city-hero,
  .city-content {
    grid-template-columns: 1fr;
  }

  .cities-map-panel,
  .city-hero-panel {
    min-height: 220px;
  }

  .cities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .cities-hero,
  .city-hero {
    width: calc(100% - 24px);
    margin-top: 16px;
    padding: 28px 22px;
  }

  .cities-hero h1,
  .city-hero h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .cities-grid {
    grid-template-columns: 1fr;
    width: calc(100% - 24px);
  }

  .city-card {
    min-height: 0;
  }

  .city-card-actions {
    grid-template-columns: 1fr;
  }

  .cities-coverage {
    align-items: stretch;
    flex-direction: column;
    width: calc(100% - 24px);
  }

  .cities-coverage .primary {
    justify-content: center;
    width: 100%;
  }
}

/* Highest-priority public mobile menu override. */
@media (max-width: 1120px) {
  .menu-toggle {
    font-size: 0 !important;
  }

  .site-header.menu-open .main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    align-content: start;
    gap: 6px;
    width: auto;
    height: auto;
    max-height: calc(100vh - 98px);
    padding: 10px;
    overflow-y: auto;
    border: 1px solid #e4e6f1;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 50px rgba(25, 21, 58, 0.18);
  }

  .site-header.menu-open .main-nav a {
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 0 14px;
    border: 0;
    border-radius: 6px;
    background: #f7f8fc;
    color: #262a47;
    font-size: 14px;
    font-weight: 800;
  }

  .site-header.menu-open .main-nav a + a {
    border-top: 0;
  }

  .site-header.menu-open .main-nav a::after {
    content: "›";
    margin-left: auto;
    color: #9a9eb5;
    font-size: 20px;
    font-weight: 500;
  }

  .site-header.menu-open .main-nav a:hover,
  .site-header.menu-open .main-nav a.active {
    color: #6f35e8;
    background: #f0eaff;
  }

  .site-header.menu-open .main-nav .language-switch {
    grid-column: 1 / -1;
    justify-self: start;
    width: auto;
    margin-top: 4px;
  }

  .site-header.menu-open .main-nav .language-option::after {
    content: "";
    margin-left: 0;
  }

  .site-header.menu-open .menu-toggle {
    color: #fff;
    background: #191631;
    border-color: #191631;
  }
}

@media (max-width: 520px) {
  .site-header.menu-open .main-nav {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-header.menu-open .main-nav a {
    min-height: 44px;
  }
}
.blog-related {
  margin: 48px 0 0;
  padding: 28px;
  border: 1px solid #e2e5f0;
  border-radius: 8px;
  background: #f8f9fd;
}

.blog-related h2 {
  margin: 0 0 18px;
  font-size: 1.35rem;
}

.blog-related div {
  display: grid;
  gap: 10px;
}

.blog-related a {
  color: #11132f;
  font-weight: 700;
  text-decoration: none;
}

.blog-related a:hover {
  color: #7c42ff;
  text-decoration: underline;
}
.ai-blog-generator {
  margin-bottom: 24px;
}

.ai-blog-generator .admin-card-heading {
  align-items: flex-start;
}

.ai-blog-generator .pill {
  display: inline-flex;
  margin-bottom: 10px;
}

.ai-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.ai-blog-grid .ai-topic {
  grid-column: span 2;
}

.ai-config-status {
  padding: 8px 12px;
  border: 1px solid #e0e3ed;
  border-radius: 999px;
  color: #727991;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.ai-config-status.configured {
  border-color: #b7ead8;
  color: #087b57;
  background: #edf9f4;
}

.invoice-status {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid #b8eadb;
  border-radius: 6px;
  background: #effbf7;
  color: #11765b;
}

.invoice-status > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.invoice-status span {
  color: #4f7b70;
  font-size: 12px;
  font-weight: 800;
}

.invoice-status p {
  margin: 0;
}

.invoice-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 800px) {
  .ai-blog-grid {
    grid-template-columns: 1fr;
  }

  .ai-blog-grid .ai-topic {
    grid-column: auto;
  }
}

@media (min-width: 981px) {
  .vehicle-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Final desktop cleanup for the feature mosaic. Keeps the original blocks, but prevents visual overflow. */
@media (min-width: 1181px) {
  .feature-mosaic {
    width: min(1240px, calc(100% - 48px));
    grid-template-columns: 340px 390px minmax(470px, 1fr);
    grid-template-rows: 176px 176px;
    gap: 18px;
    align-items: stretch;
  }

  .phone-card,
  .mini-card,
  .operator-card,
  .parcel-card {
    min-width: 0;
    min-height: 0;
  }

  .mini-card {
    padding: 30px 36px;
    background:
      linear-gradient(90deg, rgba(139, 76, 246, 0.18), rgba(68, 205, 221, 0.18)) top left / 100% 4px no-repeat,
      linear-gradient(135deg, #ffffff 0%, #f5fbff 48%, #fbf7ff 100%);
    border: 1px solid rgba(217, 211, 241, 0.95);
  }

  .operator-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 28px 126px 28px 30px;
    background:
      linear-gradient(90deg, rgba(68, 205, 221, 0.22), rgba(139, 76, 246, 0.22)) top left / 100% 4px no-repeat,
      radial-gradient(circle at 86% 52%, rgba(139, 76, 246, 0.16) 0 27%, transparent 50%),
      linear-gradient(135deg, #ffffff 0%, #effdff 42%, #f5efff 100%);
    border: 1px solid rgba(190, 176, 255, 0.75);
  }

  .operator-card b {
    font-size: 24px;
    line-height: 1.08;
  }

  .operator-card p {
    max-width: 180px;
    font-size: 14px;
    line-height: 1.35;
  }

  .operator-card img {
    right: 0;
    width: 132px;
    height: calc(100% - 4px);
    top: 4px;
    object-fit: cover;
    object-position: 50% 18%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .parcel-card {
    grid-template-columns: minmax(0, 1fr) 230px;
    grid-template-rows: 1fr auto;
    min-height: 370px;
    padding: 34px 32px 28px;
    gap: 14px 20px;
    background:
      linear-gradient(90deg, rgba(68, 205, 221, 0.18), rgba(139, 76, 246, 0.2)) top left / 100% 4px no-repeat,
      linear-gradient(135deg, #f8feff 0%, #eefbff 44%, #f3edff 100%);
    border: 1px solid rgba(209, 221, 240, 0.95);
  }

  .parcel-copy {
    min-width: 0;
  }

  .parcel-card b {
    max-width: 330px;
    font-size: clamp(25px, 1.8vw, 32px);
  }

  .parcel-card p {
    max-width: 300px;
    font-size: 14px;
  }

  .parcel-photo-wrap {
    width: 230px;
    height: 170px;
    justify-self: end;
  }

  .parcel-features {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 10px 12px;
  }

  .parcel-features span {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    justify-content: flex-start;
    padding: 8px 12px;
    white-space: nowrap;
  }
}
