/* ==========================================================================
   Wilto Consulting — Shared Stylesheet
   Brand colors sampled from official logo files (Wiltō Consulting wordmark)
   ========================================================================== */

:root {
  --navy: #0a3766;
  --navy-dark: #082c52;
  --slate-blue: #5880ac;
  --light-blue-bg: #f2f6fa;
  --pale-blue: #e4edf6;
  --gold: #ffb607;
  --text: #1f2937;
  --text-muted: #5a6472;
  --white: #ffffff;
  --border: #dbe4ee;
  --shadow: 0 10px 30px rgba(10, 55, 102, 0.08);
  --radius: 10px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
}

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

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--slate-blue); }

h1, h2, h3, h4 {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 16px; color: var(--text); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  background: var(--navy);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section { padding: 72px 0; }
.section--alt { background: var(--light-blue-bg); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: #cfe0f0; }

.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--text-muted); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}
.btn--primary { background: var(--gold); color: var(--navy-dark); }
.btn--primary:hover { background: #ffc63a; color: var(--navy-dark); }
.btn--outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--slate-blue); color: var(--white); }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 49px; width: 111px; object-fit: contain; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--navy);
  cursor: pointer;
}

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; flex-wrap: wrap; align-items: center; }
.main-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
}
.main-nav a.is-active, .main-nav a:hover { color: var(--navy); }
.main-nav a.is-active { border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.nav-cta { white-space: nowrap; }

/* CTA button text must always stay white-on-navy — these selectors are
   intentionally more specific than ".main-nav a" / ".main-nav a:hover" so the
   button text never gets repainted to the dark body-text color. */
.main-nav .nav-cta .btn--navy,
.main-nav .nav-cta .btn--navy:hover,
.main-nav .nav-cta .btn--navy:focus {
  color: var(--white);
}

/* ===== Nav dropdown (Company Registration) ===== */
.main-nav li.has-dropdown { position: relative; }
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
}
.dropdown-toggle:hover,
.dropdown-toggle[aria-expanded="true"],
.dropdown-toggle.is-active {
  color: var(--navy);
}
.dropdown-toggle.is-active { border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.dropdown-toggle .caret {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -5px;
  transition: transform 0.18s ease;
  flex-shrink: 0;
}
.dropdown-toggle[aria-expanded="true"] .caret { transform: rotate(-135deg); margin-top: 3px; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  list-style: none;
  margin: 0;
  padding: 10px;
  min-width: 240px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 150;
}
.dropdown-menu.is-open { display: flex; }
.dropdown-menu li { width: 100%; }
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.dropdown-menu a:hover,
.dropdown-menu a.is-active {
  background: var(--pale-blue);
  color: var(--navy);
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav > ul { flex-direction: column; gap: 14px; width: 100%; align-items: flex-start; }
  .main-nav li { width: 100%; }
  .nav-cta { width: 100%; }
  .nav-cta .btn { display: block; text-align: center; }

  .dropdown-toggle { width: 100%; justify-content: space-between; padding: 2px 0; }
  .dropdown-menu {
    position: static;
    transform: none;
    display: none;
    box-shadow: none;
    border: none;
    background: var(--light-blue-bg);
    margin-top: 8px;
    padding: 8px;
    min-width: 0;
  }
  .dropdown-menu.is-open { display: flex; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  color: var(--white);
  background: linear-gradient(135deg, rgba(8,44,82,0.92), rgba(10,55,102,0.82));
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(7,32,60,0.88), rgba(10,55,102,0.65));
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 110px 24px 90px;
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero--page .hero-inner { padding: 70px 24px 64px; min-height: 54vh; }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero p.lead { font-size: 1.15rem; color: #dce8f5; max-width: 640px; }
.hero .eyebrow { background: rgba(255,255,255,0.12); color: var(--gold); }
.breadcrumb { font-size: 0.85rem; color: #b9cde3; margin-bottom: 14px; }
.breadcrumb a { color: #b9cde3; }
.breadcrumb a:hover { color: var(--white); }

/* ===== Stat strip ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num { font-size: 2.4rem; font-weight: 800; color: var(--gold); }
.stat-label { font-size: 0.95rem; color: var(--text-muted); }
.section--navy .stat-label { color: #cfe0f0; }

/* ===== Cards / grids ===== */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 10px; }
.card ul { margin: 0; padding-left: 20px; color: var(--text-muted); }
.card ul li { margin-bottom: 6px; }

.service-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card .icon-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--pale-blue); color: var(--navy); font-weight: 700; margin-bottom: 14px;
}
.card > .icon-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--pale-blue); color: var(--navy); font-weight: 700; font-size: 1.05rem;
  margin-bottom: 14px;
}
.service-card p { color: var(--text-muted); margin-bottom: 0; font-size: 0.95rem; }
.service-card .learn-more { display: inline-block; margin-top: 12px; font-size: 0.85rem; font-weight: 700; color: var(--navy); }

