/* VARPAL public experience layer.
   Additive by design: no existing content is hidden or removed. */

:root {
  --ux-green: #0f9f61;
  --ux-green-dark: #087247;
  --ux-navy: #092f3b;
  --ux-focus: #0b78d0;
  --ux-radius: 16px;
  --ux-shadow: 0 14px 38px rgba(9, 47, 59, .10);
}

html {
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-wrap: break-word;
  font-kerning: normal;
}

body.ux-ready {
  opacity: 1;
}

/* One recognizable navigation shell across every public route. */
.ux-site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  color: #fff;
  background: linear-gradient(135deg, #061f26 0%, #0a3d45 58%, #0d8296 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 8px 26px rgba(6, 31, 38, .16);
}

.ux-header-inner {
  width: auto;
  min-height: 76px;
  margin: 0 auto;
  padding: .9rem 2.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ux-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.ux-brand img {
  width: 72px;
  height: 54px;
  padding: 0;
  object-fit: contain;
  background: #fff;
  border-radius: 9px;
}

.ux-brand-copy { display: grid; line-height: 1.1; }
.ux-brand-copy strong { font-size: 15px; font-weight: 500; letter-spacing: .07em; }
.ux-brand-copy small { margin-top: 4px; color: rgba(255,255,255,.76); font-size: 11px; }

.ux-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .35rem;
  font-weight: 500;
}

.ux-nav a {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: .7rem .78rem;
  border-radius: 9px;
}

.ux-nav a:hover,
.ux-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255,255,255,.13);
}

.ux-nav .ux-wa {
  margin-left: 5px;
  padding-inline: 14px;
  color: #06331c;
  background: #25d366;
}

.ux-menu-button {
  display: none;
  min-width: 46px;
  min-height: 46px;
  padding: 0;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 10px;
  font: inherit;
  font-size: 23px;
}

body > header[data-ux-legacy-header="true"] { display: none !important; }

/* Homepage upgrade: richer presentation without changing copy, links or SEO. */
.home-page .hero {
  min-height: 500px;
  padding: 2.8rem 1.2rem;
  background:
    linear-gradient(rgba(5,18,32,.16), rgba(5,18,32,.48)),
    url('/static/hero.jpg') center / cover no-repeat;
  box-shadow: inset 0 -1px rgba(255,255,255,.16), 0 24px 64px rgba(6,47,56,.18);
}

.home-page .hero::before,
.home-page .hero::after { content: none; }

/* The approved reference has no green animated veil over the photograph. */
.home-page .hero .aurora { display: none; }

.home-page .hero h1 {
  max-width: 680px;
  margin-bottom: 0;
  font-size: clamp(2.1rem, 5vw, 4.1rem);
  line-height: 1.03;
  font-weight: 500;
}

.home-page .hero > p {
  max-width: 700px;
  margin: 0 auto;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
}

.home-page .home-journey {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 9px;
  margin: -28px 0 26px;
  padding: 12px;
  border: 1px solid rgba(210,226,235,.9);
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 20px 48px rgba(9,47,59,.15);
  backdrop-filter: blur(12px);
}

.home-page .home-journey > div {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 68px;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
}

