:root {
  --ef-indigo: #4338ca;
  --ef-indigo-dark: #312e81;
  --ef-indigo-deep: #1e1b4b;
  --ef-navy: #0f172a;
  --ef-green: #0f766e;
  --ef-green-soft: #ecfdf5;
  --ef-orange: #ea580c;
  --ef-orange-dark: #c2410c;
  --ef-bg: #f4f6fb;
  --ef-surface: #ffffff;
  --ef-muted: #64748b;
  --ef-white: #ffffff;
  --ef-radius: 18px;
  --ef-radius-sm: 12px;
  --ef-shadow: 0 14px 40px rgba(30, 27, 75, 0.08);
  --ef-shadow-hover: 0 18px 44px rgba(30, 27, 75, 0.14);
  --ef-font: "DM Sans", "Segoe UI", sans-serif;
  --ef-display: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.ef-body {
  margin: 0;
  font-family: var(--ef-font);
  color: var(--ef-navy);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(99, 102, 241, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 0% 20%, rgba(67, 56, 202, 0.05), transparent),
    var(--ef-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.ef-muted { color: var(--ef-muted); }

.ef-container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

/* ——— Nav ——— */
.ef-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(67, 56, 202, 0.1);
}
.ef-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.ef-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ef-indigo-dark);
}
.ef-brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--ef-indigo), #6366f1);
  color: #fff;
  font-size: 0.85rem;
  box-shadow: 0 6px 16px rgba(67, 56, 202, 0.28);
}
.ef-nav__links {
  display: none;
  gap: 18px;
  font-weight: 600;
  color: var(--ef-muted);
}
.ef-nav__links a:hover { color: var(--ef-indigo); }
.ef-nav__actions { display: flex; align-items: center; gap: 10px; }
.ef-nav__toggle {
  border: 0;
  background: #eef2ff;
  color: var(--ef-indigo);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 1.1rem;
  cursor: pointer;
}
.ef-nav__mobile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 16px 16px;
}
.ef-nav__mobile[hidden] { display: none !important; }

/* ——— Buttons ——— */
.ef-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 700;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.ef-btn--primary {
  background: linear-gradient(180deg, #f97316 0%, var(--ef-orange) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.28);
}
.ef-btn--primary:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}
.ef-btn--secondary {
  background: #eef2ff;
  color: var(--ef-indigo-dark);
  border-color: rgba(199, 210, 254, 0.9);
}
.ef-btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  font-weight: 700;
}
.ef-btn--ghost:hover { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.55); }
.ef-btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

/* ——— Hero badge (high contrast) ——— */
.ef-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.ef-badge--hero {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14);
  padding: 11px 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.ef-badge__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #c7d2fe;
}

/* ——— Hero ——— */
.ef-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(99, 102, 241, 0.35), transparent 55%),
    linear-gradient(155deg, #1e1b4b 0%, #312e81 42%, #4338ca 100%);
  color: #fff;
  padding: 52px 0 64px;
}
.ef-hero__glow {
  position: absolute;
  inset: auto -20% -40% auto;
  width: 60%;
  height: 70%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18), transparent 65%);
  pointer-events: none;
}
.ef-hero__grid {
  position: relative;
  display: grid;
  gap: 32px;
}
.ef-hero h1 {
  font-family: var(--ef-display);
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  line-height: 1.12;
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.ef-hero__sub {
  color: rgba(243, 244, 255, 0.9);
  margin: 0 0 22px;
  max-width: 36rem;
  font-size: 1.05rem;
}
.ef-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.ef-hero__secondary a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e0e7ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 6px 2px;
  border-bottom: 1px solid rgba(199, 210, 254, 0.45);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.ef-hero__secondary a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}
.ef-hero__note {
  margin-top: 18px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34rem;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(167, 243, 208, 0.28);
}
.ef-hero__panel { display: none; }

