/* =============================================================================
   UK Parcel Delivery landing — all classes prefixed ukd-
   Reusable template for country-specific delivery pages.
   ============================================================================= */

.ukd-page {
  box-sizing: border-box;
}

.ukd-page *,
.ukd-page *::before,
.ukd-page *::after {
  box-sizing: inherit;
}

/* -----------------------------------------------------------------------------
   Hero
   ----------------------------------------------------------------------------- */

.ukd-hero {
  position: relative;
  background: linear-gradient(135deg, #0a2540 0%, #1a56db 100%);
  padding: 80px 0;
}

.ukd-hero__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.ukd-hero__text {
  flex: 1;
  min-width: 0;
}

.ukd-hero__title {
  margin: 0;
  color: #ffffff;
  font-weight: 800;
  font-size: 42px;
  line-height: 1.2;
}

.ukd-hero__lead {
  margin: 16px 0 0;
  max-width: 500px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  line-height: 1.7;
}

.ukd-hero__cta {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  background: #ffffff;
  color: #014ab2;
  transition: background 0.25s ease, color 0.25s ease;
}

.ukd-hero__cta:hover {
  background: #014ab2;
  color: #ffffff;
}

.ukd-hero__illustration {
  flex-shrink: 0;
  width: min(380px, 42%);
}

.ukd-hero__illustration svg {
  display: block;
  width: 100%;
  height: auto;
}

.ukd-hero__panel {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  display: inline-block;
  width: 100%;
  max-width: 360px;
}

.ukd-hero__panel--single .ukd-hero__route-flags {
  margin: 0 0 12px;
  font-size: 48px;
  line-height: 1;
}

.ukd-hero__panel--single .ukd-hero__route-title {
  margin: 0;
  color: #ffffff;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
}

.ukd-hero__panel--single .ukd-hero__route-title--sm {
  font-size: 18px;
}

.ukd-hero__route-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 14px;
  color: #ffffff;
  font-weight: 600;
  margin-top: 12px;
  line-height: 1.4;
}

.ukd-hero__panel-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 15px;
  color: #ffffff;
  font-weight: 500;
  text-align: left;
}

.ukd-hero__panel-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ukd-hero__panel-row:first-child {
  padding-top: 0;
}

.ukd-hero__panel-flags {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.ukd-hero__panel-label {
  flex: 1;
  min-width: 0;
}

.ukd-hero__panel-meta {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

/* -----------------------------------------------------------------------------
   Intro
   ----------------------------------------------------------------------------- */

.ukd-intro {
  background: #ffffff;
  padding: 70px 24px;
}

.ukd-intro__inner {
  max-width: 820px;
  margin: 0 auto;
}

.ukd-intro__heading {
  margin: 0 0 20px;
  font-size: 30px;
  font-weight: 700;
  color: #0a2540;
  line-height: 1.25;
}

.ukd-intro__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: #4b5563;
}

/* -----------------------------------------------------------------------------
   Things to Consider Cards
   ----------------------------------------------------------------------------- */

.ukd-consider {
  background: #f8fafc;
  padding: 70px 24px;
}

.ukd-consider__inner {
  max-width: 960px;
  margin: 0 auto;
}

.ukd-consider__heading {
  margin: 0 0 16px;
  font-size: 30px;
  font-weight: 700;
  color: #0a2540;
  line-height: 1.25;
}

.ukd-consider__lead {
  margin: 0 0 32px;
  font-size: 17px;
  line-height: 1.7;
  color: #4b5563;
}

.ukd-consider__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ukd-consider-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  padding: 24px;
}

.ukd-consider-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ukd-consider-card__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: block;
}

.ukd-consider-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #0a2540;
  line-height: 1.3;
}

.ukd-consider-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #4b5563;
}

.ukd-consider-card__text a {
  color: #014ab2;
  font-weight: 600;
  text-decoration: none;
}

.ukd-consider-card__text a:hover {
  text-decoration: underline;
}

.ukd-consider + .ukd-dest {
  background: #ffffff;
}

.ukd-dest__context {
  margin: 0 auto 28px;
  max-width: 720px;
  text-align: center;
  font-size: 16px;
  line-height: 1.65;
  color: #4b5563;
}

.ukd-dest__context a {
  color: #014ab2;
  font-weight: 600;
  text-decoration: none;
}

.ukd-dest__context a:hover {
  text-decoration: underline;
}

