/* e-sims.nu — clean travel comparison */
:root {
  --bg: #f7fafc;
  --bg-soft: #eef5f8;
  --surface: #ffffff;
  --ink: #12263a;
  --muted: #5b7388;
  --line: #d5e3ec;
  --ocean: #0b7ea8;
  --ocean-deep: #086488;
  --sky: #e8f4fa;
  --mint: #1a9b7a;
  --sand: #fff6eb;
  --cta: #e07a2f;
  --cta-ink: #1a1008;
  --rank: #0b7ea8;
  --shadow: 0 12px 40px rgba(18, 38, 58, 0.08);
  --radius: 16px;
  --wrap: 1100px;
  --header-h: 64px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --display: "Outfit", var(--font);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--ocean-deep);
}

button {
  font: inherit;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.15rem, 5vw, 3.4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

p:last-child {
  margin-bottom: 0;
}

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(100% - 2rem, 680px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -80px;
  z-index: 100;
  background: var(--ocean);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(247, 250, 252, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.logo span {
  color: var(--ocean);
}

.nav {
  display: none;
  gap: 1.35rem;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.nav a:hover {
  color: var(--ink);
}

.header__inner > .btn {
  margin-left: auto;
}

@media (min-width: 860px) {
  .nav {
    display: flex;
  }

  .header__inner > .btn {
    margin-left: 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    background 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
}

.btn--lg {
  padding: 0.9rem 1.5rem;
  font-size: 1.05rem;
}

.btn--primary {
  background: linear-gradient(135deg, var(--cta), #c96520);
  color: var(--cta-ink);
  box-shadow: 0 8px 24px rgba(224, 122, 47, 0.28);
}

.btn--brand {
  background: var(--brand, var(--cta));
  color: var(--brand-ink, #fff);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--brand, var(--cta)) 32%, transparent);
}

.btn--brand:hover {
  filter: brightness(1.05);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--brand, var(--cta)) 40%, transparent);
}

/* Shared logos */
.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  height: 40px;
  max-width: 160px;
}

.brand-logo img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.brand-logo--lg {
  height: 48px;
  max-width: 180px;
  margin-bottom: 0.35rem;
}

.brand-logo--lg img {
  height: 40px;
}

.brand-logo--table {
  height: 28px;
  max-width: 110px;
}

.brand-logo--table img {
  height: 24px;
}

.brand-logo--with-name {
  max-width: none;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.table__provider {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.table__name {
  font-family: var(--display);
  font-weight: 600;
}

.btn--ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ocean);
  background: var(--sky);
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--ocean-deep);
}

.text-link:hover {
  text-decoration: underline;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 720px);
  min-height: min(92dvh, 720px);
  display: grid;
  align-items: center;
  padding: 4rem 0 5rem;
  overflow: clip;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, transparent 55%, var(--bg) 100%),
    radial-gradient(ellipse 70% 55% at 85% 20%, rgba(11, 126, 168, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(26, 155, 122, 0.1), transparent 55%),
    linear-gradient(165deg, #dceef6 0%, #f7fafc 45%, #eef6f4 100%);
}

.hero__bg::after {
  content: "";
  position: absolute;
  right: -5%;
  top: 8%;
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  border-radius: 50%;
  border: 1px solid rgba(11, 126, 168, 0.2);
  background:
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.7), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(11, 126, 168, 0.12), transparent 50%);
  animation: floatOrb 10s ease-in-out infinite;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  animation: rise 0.85s var(--ease) both;
}

.hero__brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  letter-spacing: -0.04em;
  color: var(--ocean);
  margin: 0 0 0.75rem;
}

.hero__lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 34ch;
  margin-bottom: 1.75rem;
  color: #4a6578;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Sections */
.section {
  padding: 4.25rem 0;
}

.section__head {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.section__head--center {
  text-align: center;
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ocean);
  margin: 0 0 0.5rem;
}

/* Rank badges */
.rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.55rem;
  border-radius: 10px;
  background: var(--ocean);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
}

.rank--sm {
  min-width: 2rem;
  height: 2rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

/* #1 pick */
.pick-1 {
  --brand: #e0434d;
  --brand-ink: #fff;
  --brand-soft: #fff1f2;
  --brand-line: rgba(224, 67, 77, 0.28);
  background: var(--surface);
  border: 1px solid var(--brand-line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 1.25rem;
  animation: rise 0.7s var(--ease) both;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.pick-1--airalo {
  --brand: #ed6b48;
  --brand-fill: linear-gradient(115deg, #ffc609 0%, #ed6b48 32%, #d25d6b 66%, #a95381 100%);
  --brand-ink: #fff;
  --brand-soft: #fff6ef;
  --brand-line: rgba(169, 83, 129, 0.28);
  --brand-label: #a95381;
  background:
    linear-gradient(
      135deg,
      rgba(255, 198, 9, 0.14) 0%,
      rgba(237, 107, 72, 0.08) 35%,
      rgba(210, 93, 107, 0.07) 60%,
      rgba(169, 83, 129, 0.06) 80%,
      transparent 100%
    ),
    var(--surface);
}

.pick-1--airalo .pick-1__badge {
  color: var(--brand-label);
  background: linear-gradient(
    90deg,
    rgba(255, 198, 9, 0.22),
    rgba(237, 107, 72, 0.14),
    rgba(169, 83, 129, 0.12)
  );
  border-bottom-color: var(--brand-line);
}

.pick-1.is-flash,
.pick-sm.is-flash {
  border-color: var(--brand, var(--ocean));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand, var(--ocean)) 22%, transparent), var(--shadow);
}

.pick-1__badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.35rem;
  background: var(--brand-soft);
  border-bottom: 1px solid var(--brand-line);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brand);
}