/* ===== Two column layout with image ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split-media img,
.split img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split.reverse .split-media { order: 2; }
@media (max-width: 860px) { .split.reverse .split-media { order: -1; } }

/* ===== Comparison table ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
table.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 560px;
}
table.compare th, table.compare td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  font-size: 0.95rem;
}
table.compare thead th {
  background: var(--navy);
  color: var(--white);
  font-size: 0.95rem;
}
table.compare tbody tr:nth-child(even) { background: var(--light-blue-bg); }
table.compare td ul { margin: 0; padding-left: 18px; }
table.compare .row-label { font-weight: 700; background: var(--pale-blue); color: var(--navy); }

/* ===== Process timeline ===== */
.process { display: grid; gap: 18px; position: relative; }
.process::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 53px;
  width: 2px;
  background: var(--border);
}
.process-step {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 18px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  position: relative;
}
.process-step .step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), #0a3d70);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.15rem;
  box-shadow: 0 0 0 4px var(--pale-blue);
  z-index: 1;
}
.process-step h4 { margin: 0 0 4px; color: var(--navy); font-size: 1.05rem; }
.process-step p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }
.process-step .step-days {
  font-weight: 700; color: var(--gold); background: var(--navy);
  padding: 6px 14px; border-radius: 999px; font-size: 0.8rem; white-space: nowrap;
}
.process-step .step-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--pale-blue); color: var(--navy);
  font-size: 1.1rem; font-weight: 700;
}
.process-step .step-arrow.is-final { background: var(--navy); color: var(--gold); }
@media (max-width: 620px) {
  .process-step { grid-template-columns: 48px 1fr; }
  .process-step .step-days { grid-column: 2; justify-self: start; }
  .process::before { left: 45px; }
}
.process-total {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--pale-blue); color: var(--navy);
  padding: 10px 20px; border-radius: 999px; font-weight: 700; margin-top: 18px;
}

/* ===== Category cards (visa) ===== */
.category-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.category-card .cat-head {
  background: var(--navy); color: var(--white);
  font-weight: 700; text-align: center; padding: 14px;
}
.category-card .cat-body { padding: 20px; background: var(--white); }
.category-card .cat-body p:last-child { margin-bottom: 0; }

/* ===== Callout / note ===== */
.callout {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.callout .bulb { font-size: 1.4rem; flex-shrink: 0; }
.callout p { color: #e4edf6; margin: 0; }
.callout.callout--light { background: var(--pale-blue); color: var(--navy); }
.callout.callout--light p { color: var(--navy); }

/* ===== Accordion (FAQ) ===== */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item summary {
  cursor: pointer; padding: 18px 4px; font-weight: 700; color: var(--navy);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after { content: "+"; font-size: 1.4rem; color: var(--gold); }
.accordion-item[open] summary::after { content: "\2212"; }
.accordion-item .accordion-body { padding: 0 4px 20px; color: var(--text-muted); }
.accordion-item .accordion-body ul { padding-left: 20px; }

/* ===== Testimonials ===== */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-card blockquote {
  margin: 0;
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
}
.testimonial-card blockquote::before {
  content: "\201C";
  position: absolute;
  left: -2px;
  top: -6px;
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 700;
  color: var(--gold);
}
.testimonial-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.85rem;
}
.testimonial-card figcaption strong { color: var(--navy); font-size: 0.92rem; }
.testimonial-card figcaption span { color: var(--text-muted); }

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--navy-dark));
  color: var(--white);
  border-radius: var(--radius);
  padding: 44px;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #cfe0f0; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-dark); color: #cfe0f0; padding: 64px 0 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid img { height: 49px; width: 112px; object-fit: contain; margin-bottom: 16px; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #cfe0f0; font-size: 0.92rem; }
.site-footer a:hover { color: var(--gold); }
.site-footer address { font-style: normal; font-size: 0.92rem; }
.footer-qr { display: flex; gap: 14px; margin-top: 14px; }
.footer-qr img { height: 101px; width: 101px; object-fit: contain; border-radius: 8px; margin: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  font-size: 0.85rem;
  color: #ffffff;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { color: #ffffff; }

/* ===== Misc ===== */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--navy-dark); padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 10px; top: 10px; }

.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li { padding-left: 26px; position: relative; margin-bottom: 10px; color: var(--text-muted); }
.list-check li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: var(--navy); font-weight: 800;
}

.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.tag { background: var(--pale-blue); color: var(--navy); font-size: 0.78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