/* -----------------------------------------------------------------------------
   Destinations / rates cards
   ----------------------------------------------------------------------------- */

.ukd-dest {
  background: #f8fafc;
  padding: 70px 24px;
}

.ukd-dest__inner {
  max-width: 1140px;
  margin: 0 auto;
}

.ukd-dest__heading {
  margin: 0;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #0a2540;
}

.ukd-dest__sub {
  margin: 14px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 16px;
  line-height: 1.65;
  color: #4b5563;
}

.ukd-dest__grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ukd-dest__grid--single {
  grid-template-columns: 1fr;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.ukd-dest__grid--single-wide {
  max-width: 720px;
}

.ukd-dest-card__countries-heading {
  margin: 16px 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: #0a2540;
}

.ukd-dest-card__countries {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 14px;
}

.ukd-dest-card__countries li {
  font-size: 14px;
  line-height: 1.5;
  color: #4b5563;
}

.ukd-dest-card__countries li::before {
  content: '•';
  margin-right: 6px;
  color: #014ab2;
}

.ukd-dest__grid--dual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.ukd-dest-card__label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.ukd-dest-card--highlight {
  border: 2px solid #014ab2;
  box-shadow: 0 8px 28px rgba(1, 74, 178, 0.14);
}

.ukd-dest__rates-footer {
  max-width: 820px;
  margin: 28px auto 0;
  text-align: center;
}

.ukd-dest__rates-footer .ukd-dest-card__meta {
  margin-bottom: 12px;
}

.ukd-dest__rates-footer .ukd-dest-card__meta:last-child {
  margin-bottom: 0;
}

.ukd-dest-card__note {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.65;
  color: #64748b;
}

.ukd-dest-card__meta {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563;
}

.ukd-dest-card__meta:last-of-type {
  margin-bottom: 0;
}

.ukd-dest-card__meta strong {
  font-weight: 600;
  color: #0a2540;
}

.ukd-dest-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 32px;
}

.ukd-dest-card::after {
  content: '';
  position: absolute;
  right: -20%;
  bottom: -28%;
  width: 72%;
  height: 52%;
  background: radial-gradient(ellipse 80% 70% at 90% 100%, rgba(1, 74, 178, 0.12), transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.65;
}

.ukd-dest-card > * {
  position: relative;
  z-index: 1;
}

.ukd-dest-card__top {
  display: block;
  margin-bottom: 0;
}

.ukd-dest-card__flag {
  font-size: 40px;
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}

.ukd-dest-card__name {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
  color: #0a2540;
}

.ukd-dest-card__badges {
  margin: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ukd-dest-card__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  background: #eff6ff;
  font-size: 14px;
  font-weight: 600;
  color: #014ab2;
}

.ukd-dest-card__desc {
  margin: 0;
  flex: 1;
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
}

.ukd-dest-card__link {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 600;
  color: #014ab2;
  text-decoration: none;
}

.ukd-dest-card__link:hover {
  text-decoration: underline;
  color: #003581;
}

/* -----------------------------------------------------------------------------
   How it works
   ----------------------------------------------------------------------------- */

.ukd-steps {
  background: #ffffff;
  padding: 70px 24px;
}

.ukd-steps__inner {
  max-width: 1140px;
  margin: 0 auto;
}

.ukd-steps__heading {
  margin: 0 0 48px;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #0a2540;
}

.ukd-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.ukd-step-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  padding: 28px 24px;
  text-align: center;
}

.ukd-step-card__num {
  display: block;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: #014ab2;
  opacity: 0.12;
}

.ukd-step-card__icon {
  margin: 8px auto 16px;
  width: 48px;
  height: 48px;
  color: #014ab2;
}

.ukd-step-card__icon svg {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto;
}

.ukd-step-card__title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: #0a2540;
}

.ukd-step-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
}

.ukd-step-card__text a {
  color: #014ab2;
  font-weight: 600;
  text-decoration: none;
}

.ukd-step-card__text a:hover {
  text-decoration: underline;
}

/* -----------------------------------------------------------------------------
   Customs
   ----------------------------------------------------------------------------- */

.ukd-customs {
  background: #f8fafc;
  padding: 70px 24px;
}

.ukd-customs__inner {
  max-width: 1140px;
  margin: 0 auto;
}

.ukd-customs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.ukd-customs__heading {
  margin: 0 0 16px;
  font-size: 30px;
  font-weight: 700;
  color: #0a2540;
  line-height: 1.25;
}