.home-page .journey-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  color: #15965b;
}
.home-page .journey-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-page .journey-arrow {
  width: 20px;
  height: 20px;
  color: #13aeca;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-page .home-journey strong,
.home-page .home-journey small { display: block; }
.home-page .home-journey strong { color: var(--ux-navy); font-size: 14px; }
.home-page .home-journey small { margin-top: 3px; color: #607385; font-size: 11px; line-height: 1.35; }

.home-page .grid .card,
.home-page .steps li,
.home-page .rev-card {
  border-color: #d5e2ea;
  box-shadow: 0 15px 38px rgba(9,47,59,.09);
}

.home-page .grid .card img {
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: linear-gradient(145deg,#eef5f8,#fff);
  filter: saturate(1.12) contrast(1.035);
}

.home-page .grid .card:hover img {
  transform: scale(1.025);
  filter: saturate(1.2) contrast(1.05);
}

.home-page .steps img {
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f1f6f8;
  filter: saturate(1.1) contrast(1.03);
}

.home-page .socials .soc {
  border: 3px solid #fff;
  box-shadow: 0 12px 28px rgba(9,47,59,.16);
}

.ux-footer {
  color: #66778b !important;
  background: rgba(255,255,255,.88);
  border-top: 1px solid #d8e2ee !important;
  text-align: center;
}

.ux-footer a { display: inline-block; padding-block: 5px; }

/* National shipping: contemporary editorial layout with a real photograph. */
.national-page { max-width: 1080px !important; }
.national-page .crumbs { max-width: 920px; margin-inline: auto; }
.national-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 38px);
  align-items: center;
  margin: 18px 0 46px;
  padding: clamp(18px, 3vw, 32px);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, #062f38 0%, #09505b 58%, #0a8293 100%);
  border-radius: 26px;
  box-shadow: 0 28px 70px rgba(6, 47, 56, .22);
}

.national-hero::before {
  content: "";
  position: absolute;
  inset: auto -8% -45% 38%;
  height: 80%;
  background: radial-gradient(circle, rgba(47,208,138,.34), transparent 68%);
  pointer-events: none;
}

.national-hero-copy, .national-visual { position: relative; z-index: 1; }
.national-hero-copy { width: min(880px, 100%); padding: 0 clamp(6px, 2vw, 22px) clamp(8px, 2vw, 18px); }
.national-visual { grid-row: 1; }
.national-kicker {
  margin: 0 0 13px;
  color: #7ff0bd !important;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.national-hero h1 { margin: 0; color: #fff; letter-spacing: -.035em; }
.national-hero .lead { margin: 18px 0 0; color: rgba(255,255,255,.84); }
.national-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }
.national-actions a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .22s ease, filter .22s ease, border-color .22s ease;
}
.national-primary { color: #06331c !important; background: #25d366; box-shadow: 0 12px 30px rgba(37,211,102,.28); }
.national-secondary { color: #fff !important; border: 1px solid rgba(255,255,255,.42); background: rgba(255,255,255,.09); }
.national-actions a::after,
.national-page .ctas a::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -35% auto -35% -46%;
  width: 34%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
  transition: left .52s ease;
}
.national-actions a:hover,
.national-page .ctas a:hover {
  transform: translateY(-3px);
  filter: brightness(1.045);
  box-shadow: 0 17px 36px rgba(4, 34, 41, .24);
}
.national-actions a:hover::after,
.national-page .ctas a:hover::after { left: 118%; }
.national-actions a:active,
.national-page .ctas a:active { transform: translateY(1px) scale(.985); }
.national-primary .national-action-mark { animation: nationalPackageFloat 2.8s ease-in-out infinite; }
@keyframes nationalPackageFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.national-action-mark { width: 15px; height: 13px; border: 2px solid currentColor; border-radius: 3px; position: relative; }
.national-action-mark::before { content: ""; position: absolute; left: 2px; right: 2px; top: -6px; height: 5px; border: 2px solid currentColor; border-bottom: 0; border-radius: 3px 3px 0 0; }
.national-pin { width: 14px; height: 14px; border: 2px solid currentColor; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.national-visual { margin: 0; }
.national-visual img.cover { aspect-ratio: 16 / 9; width: 100%; height: auto; margin: 0; object-fit: cover; border-radius: 20px; box-shadow: 0 24px 58px rgba(0,0,0,.28); transition: transform .65s cubic-bezier(.2,.7,.2,1), box-shadow .65s ease; }
.national-visual:hover img.cover { transform: scale(1.025); box-shadow: 0 28px 62px rgba(0,0,0,.3); }
.national-visual figcaption { margin: 13px 4px 0; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.5; }
.national-journey { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin: -24px 18px 36px; position: relative; z-index: 2; }
.national-journey span { display: flex; align-items: center; gap: 9px; min-height: 64px; padding: 12px 14px; color: var(--ux-navy); background: #fff; border: 1px solid #dbe5ec; border-radius: 14px; box-shadow: var(--ux-shadow); font-size: 14px; font-weight: 750; }
.national-journey strong { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto; border-radius: 50%; color: #fff; background: var(--ux-green); }
.city-finder { margin: 16px 0 14px; padding: 18px; background: #f5f9fc; border: 1px solid #d8e4ed; border-radius: 16px; }
.city-finder label { display: block; margin-bottom: 8px; color: var(--ux-navy); }
.city-finder input { width: 100%; min-height: 50px; padding: 11px 15px; border: 1px solid #b8c9d6; border-radius: 12px; background: #fff; color: var(--ux-navy); font: inherit; }
.city-filter-status { margin: 8px 2px 0 !important; color: #5c6f80 !important; font-size: 14px; }
.national-city-list[hidden] { display: none !important; }
.national-city-list li[hidden] { display: none !important; }
.city-quick-action { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 18px 0 24px; padding: 18px 20px; border: 1px solid rgba(29,211,124,.34); border-radius: 16px; background: linear-gradient(135deg,rgba(9,83,95,.96),rgba(8,54,65,.98)); box-shadow: 0 16px 38px rgba(0,0,0,.18); }
.city-quick-action strong { display: block; color: #fff; font-size: clamp(18px,2vw,23px); line-height: 1.25; }
.city-quick-action span { display: block; margin-top: 4px; color: rgba(255,255,255,.78); font-size: 14px; }
.city-quick-buttons { display: flex; flex: 0 0 auto; gap: 9px; }
.city-quick-buttons a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 15px; border-radius: 11px; font-weight: 800; text-decoration: none; }
.city-quick-primary { color: #062f37; background: #22d477; }
.city-quick-secondary { color: #fff; border: 1px solid rgba(255,255,255,.38); background: rgba(255,255,255,.08); }
.city-not-listed { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 22px 0 8px; padding: 19px 20px; border-radius: 16px; color: #fff; background: linear-gradient(135deg,#073540,#087084); }
.city-not-listed span { color: rgba(255,255,255,.8); }
.city-not-listed .cta { flex: 0 0 auto; text-decoration: none; }

/* Opt-in motion study: the approved static composition remains the default. */
.national-motion-stage { position: relative; overflow: hidden; border-radius: 20px; box-shadow: 0 24px 58px rgba(0,0,0,.28); }
.national-motion-stage img.cover { border-radius: 0; box-shadow: none; }
.national-motion-stage:hover img.cover { transform: none; }
.motion-routes { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.motion-routes path { fill: none; stroke: #66f5e2; stroke-width: 2.3; stroke-dasharray: 9 7; opacity: .92; filter: drop-shadow(0 0 4px rgba(64,245,222,.75)); animation: motionRouteFlow 3s linear infinite; }
.motion-vehicle { pointer-events: none; filter: drop-shadow(0 11px 9px rgba(0,0,0,.34)); }
@keyframes motionRouteFlow { to { stroke-dashoffset: -32; } }

.national-page ol.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.national-page ol.steps li { min-height: 180px; padding: 58px 16px 18px; background: #fff; border: 1px solid #d8e2ee; border-radius: 16px; box-shadow: var(--ux-shadow); }
.national-page ol.steps li::before { left: 16px; top: 16px; }
.national-page ol.steps li strong { display: block; margin-bottom: 7px; color: var(--ux-navy); }
.national-page > ul[style] a { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 11px; border: 1px solid #d8e2ee; border-radius: 10px; background: #fff; }
.national-page > ul[style] a::before { content: ""; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--ux-green); box-shadow: 0 0 0 4px rgba(15,159,97,.12); }
.national-page .ctas a { position: relative; isolation: isolate; overflow: hidden; transition: transform .18s ease, box-shadow .22s ease, filter .22s ease; }

/* Shared CTA motion keeps legacy pages visually consistent without changing links. */
.ux-interactive-cta {
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .22s ease, filter .22s ease !important;
}
.ux-interactive-cta:hover { transform: translateY(-3px); filter: brightness(1.045); box-shadow: 0 15px 30px rgba(8, 38, 57, .2); }
.ux-interactive-cta:active { transform: translateY(1px) scale(.985); }
.ux-interactive-cta::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -45%;
  width: 28%;
  pointer-events: none;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent);
  transition: left .55s ease;
}
.ux-interactive-cta:hover::after { left: 120%; }

.ux-reveal { opacity: 0; transform: translateY(22px); }
.ux-reveal.ux-visible { opacity: 1; transform: none; transition: opacity .58s ease, transform .58s ease; }

.ux-skip-link {
  position: fixed;
  z-index: 10000;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: 11px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--ux-navy);
  font-weight: 800;
  box-shadow: var(--ux-shadow);
}

.ux-skip-link:focus { transform: translateY(0); }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--ux-focus) !important;
  outline-offset: 3px !important;
}

:where(button, .button, .btn, .nav-cta, input[type="submit"]) {
  min-height: 46px;
  touch-action: manipulation;
}

.home-page .cta-row .btn {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  box-shadow: 0 8px 19px rgba(3,31,35,.2);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.home-page .cta-row .btn::after {
  content: "";
  position: absolute;
  top: -45%;
  left: -70%;
  width: 45%;
  height: 190%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.48),transparent);
  transform: rotate(18deg);
  transition: left .6s ease;
}
.home-page .cta-row .btn:hover,
.home-page .cta-row .btn:focus-visible {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 14px 28px rgba(3,31,35,.27);
  filter: saturate(1.08);
}
.home-page .cta-row .btn:hover::after,
.home-page .cta-row .btn:focus-visible::after { left: 135%; }
.home-page .cta-row .btn-primary { background: linear-gradient(135deg,#15965b,#13aeca); }
.home-page .cta-row .btn-whatsapp { background: #20d36b; color: #052f20; }

:where(input, select, textarea) {
  font-size: max(16px, 1rem);
}

:where(p, li) {
  line-height: 1.65;
}

:where(main, article) :where(h1, h2, h3) {
  text-wrap: balance;
}

:where(main, article) p {
  text-wrap: pretty;
}

:where(.card, .panel, .tool-card, .faq details, details) {
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

:where(.card, .tool-card):hover {
  border-color: color-mix(in srgb, var(--ux-green) 45%, #d8e2ee);
}

details > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

details[open] {
  border-color: color-mix(in srgb, var(--ux-green) 42%, #d8e2ee) !important;
  box-shadow: var(--ux-shadow);
}

.ux-table-scroll {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.ux-table-scroll table { min-width: 620px; }

img {
  height: auto;
}

a[href^="https://wa.me"],
a[href*="api.whatsapp.com"] {
  -webkit-tap-highlight-color: transparent;
}

.ux-busy {
  cursor: progress !important;
  opacity: .78;
}

@media (max-width: 720px) {
  html { scroll-padding-top: 72px; }

  .ux-header-inner { width: calc(100% - 24px); min-height: 64px; }
  .ux-brand img { height: 40px; }
  .ux-brand-copy small { display: none; }
  .ux-menu-button { display: inline-grid; place-items: center; }
  .ux-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    display: none;
    align-items: stretch;
    padding: 10px;
    border-radius: 14px;
    background: #082f38;
    box-shadow: 0 20px 48px rgba(3, 24, 30, .32);
  }
  .ux-nav[data-open="true"] { display: grid; grid-template-columns: 1fr 1fr; }
  .ux-nav a { min-height: 46px; display: flex; align-items: center; padding: 11px 12px; }
  .ux-nav .ux-wa { margin: 4px 0 0; grid-column: 1 / -1; justify-content: center; }
  .home-page .home-journey { grid-template-columns: 1fr 1fr; margin-top: -18px; }
  .home-page .journey-arrow { display: none; }
  .national-hero { grid-template-columns: 1fr; margin-top: 12px; padding: 24px 18px; border-radius: 20px; }
  .national-visual { order: -1; }
  .national-visual img.cover { aspect-ratio: 16 / 10; }
  .national-actions { display: grid; }
  .national-page ol.steps { grid-template-columns: 1fr; }
  .national-page ol.steps li { min-height: 0; }
  .national-journey { grid-template-columns: 1fr 1fr; margin: -14px 8px 30px; }
  .city-not-listed { align-items: stretch; flex-direction: column; }
  .city-not-listed .cta { width: 100%; text-align: center; }
  .city-quick-action { align-items: stretch; flex-direction: column; margin-top: 14px; padding: 16px; }
  .city-quick-buttons { display: grid; grid-template-columns: 1fr; }

  :where(.container, .shell) {
    padding-inline: clamp(14px, 4vw, 20px);
  }

  :where(.grid, .grid-2, .grid-3, .grid-form) {
    gap: 14px;
  }

  :where(.card, .panel, .tool-card) {
    border-radius: 14px;
  }

  :where(.cta-row, .actions) > :where(a, button, .button, .btn) {
    min-height: 50px;
  }

  .wa-float {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
  }

  .to-top {
    right: max(14px, env(safe-area-inset-right));
    bottom: calc(max(16px, env(safe-area-inset-bottom)) + 70px);
  }

  footer {
    padding-bottom: calc(92px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 430px) {
  .home-page .home-journey { grid-template-columns: 1fr; }
  .home-page .home-journey > div { min-height: 58px; }
}

/* Keep the trust cards inside narrow phone viewports. */
.home-page .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-page .trust .stat { min-width: 0; }

@media (max-width: 600px) {
  .home-page .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Responsive header preserved from the approved comparison. */
@media (max-width: 850px) {
  .ux-header-inner {
    width: auto;
    min-height: 68px;
    padding: .7rem 1rem;
    align-items: stretch;
    flex-direction: column;
  }
  .ux-brand { align-self: flex-start; }
  .ux-brand img { width: 60px; height: 46px; }
  .ux-menu-button { display: none; }
  .ux-nav,
  .ux-nav[data-open="true"] {
    position: static;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    padding: 0;
    gap: .35rem;
    background: transparent;
    box-shadow: none;
  }
  .ux-nav a {
    display: block;
    min-height: 0;
    padding: .6rem .35rem;
    text-align: center;
    background: rgba(255,255,255,.08);
  }
  .ux-nav .ux-wa { grid-column: auto; margin: 0; }
}

@media (max-width: 480px) {
  .ux-nav,
  .ux-nav[data-open="true"] { grid-template-columns: repeat(2, 1fr); }
  .home-page .hero { min-height: 570px; }
}

@media (hover: none) {
  :where(.card, .tool-card):hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .wa-float, .to-top, .ux-skip-link, .ux-site-header { display: none !important; }
}