.ef-hero__card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  padding: 22px 22px 18px;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.25);
}
.ef-hero__card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.ef-hero__card-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #c7d2fe;
}
.ef-hero__card-icon svg { width: 18px; height: 18px; }
.ef-hero__card-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.82;
}
.ef-hero__card-ref {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.ef-hero__card-meta {
  margin: 0 0 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #c7d2fe;
}
.ef-timeline {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.ef-timeline li {
  position: relative;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  padding-top: 14px;
}
.ef-timeline li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.ef-timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4px;
  left: calc(50% + 8px);
  width: calc(100% - 8px);
  height: 2px;
  background: rgba(255, 255, 255, 0.18);
}
.ef-timeline li.is-done { color: #c7d2fe; }
.ef-timeline li.is-done::before {
  background: #818cf8;
  border-color: #c7d2fe;
}
.ef-timeline li.is-done:not(:last-child)::after { background: rgba(129, 140, 248, 0.55); }
.ef-timeline li.is-current { color: #fff; }
.ef-timeline li.is-current::before {
  background: #f97316;
  border-color: #fdba74;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.25);
}
.ef-hero__card-foot {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* ——— Sections ——— */
.ef-section { padding: 60px 0; }
.ef-section--alt {
  background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
}
.ef-section h2 {
  margin: 0 0 8px;
  font-family: var(--ef-display);
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  color: var(--ef-indigo-dark);
  letter-spacing: -0.015em;
}
.ef-lead { color: var(--ef-muted); margin: 0 0 28px; }

.ef-steps {
  display: grid;
  gap: 14px;
}
.ef-step {
  background: #fff;
  border-radius: var(--ef-radius);
  padding: 22px;
  box-shadow: var(--ef-shadow);
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.ef-step__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ef-step__num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ef-indigo), #6366f1);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 6px 14px rgba(67, 56, 202, 0.28);
}
.ef-step__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #eef2ff;
  color: var(--ef-indigo);
}
.ef-step__icon svg { width: 20px; height: 20px; }
.ef-step h3 { margin: 0 0 8px; font-size: 1.08rem; color: var(--ef-indigo-dark); }
.ef-step p { margin: 0; color: var(--ef-muted); flex: 1; }

.ef-callout {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--ef-green-soft);
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.ef-callout__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #d1fae5;
  color: #047857;
  flex-shrink: 0;
}
.ef-callout__icon svg { width: 18px; height: 18px; }
.ef-callout p { margin: 0; line-height: 1.45; }

/* ——— Service cards ——— */
.ef-cards {
  display: grid;
  gap: 14px;
}
.ef-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--ef-radius);
  padding: 22px 20px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
  overflow: hidden;
  min-height: 100%;
}
.ef-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  opacity: 0.85;
}
.ef-card--search { background: linear-gradient(180deg, #eef2ff 0%, #fff 48%); }
.ef-card--search::after { background: var(--ef-indigo); }
.ef-card--lost { background: linear-gradient(180deg, #fff7ed 0%, #fff 48%); }
.ef-card--lost::after { background: var(--ef-orange); }
.ef-card--found { background: linear-gradient(180deg, #ecfdf5 0%, #fff 48%); }
.ef-card--found::after { background: var(--ef-green); }
.ef-card--track { background: linear-gradient(180deg, #f5f3ff 0%, #fff 48%); }
.ef-card--track::after { background: #7c3aed; }
.ef-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ef-shadow-hover);
  border-color: #c7d2fe;
}
.ef-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 14px;
  background: rgba(67, 56, 202, 0.1);
  color: var(--ef-indigo);
}
.ef-card--lost .ef-card__icon { background: rgba(234, 88, 12, 0.12); color: var(--ef-orange-dark); }
.ef-card--found .ef-card__icon { background: rgba(15, 118, 110, 0.12); color: var(--ef-green); }
.ef-card--track .ef-card__icon { background: rgba(124, 58, 237, 0.12); color: #6d28d9; }
.ef-card__icon svg { width: 22px; height: 22px; }
.ef-card h3 {
  margin: 0 0 8px;
  color: var(--ef-indigo-dark);
  font-size: 1.05rem;
  line-height: 1.3;
}
.ef-card p { margin: 0 0 14px; color: var(--ef-muted); font-size: 0.95rem; }
.ef-card__action {
  display: inline-flex;
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ef-indigo);
}

/* ——— Documents ——— */
.ef-section__intro {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 8px;
}
.ef-section__intro .ef-lead { margin-bottom: 0; }
.ef-section__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef2ff;
  color: var(--ef-indigo);
  flex-shrink: 0;
  margin-top: 2px;
}
.ef-section__icon svg { width: 22px; height: 22px; }

.ef-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.ef-badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  color: var(--ef-indigo-dark);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid #dbe3f5;
  box-shadow: 0 2px 8px rgba(30, 27, 75, 0.04);
}

/* ——— Benefits ——— */
.ef-benefits {
  display: grid;
  gap: 14px;
}
.ef-benefit {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--ef-radius);
  padding: 20px;
  box-shadow: var(--ef-shadow);
}
.ef-benefit__icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}
.ef-benefit__icon--free { background: #ecfdf5; color: #047857; }
.ef-benefit__icon--pay { background: #fff7ed; color: var(--ef-orange-dark); }
.ef-benefit__icon--ref { background: #eef2ff; color: var(--ef-indigo); }
.ef-benefit__icon--privacy { background: #ecfeff; color: #0e7490; }
.ef-benefit__icon--help { background: #f5f3ff; color: #6d28d9; }
.ef-benefit h3 { margin: 0 0 6px; font-size: 1.02rem; color: var(--ef-indigo-dark); }
.ef-benefit p { margin: 0; color: var(--ef-muted); font-size: 0.94rem; }

/* ——— Channels ——— */
.ef-section--channels {
  background:
    radial-gradient(ellipse 70% 60% at 10% 0%, rgba(67, 56, 202, 0.06), transparent 55%),
    linear-gradient(180deg, #eef2ff 0%, #f8fafc 100%);
}
.ef-channels {
  display: grid;
  gap: 12px;
}
.ef-channel {
  background: #fff;
  border-radius: var(--ef-radius);
  padding: 22px 20px;
  box-shadow: var(--ef-shadow);
  border: 1px solid rgba(199, 210, 254, 0.55);
  display: grid;
  gap: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ef-channel:hover {
  transform: translateY(-2px);
  box-shadow: var(--ef-shadow-hover);
}
.ef-channel__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
  color: var(--ef-indigo);
  margin-bottom: 4px;
}
.ef-channel__icon svg { width: 22px; height: 22px; }
.ef-channel strong { display: block; color: var(--ef-indigo-dark); font-size: 1.05rem; }
.ef-channel span { color: var(--ef-muted); }

/* ——— FAQ ——— */
.ef-faq {
  background: #fff;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ef-faq:hover {
  border-color: #c7d2fe;
  box-shadow: 0 8px 22px rgba(67, 56, 202, 0.06);
}
.ef-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ef-indigo-dark);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 0;
}
.ef-faq summary::-webkit-details-marker { display: none; }
.ef-faq summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ef-indigo);
  border-bottom: 2px solid var(--ef-indigo);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.15s ease;
  margin-top: -4px;
}
.ef-faq[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}
.ef-faq p {
  color: #475569;
  margin: 12px 0 2px;
  line-height: 1.6;
  font-size: 0.96rem;
}

/* ——— Forms / panels ——— */
.ef-panel { padding: 32px 0 64px; min-height: 60vh; }
.ef-panel__inner { max-width: 560px; }
.ef-panel h2 {
  font-family: var(--ef-display);
  color: var(--ef-indigo-dark);
}
.ef-back {
  border: 0;
  background: transparent;
  color: var(--ef-indigo);
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  margin-bottom: 12px;
  padding: 0;
}

.ef-form { display: grid; gap: 12px; }
.ef-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
}
.ef-form input,
.ef-form select {
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}
.ef-form input:focus,
.ef-form select:focus {
  outline: 2px solid rgba(67, 56, 202, 0.25);
  border-color: var(--ef-indigo);
}

.ef-result {
  margin-top: 20px;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: var(--ef-shadow);
}
.ef-result--ok { border-color: #a7f3d0; background: #ecfdf5; }
.ef-result--warn { border-color: #fde68a; background: #fffbeb; }
.ef-result--error { border-color: #fecaca; background: #fef2f2; color: #991b1b; }
.ef-result h3 { margin: 0 0 8px; }
.ef-result p { margin: 0 0 8px; }
.ef-result .ef-ref { font-weight: 800; letter-spacing: 0.03em; }

.ef-request-list { display: grid; gap: 10px; margin-top: 12px; }
.ef-request-item {
  padding: 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.ef-request-item strong { display: block; }

/* ——— Footer ——— */
.ef-footer {
  background: var(--ef-indigo-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 40px 0;
}
.ef-footer__grid {
  display: grid;
  gap: 20px;
}
.ef-footer strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: #fff;
}
.ef-footer p { margin: 0 0 8px; }
.ef-footer a { color: #c7d2fe; text-decoration: underline; text-underline-offset: 2px; }

.ef-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: var(--ef-navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  z-index: 100;
  max-width: calc(100% - 32px);
}

@media (min-width: 768px) {
  .ef-nav__links { display: flex; }
  .ef-nav__toggle { display: none; }
  .ef-nav__mobile { display: none !important; }
  .ef-hero__grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
  .ef-hero__panel { display: block; }
  .ef-steps { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .ef-cards { grid-template-columns: repeat(2, 1fr); }
  .ef-benefits { grid-template-columns: repeat(2, 1fr); }
  .ef-channels { grid-template-columns: repeat(3, 1fr); }
  .ef-footer__grid { grid-template-columns: 1.2fr 1fr; }
}

@media (min-width: 1024px) {
  .ef-cards { grid-template-columns: repeat(4, 1fr); }
  .ef-benefits { grid-template-columns: repeat(3, 1fr); }
}
