/* ===== Base & tokens ===== */

:root {
  --ink: #0f172a;
  --ink-2: #1e293b;
  --paper: #f8fafc;
  --paper-2: #e8ecf1;
  --card: #ffffff;
  --gold: #0369a1;
  --gold-dark: #075985;
  --text: #020617;
  --text-muted: #475569;
  --border: #e2e8f0;
  --success: #15803d;

  --font-display: "Outfit", system-ui, -apple-system, sans-serif;
  --font-body: "Work Sans", system-ui, -apple-system, sans-serif;

  --container: 1120px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-card: 0 1px 2px rgba(2, 6, 23, 0.05);
  --shadow-elevated: 0 12px 28px -14px rgba(2, 6, 23, 0.3);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 200;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 2px;
}

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(.34,1.56,.64,1), background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.96); }

.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: var(--ink-2); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--paper-2); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-lg { padding: 0.9rem 1.9rem; font-size: 1rem; }
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.875rem; }

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 242, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
}
.logo-mark { color: var(--gold-dark); flex-shrink: 0; }
.logo-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}
.nav a { white-space: nowrap; transition: color 0.15s ease; }
.nav a:hover { color: var(--ink); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
}

/* ===== Hero ===== */

.hero {
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.75rem;
}

.hero-stats {
  display: flex;
  gap: 2.25rem;
  flex-wrap: wrap;
}
.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.permit-card {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1.55;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  color: #fff;
  box-shadow: var(--shadow-elevated);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.permit-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.permit-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.permit-seal { color: var(--gold); flex-shrink: 0; }
.permit-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  text-align: right;
}
.permit-lines {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.permit-lines span {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}
.permit-lines span:nth-child(1) { width: 85%; }
.permit-lines span:nth-child(2) { width: 60%; }
.permit-lines span:nth-child(3) { width: 72%; }
.permit-card-bottom {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== Trust bar ===== */

.trust-bar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.92);
}
.trust-bar-inner {
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: 0.92rem;
}
.trust-bar strong { color: var(--gold); }

/* ===== Sections ===== */

.section { padding: 5.5rem 0; }
.section-alt { background: var(--paper-2); }

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}
.section-head h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  margin-bottom: 0.85rem;
}
.section-lead {
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* ===== Steps ===== */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
}
.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}
.step-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step-card p { color: var(--text-muted); font-size: 0.94rem; }

/* ===== Countries ===== */

.countries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.country-region {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.country-region h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.country-region p { color: var(--text-muted); font-size: 0.92rem; }
.country-region-more {
  background: var(--ink);
  border-color: var(--ink);
}
.country-region-more h3 { color: #fff; }
.country-region-more p { color: rgba(255, 255, 255, 0.72); }

/* ===== Pricing ===== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.price-value {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.price-desc { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1.25rem; }
.price-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  flex: 1;
}
.price-features li {
  font-size: 0.9rem;
  padding-left: 1.4rem;
  position: relative;
  color: var(--text);
}
.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-dark);
}
.price-card .btn { align-self: flex-start; }

.price-card-featured {
  border-color: var(--ink);
  box-shadow: var(--shadow-elevated);
  transform: translateY(-8px);
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 1.75rem;
  background: var(--gold-dark);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}
.price-note {
  margin-top: 2rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
}
.price-payment {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}

/* ===== Documents ===== */

.documents-inner { max-width: 760px; }

.doc-checklist {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.doc-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
}
.doc-checklist svg { color: var(--gold-dark); flex-shrink: 0; margin-top: 0.15rem; }
.doc-checklist strong { display: block; font-size: 0.98rem; margin-bottom: 0.15rem; }
.doc-checklist span { color: var(--text-muted); font-size: 0.88rem; }

/* ===== Reviews ===== */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.review-card blockquote {
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 1.1rem;
}
.review-card figcaption { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.review-card figcaption span { font-weight: 400; color: var(--text-muted); }
.reviews-note {
  margin-top: 2rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===== Blog ===== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.18s cubic-bezier(.34,1.56,.64,1), box-shadow 0.18s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }
.blog-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.blog-card h3 { font-size: 1.05rem; line-height: 1.3; }
.blog-card p { color: var(--text-muted); font-size: 0.9rem; flex: 1; }
.blog-link { font-size: 0.88rem; font-weight: 600; color: var(--ink); }

/* ===== FAQ ===== */

.faq-inner { max-width: 760px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.3rem 1.5rem;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.75rem 1.1rem 0;
  font-weight: 600;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--gold-dark);
  font-weight: 400;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  color: var(--text-muted);
  font-size: 0.94rem;
  padding-bottom: 1.25rem;
  max-width: 62ch;
}

/* ===== Order form ===== */

.section-order { background: var(--ink); }
.section-order .eyebrow { color: var(--gold); }
.section-order h2, .section-order .section-lead { color: #fff; }
.section-order .section-lead { color: rgba(255, 255, 255, 0.68); }

.order-inner { max-width: 720px; }

.order-form {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}
.form-row { display: flex; flex-direction: column; gap: 0.45rem; }
.form-row-full { grid-column: 1 / -1; }
.form-row label { font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--text);
  resize: vertical;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold-dark);
  background: #fff;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.form-status {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--success);
}

/* ===== Footer ===== */

.site-footer {
  background: var(--ink-2);
  color: rgba(255, 255, 255, 0.82);
  padding-top: 4rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand .logo-word { color: #fff; font-size: 1.25rem; }
.footer-brand p { margin-top: 0.9rem; font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); max-width: 34ch; }
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}
.footer-col { display: flex; flex-direction: column; gap: 0.65rem; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; }
.footer-hours { color: rgba(255, 255, 255, 0.55); font-size: 0.85rem; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-block: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ===== Reveal animation ===== */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.22,1,.36,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== Article pages ===== */

.article-hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.back-link:hover { color: var(--ink); }
.article-hero h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  max-width: 30ch;
}
.article-meta {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.article-body {
  max-width: 680px;
  margin-inline: auto;
  padding: 3rem 1.5rem 5rem;
}
.article-body h2 {
  font-size: 1.4rem;
  margin: 2.25rem 0 0.9rem;
}
.article-body p {
  color: var(--text);
  font-size: 1.02rem;
  margin-bottom: 1.1rem;
}
.article-body ul {
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.article-body ul li {
  padding-left: 1.4rem;
  position: relative;
}
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-dark);
}
.article-callout {
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  font-size: 0.94rem;
  color: var(--text-muted);
  margin: 1.75rem 0;
}
.article-cta {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== Responsive ===== */

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 320px; margin-inline: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .countries-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card-featured { transform: none; }
  .reviews-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-inner.nav-open .nav {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 1.5rem 1rem;
  }
  .header-inner.nav-open .nav a { padding: 0.75rem 0; width: 100%; border-bottom: 1px solid var(--border); }
  .steps { grid-template-columns: 1fr; }
  .countries-grid { grid-template-columns: 1fr; }
  .order-form { grid-template-columns: 1fr; padding: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; }
}