.ukd-customs__lead {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
}

.ukd-customs__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ukd-customs__list li {
  position: relative;
  padding: 12px 0 12px 36px;
  font-size: 16px;
  line-height: 1.65;
  color: #4b5563;
  border-bottom: 1px solid #e2e8f0;
}

.ukd-customs__list li:last-child {
  border-bottom: none;
}

.ukd-customs__list-icon {
  position: absolute;
  left: 0;
  top: 14px;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.ukd-customs__box {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 28px;
  border-top: 4px solid #014ab2;
}

.ukd-customs__box-title {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 700;
  color: #0a2540;
}

.ukd-customs__box-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 15px;
  line-height: 1.75;
  color: #4b5563;
}

.ukd-customs__box-list li {
  margin-bottom: 10px;
}

.ukd-customs__box-list li:last-child {
  margin-bottom: 0;
}

/* -----------------------------------------------------------------------------
   Prohibited items
   ----------------------------------------------------------------------------- */

.ukd-prohibit {
  background: #ffffff;
  padding: 70px 24px;
}

.ukd-prohibit__inner {
  max-width: 1140px;
  margin: 0 auto;
}

.ukd-prohibit__intro {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: left;
}

.ukd-prohibit__heading {
  margin: 0 0 16px;
  font-size: 30px;
  font-weight: 700;
  color: #0a2540;
}

.ukd-prohibit__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
}

.ukd-prohibit__compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
  align-items: stretch;
}

.ukd-prohibit__box {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 28px;
  border-radius: 12px;
}

.ukd-prohibit__box--allowed {
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
}

.ukd-prohibit__box--forbidden {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
}

.ukd-prohibit__box-heading {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
}

.ukd-prohibit__box-heading--allowed {
  color: #166534;
}

.ukd-prohibit__box-heading--forbidden {
  color: #991b1b;
}

.ukd-prohibit__allowed-list,
.ukd-prohibit__forbidden-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.ukd-prohibit__allowed-list li,
.ukd-prohibit__forbidden-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  line-height: 1.55;
}

.ukd-prohibit__allowed-list li {
  color: #166534;
  border-bottom: 1px solid rgba(34, 197, 94, 0.15);
}

.ukd-prohibit__allowed-list li:last-child {
  border-bottom: none;
}

.ukd-prohibit__forbidden-list li {
  color: #991b1b;
  border-bottom: 1px solid rgba(239, 68, 68, 0.15);
}

.ukd-prohibit__forbidden-list li:last-child {
  border-bottom: none;
}

.ukd-prohibit__mini-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.ukd-prohibit__item-text {
  flex: 1;
  min-width: 0;
}

.ukd-prohibit__note {
  max-width: 960px;
  margin: 20px auto 0;
  padding: 0;
  font-size: 14px;
  color: #64748b;
  text-align: center;
  line-height: 1.6;
}

/* -----------------------------------------------------------------------------
   FAQ
   ----------------------------------------------------------------------------- */

.ukd-faq {
  background: #f8fafc;
  padding: 70px 24px;
}

.ukd-faq__inner {
  max-width: 820px;
  margin: 0 auto;
}

.ukd-faq__heading {
  margin: 0 0 40px;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #0a2540;
}

.ukd-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ukd-faq__item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.ukd-faq__question {
  width: 100%;
  margin: 0;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #0a2540;
  font-family: inherit;
}

.ukd-faq__question-text {
  flex: 1;
}

.ukd-faq__chevron {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: #014ab2;
  transition: transform 0.3s ease;
}

.ukd-faq__item.ukd-faq__item--open .ukd-faq__chevron {
  transform: rotate(180deg);
}

.ukd-faq__answer-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.ukd-faq__item.ukd-faq__item--open .ukd-faq__answer-wrap {
  max-height: 800px;
}

.ukd-faq__answer {
  margin: 0;
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.8;
  color: #4b5563;
}

.ukd-faq__answer a {
  color: #014ab2;
  font-weight: 600;
  text-decoration: none;
}

.ukd-faq__answer a:hover {
  text-decoration: underline;
}

/* -----------------------------------------------------------------------------
   CTA banner
   ----------------------------------------------------------------------------- */

.ukd-cta-section {
  background: #ffffff;
  padding: 70px 60px;
}