.pick-1__badge .rank {
  background: var(--brand-fill, var(--brand));
  color: var(--brand-ink);
}

.pick-1__body {
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem 1.35rem 1.5rem;
}

@media (min-width: 880px) {
  .pick-1__body {
    grid-template-columns: 1.4fr 1fr;
    padding: 2rem 2rem 1.75rem;
    gap: 2rem;
    align-items: start;
  }
}

.pick-1__tagline {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.65rem;
}

.pick-1__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
  padding: 1rem;
}

.pick-1 .checklist li::before {
  background: var(--brand-fill, var(--brand));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}

.pick-1 .btn--brand {
  background: var(--brand-fill, var(--brand));
  color: var(--brand-ink);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.55rem;
}

.stat__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat__value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.stat__value--sm {
  font-size: 1.1rem;
}

.stat__hint {
  font-size: 0.82rem;
  color: var(--muted);
}

/* #2 #3 */
.pick-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 780px) {
  .pick-row {
    grid-template-columns: 1fr 1fr;
  }
}

.pick-sm {
  --brand: var(--ocean);
  --brand-ink: #fff;
  --brand-soft: var(--sky);
  --brand-line: var(--line);
  background: var(--surface);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.pick-sm--holafly {
  --brand: #e6485c;
  --brand-soft: #fff1f3;
  --brand-line: rgba(230, 72, 92, 0.28);
  background:
    linear-gradient(160deg, rgba(230, 72, 92, 0.07), transparent 50%),
    var(--surface);
}

.pick-sm--saily {
  --brand: #fff500;
  --brand-ink: #141414;
  --brand-soft: #fffeeb;
  --brand-line: rgba(180, 160, 0, 0.35);
  background:
    linear-gradient(160deg, rgba(255, 245, 0, 0.22), transparent 55%),
    var(--surface);
}

.pick-sm--saily .pick-sm__label {
  color: #141414;
}

.pick-sm--saily .checklist li::before {
  box-shadow: 0 0 0 3px rgba(255, 245, 0, 0.35);
}

.pick-sm:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, transparent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.pick-sm__top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.pick-sm__label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
}

.pick-sm .rank {
  background: var(--brand-fill, var(--brand));
  color: var(--brand-ink);
}

.pick-sm__tagline {
  font-weight: 600;
  color: var(--ink);
  margin: 0.35rem 0 0.4rem;
}

.pick-sm .btn {
  margin-top: auto;
  align-self: flex-start;
}

.pick-sm .btn--brand {
  background: var(--brand-fill, var(--brand));
  color: var(--brand-ink);
}

.pick-sm .checklist li::before {
  background: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}

/* Checklists */
.checklist {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.checklist li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink);
  font-size: 0.98rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(26, 155, 122, 0.18);
}

.checklist--compact {
  margin-bottom: 1.1rem;
}

.checklist--compact li {
  font-size: 0.92rem;
  color: #3d5568;
}

/* Benefits */
.benefits {
  background: linear-gradient(180deg, transparent, var(--bg-soft) 20%, var(--bg-soft) 80%, transparent);
}

.benefit-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 700px) {
  .benefit-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .benefit-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit {
  padding: 0.25rem 0.15rem;
}

.benefit__icon {
  display: inline-flex;
  color: var(--ocean);
  margin-bottom: 0.75rem;
}

.benefit h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 1.5rem;
  display: grid;
  gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.75rem;
  }
}

.steps li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.steps__num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sky);
  color: var(--ocean-deep);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
}

.steps h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.steps p {
  font-size: 0.92rem;
  margin: 0;
}

/* Table */
.compare {
  padding-top: 3.5rem;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  font-size: 0.92rem;
}

.table th,
.table td {
  padding: 1rem 1.1rem;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}

.table thead th {
  background: var(--bg-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.table tbody th {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  white-space: nowrap;
}

.table tbody tr:last-child th,
.table tbody tr:last-child td {
  border-bottom: 0;
}

.table tbody tr:hover td,
.table tbody tr:hover th {
  background: rgba(232, 244, 250, 0.45);
}

.table__featured th,
.table__featured td {
  background: rgba(232, 244, 250, 0.65);
}

.table__featured:hover th,
.table__featured:hover td {
  background: rgba(232, 244, 250, 0.85);
}

.table__rank {
  display: inline-block;
  margin-right: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ocean);
  vertical-align: middle;
}

.table td {
  color: #3d5568;
}

/* Pros */
.pros-list {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .pros-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .pros-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .pros-item:nth-child(4),
  .pros-item:nth-child(5) {
    grid-column: span 1;
  }
}

.pros-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pros-item h3 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

.pros-item p {
  flex: 1;
  font-size: 0.95rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.55rem;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 1.15rem;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 600;
  padding: 1rem 0;
  letter-spacing: -0.02em;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--ocean);
  font-weight: 700;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0;
  padding-bottom: 1rem;
  font-size: 0.95rem;
}

/* Final CTA */
.cta {
  padding-top: 2rem;
}

.cta__box {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(500px 180px at 50% 0%, rgba(11, 126, 168, 0.14), transparent 70%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cta__box p {
  margin-bottom: 1.35rem;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  background: var(--bg-soft);
}

.footer__inner {
  display: grid;
  gap: 0.75rem;
}

.footer__disclosure {
  font-size: 0.88rem;
  max-width: 62ch;
}

.footer__copy {
  font-size: 0.85rem;
  margin: 0;
  color: var(--muted);
}

/* Motion */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