.ukd-cta-banner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 70px 32px;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #0a2540 0%, #1a56db 100%);
}

.ukd-cta-banner__heading {
  margin: 0;
  color: #ffffff;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
}

.ukd-cta-banner__sub {
  margin: 12px auto 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  line-height: 1.65;
}

.ukd-cta-banner__btn {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  background: #ffffff;
  color: #014ab2;
  transition: background 0.25s ease, color 0.25s ease;
}

.ukd-cta-banner__btn:hover {
  background: #014ab2;
  color: #ffffff;
}

/* -----------------------------------------------------------------------------
   Responsive — max-width 1024px
   ----------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .ukd-dest__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

/* -----------------------------------------------------------------------------
   Responsive — max-width 768px
   ----------------------------------------------------------------------------- */

@media (max-width: 768px) {
  .ukd-hero {
    padding-top: calc(80px + 48px);
    padding-bottom: 48px;
  }

  .ukd-hero__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .ukd-hero__title {
    font-size: 34px;
  }

  .ukd-hero__illustration {
    display: block;
    width: 100%;
  }

  .ukd-hero__panel {
    max-width: none;
    display: block;
  }

  .ukd-hero__panel--single .ukd-hero__route-flags {
    font-size: 40px;
  }

  .ukd-intro {
    padding: 48px 20px;
  }

  .ukd-intro__heading {
    font-size: 26px;
  }

  .ukd-dest {
    padding: 48px 20px;
  }

  .ukd-dest__heading {
    font-size: 28px;
  }

  .ukd-dest__grid,
  .ukd-dest__grid--dual {
    grid-template-columns: 1fr;
  }

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

  .ukd-steps {
    padding: 48px 20px;
  }

  .ukd-steps__heading {
    font-size: 28px;
    margin-bottom: 32px;
  }

  .ukd-steps__grid {
    grid-template-columns: 1fr;
  }

  .ukd-consider {
    padding: 48px 20px;
  }

  .ukd-consider__heading {
    font-size: 26px;
  }

  .ukd-consider__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ukd-consider-card {
    padding: 20px;
  }

  .ukd-customs {
    padding: 48px 20px;
  }

  .ukd-customs__grid {
    grid-template-columns: 1fr;
  }

  .ukd-customs__heading {
    font-size: 26px;
  }

  .ukd-prohibit {
    padding: 48px 20px;
  }

  .ukd-prohibit__compare {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ukd-prohibit__heading {
    font-size: 26px;
  }

  .ukd-faq {
    padding: 48px 20px;
  }

  .ukd-faq__heading {
    font-size: 28px;
    margin-bottom: 28px;
  }

  .ukd-cta-section {
    padding: 48px 0;
  }

  .ukd-cta-banner {
    margin: 0;
    border-radius: 0;
    padding: 48px 24px;
  }

  .ukd-cta-banner__heading {
    font-size: 28px;
  }
}

/* -----------------------------------------------------------------------------
   Responsive — max-width 480px
   ----------------------------------------------------------------------------- */

@media (max-width: 480px) {
  .ukd-hero__title {
    font-size: 28px;
  }

  .ukd-hero__lead {
    font-size: 15px;
  }

  .ukd-intro__heading {
    font-size: 22px;
  }

  .ukd-intro__text {
    font-size: 15px;
  }

  .ukd-consider__heading {
    font-size: 22px;
  }

  .ukd-consider-card__title {
    font-size: 16px;
  }

  .ukd-dest-card {
    padding: 20px;
  }

  .ukd-dest__heading {
    font-size: 24px;
  }

  .ukd-dest-card__name {
    font-size: 18px;
  }

  .ukd-dest-card__countries {
    grid-template-columns: 1fr;
  }

  .ukd-steps__heading {
    font-size: 24px;
  }

  .ukd-step-card {
    padding: 20px 18px;
  }

  .ukd-step-card__num {
    font-size: 40px;
  }

  .ukd-customs__heading,
  .ukd-prohibit__heading {
    font-size: 22px;
  }

  .ukd-faq__heading {
    font-size: 24px;
  }

  .ukd-faq__question {
    font-size: 15px;
    padding: 16px 18px;
  }

  .ukd-faq__answer {
    font-size: 14px;
    padding: 0 18px 16px;
  }

  .ukd-cta-banner__heading {
    font-size: 24px;
  }

  .ukd-cta-banner__sub {
    font-size: 15px;
  }
}
