/* ==========================================================================
   BRAND THEME — change these values to rebrand the entire site.
   Everything below pulls from these variables.
   ========================================================================== */
:root {
  /* --- Colors: taken from the TS Corporation logo --- */
  --brand:          #1b3668;   /* logo navy — buttons, links, accents */
  --brand-dark:     #12264b;   /* darker navy for hover states */
  --brand-light:    #eef2f9;   /* pale navy tint for section backgrounds */
  --accent:         #9da0a8;   /* logo grey */
  --accent-warm:    #c8952f;   /* gold, used sparingly for highlights */

  --ink:            #101828;   /* main heading / body text */
  --ink-soft:       #4a5568;   /* secondary text */
  --ink-faint:      #98a2b3;   /* captions, muted text */
  --line:           #e4e7ec;   /* borders and dividers */
  --bg:             #ffffff;
  --bg-alt:         #f7f8fa;

  /* --- Type --- */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* --- Layout --- */
  --wrap: 1140px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .04), 0 20px 48px rgba(15, 23, 42, .12);
  --header-h: 74px;
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--brand); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.15rem, 4.6vw, 3.3rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; list-style: none; }

/* Accessible focus ring */
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand); color: #fff; padding: 12px 20px; z-index: 999;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ==========================================================================
   LAYOUT HELPERS
   ========================================================================== */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.section { padding: 92px 0; }
.section--alt { background: var(--bg-alt); }
.section--tint { background: var(--brand-light); }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head p { font-size: 1.075rem; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}

.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); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px;
  font-family: var(--font-head);
  font-size: .975rem; font-weight: 600;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 4px 14px rgba(27, 54, 104,.28); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; box-shadow: 0 8px 22px rgba(27, 54, 104,.34); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-light); }

.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: #fff; color: var(--brand-dark); box-shadow: var(--shadow-lg); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { color: #fff; background: rgba(255,255,255,.12); border-color: #fff; }

.btn--lg { padding: 17px 36px; font-size: 1.03rem; }
.btn--block { width: 100%; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 2px 12px rgba(15,23,42,.05); }

.nav {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.16rem; color: var(--ink); letter-spacing: -.02em; }
.logo:hover { color: var(--ink); }
.logo img, .logo svg { height: 34px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: .96rem; font-weight: 500;
  transition: color .18s ease, background .18s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-alt); }
.nav-links a.is-active { color: var(--brand); font-weight: 600; }

/* The CTA inside the nav list is for the mobile menu only — hidden on desktop,
   where the standalone .nav-cta button is shown instead. */
.nav-links .btn { display: none; }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius-sm);
  cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; position: relative;
  width: 19px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: background .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0;
  width: 19px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, top .25s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: 104px 0 96px;
  background:
    radial-gradient(900px 420px at 78% -8%, var(--brand-light), transparent 62%),
    radial-gradient(700px 380px at 6% 108%, #f6f7f9, transparent 60%);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
}
.hero h1 { margin-bottom: .5em; }
.hero-lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 22px; font-size: .9rem; color: var(--ink-faint); }

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 3.2;
  border-radius: 20px;
  background: linear-gradient(140deg, var(--brand), var(--brand-dark));
  box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
  color: rgba(255,255,255,.72);
  font-size: .9rem; text-align: center; padding: 24px;
  overflow: hidden;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }

/* Floating stat card over the hero image */
.hero-badge {
  position: absolute; right: -18px; bottom: 30px;
  background: #fff; border-radius: var(--radius);
  padding: 16px 22px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 13px;
}
.hero-badge strong { display: block; font-size: 1.45rem; color: var(--ink); line-height: 1.1; font-family: var(--font-head); }
.hero-badge span { font-size: .82rem; color: var(--ink-faint); }
.hero-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; flex: none; box-shadow: 0 0 0 4px rgba(34,197,94,.16); }

/* ==========================================================================
   LOGO STRIP / SOCIAL PROOF
   ========================================================================== */
.logos { padding: 42px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.logos p { text-align: center; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 22px; font-weight: 600; }
.logos ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 52px; }
.logos li { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: #cbd5e1; letter-spacing: -.01em; }

/* ==========================================================================
   CARDS
   ========================================================================== */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { margin-bottom: .5em; }
.card p { font-size: .96rem; }

.card-icon {
  width: 50px; height: 50px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--brand-light); color: var(--brand);
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; }

/* Service list rows */
.service-row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 26px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 0; }
.service-row h3 { margin-bottom: .3em; }
.service-row p { font-size: .96rem; margin: 0; }
.service-num { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--line); }

/* Feature checklist */
.checklist li {
  position: relative; padding-left: 32px; margin-bottom: 14px; font-size: 1rem;
}
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--brand-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3668' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ==========================================================================
   SPLIT SECTION (image + text)
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--flip .split-media { order: 2; }
.split-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #e2e8f0, #f1f5f9);
  box-shadow: var(--shadow);
  display: grid; place-items: center;
  color: var(--ink-faint); font-size: .88rem; text-align: center; padding: 20px;
  overflow: hidden;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--brand); line-height: 1.1; letter-spacing: -.03em; }
.stat span { font-size: .93rem; color: var(--ink-soft); }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column; gap: 22px;
}
.quote blockquote { margin: 0; font-size: 1.02rem; color: var(--ink); line-height: 1.6; }
.quote blockquote::before { content: '“'; font-size: 3rem; line-height: 0; color: var(--brand); vertical-align: -.35em; margin-right: 4px; font-family: Georgia, serif; }
.quote-by { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--brand-light); color: var(--brand);
  display: grid; place-items: center; font-weight: 700; font-size: .95rem;
  font-family: var(--font-head);
}
.quote-by strong { display: block; color: var(--ink); font-size: .95rem; }
.quote-by span { font-size: .85rem; color: var(--ink-faint); }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: rgba(255,255,255,.86);
  padding: 82px 0; text-align: center;
}
.cta-band h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-band p { max-width: 52ch; margin-inline: auto; font-size: 1.08rem; }
.cta-band .hero-actions { justify-content: center; }

/* ==========================================================================
   PAGE HEADER (inner pages)
   ========================================================================== */
.page-head {
  padding: 76px 0 62px; text-align: center;
  background: var(--bg-alt); border-bottom: 1px solid var(--line);
}
.page-head p { max-width: 58ch; margin-inline: auto; font-size: 1.075rem; }

/* Breadcrumb */
.crumb { font-size: .86rem; color: var(--ink-faint); margin-bottom: 16px; }
.crumb a { color: var(--ink-faint); }
.crumb a:hover { color: var(--brand); }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .89rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field .req { color: #dc2626; }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(27, 54, 104,.11);
}
.field input.has-error, .field textarea.has-error, .field select.has-error { border-color: #dc2626; }
.field .err { display: none; color: #dc2626; font-size: .84rem; margin-top: 6px; }
.field .err.show { display: block; }

.form-note { font-size: .85rem; color: var(--ink-faint); margin-top: 16px; }

.alert { padding: 15px 18px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: .95rem; }
.alert--ok  { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.alert--bad { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* Honeypot — hidden from humans, catches bots */
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }

/* Contact info list */
.contact-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-item .card-icon { margin-bottom: 0; width: 44px; height: 44px; flex: none; border-radius: 11px; }
.contact-item .card-icon svg { width: 20px; height: 20px; }
.contact-item h3 { font-size: 1rem; margin-bottom: .15em; }
.contact-item p, .contact-item a { font-size: .96rem; margin: 0; }

/* ==========================================================================
   FAQ (accordion)
   ========================================================================== */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; text-align: left;
  font-family: var(--font-head); font-size: 1.06rem; font-weight: 600; color: var(--ink);
}
.faq-q::after {
  content: ''; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--ink-faint); border-bottom: 2px solid var(--ink-faint);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .25s ease;
}
.faq-item.is-open .faq-q::after { transform: rotate(-135deg) translate(-4px, -4px); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding-bottom: 24px; font-size: .98rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--ink); color: #94a3b8; padding: 66px 0 0; font-size: .94rem; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #94a3b8; }
.site-footer a:hover { color: #fff; }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.site-footer .logo:hover { color: #fff; }

.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 52px; }
.footer-grid li { margin-bottom: 11px; }
.footer-about { max-width: 34ch; font-size: .93rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: .87rem;
}
.social { display: flex; gap: 10px; }
.social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  display: grid; place-items: center;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.social a:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
.social svg { width: 17px; height: 17px; }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-lede { max-width: none; }
  .hero-visual { aspect-ratio: 16 / 10; }
  .split, .split--flip .split-media { grid-template-columns: 1fr; order: 0; }
  .split { gap: 40px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px 20px 22px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-140%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-links a { padding: 13px 12px; font-size: 1.02rem; }
  .nav-links .btn { margin-top: 10px; }
  .nav-cta .btn { display: none; }
  .nav-links .btn { display: inline-flex; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 66px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .hero { padding: 66px 0 72px; }
  .hero-badge { right: 12px; bottom: 12px; padding: 12px 16px; }
  .service-row { grid-template-columns: 1fr; gap: 12px; }
  .service-num { font-size: 1.2rem; }
  .form-card { padding: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .btn { width: auto; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* ==========================================================================
   TS CORPORATION — additional components
   ========================================================================== */

/* --- Logo sizing --- */
.logo img { height: 40px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text b { font-size: 1.12rem; font-weight: 800; letter-spacing: -.015em; color: var(--ink); }
.logo-text i {
  font-style: normal; font-size: .59rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--ink-faint); margin-top: 2px;
}
.site-footer .logo-text b { color: #fff; }
.site-footer .logo-text i { color: #8b93a3; }

/* --- Division cards (home + services hub) --- */
.division {
  position: relative; display: block;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 28px; overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.division::before {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: var(--brand); transform: scaleY(0); transform-origin: top;
  transition: transform .28s ease;
}
.division:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.division:hover::before { transform: scaleY(1); }
.division h3 { color: var(--ink); margin-bottom: .45em; font-size: 1.14rem; }
.division p { font-size: .95rem; color: var(--ink-soft); margin-bottom: 1em; }
.division .more { font-size: .89rem; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.division .more::after { content: '→'; transition: transform .2s ease; }
.division:hover .more::after { transform: translateX(4px); }
.division .card-icon { margin-bottom: 18px; }

/* --- Article prose (long-form pages) --- */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 2em; font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.7em; font-size: 1.14rem; }
.prose p, .prose li { font-size: 1.035rem; }
.prose ul:not(.checklist):not(.chips) { margin: 0 0 1.2em; padding-left: 0; }
.prose ul:not(.checklist):not(.chips) li {
  position: relative; padding-left: 24px; margin-bottom: 10px;
}
.prose ul:not(.checklist):not(.chips) li::before {
  content: ''; position: absolute; left: 4px; top: 12px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.prose ol { padding-left: 22px; margin: 0 0 1.2em; list-style: decimal; }
.prose ol li { margin-bottom: 10px; padding-left: 4px; }
.prose ol li::marker { color: var(--brand); font-weight: 700; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose > :last-child { margin-bottom: 0; }

/* --- Callout box --- */
.callout {
  border-left: 3px solid var(--brand);
  background: var(--brand-light);
  padding: 22px 26px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.8em 0;
}
.callout p { font-size: .99rem; margin-bottom: .7em; }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--brand-dark); }

/* --- Sidebar (article pages) --- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.side-card h3 { font-size: 1.02rem; margin-bottom: .7em; }
.side-card p { font-size: .93rem; }
.side-card--dark { background: var(--brand); border-color: var(--brand); color: rgba(255,255,255,.85); }
.side-card--dark h3 { color: #fff; }
.side-card--dark a:not(.btn) { color: #fff; text-decoration: underline; }
.side-card ul li { font-size: .93rem; margin-bottom: 9px; }
.side-card ul li a { color: var(--ink-soft); }
.side-card ul li a:hover { color: var(--brand); }

/* --- Chips (destinations, commodities, routes) --- */
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 1.4em; padding: 0; }
.chips li {
  padding: 7px 15px; border-radius: 999px;
  background: var(--bg-alt); border: 1px solid var(--line);
  font-size: .88rem; font-weight: 500; color: var(--ink-soft);
}
.chips li::before { display: none !important; }
.chips--brand li { background: var(--brand-light); border-color: transparent; color: var(--brand-dark); }

/* --- Spec table --- */
.spec-table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .96rem; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { background: var(--bg-alt); font-weight: 600; color: var(--ink); font-size: .84rem; letter-spacing: .04em; text-transform: uppercase; }
.spec-table tbody tr:hover { background: var(--bg-alt); }
.spec-table td:first-child { font-weight: 600; color: var(--ink); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --- Timeline (about page) --- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -34px; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand);
}
.timeline-item time { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.timeline-item h3 { font-size: 1.08rem; margin-bottom: .35em; }
.timeline-item p { font-size: .96rem; margin: 0; }

/* --- Steps (numbered process, vertical) --- */
.steps { counter-reset: step; display: grid; gap: 26px; }
.step { position: relative; padding-left: 62px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -2px;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-light); color: var(--brand);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: .95rem;
}
.step h3 { font-size: 1.06rem; margin-bottom: .3em; }
.step p { font-size: .96rem; margin: 0; }

/* --- Image slot (until real photos are added) --- */
.imgslot {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background:
    linear-gradient(135deg, rgba(27,54,104,.94), rgba(18,38,75,.94)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.045) 0 12px, transparent 12px 24px);
  display: grid; place-items: center; text-align: center; padding: 30px;
  color: rgba(255,255,255,.6); font-size: .82rem; line-height: 1.5;
}
.imgslot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.imgslot code { display: block; font-size: .78rem; color: rgba(255,255,255,.85); margin-top: 6px; }
.imgslot--light {
  background:
    linear-gradient(135deg, #eef2f9, #e4e8f0),
    repeating-linear-gradient(45deg, rgba(27,54,104,.03) 0 12px, transparent 12px 24px);
  color: var(--ink-faint);
}
.imgslot--light code { color: var(--ink-soft); }

/* --- Contact/quick strip --- */
.quickbar { background: var(--brand-dark); color: rgba(255,255,255,.8); font-size: .87rem; }
.quickbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; }
.quickbar a { color: #fff; }
.quickbar ul { display: flex; gap: 22px; flex-wrap: wrap; }
.quickbar li { display: flex; align-items: center; gap: 7px; }
.quickbar svg { width: 14px; height: 14px; opacity: .75; flex: none; }

/* --- WhatsApp float --- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .4);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

/* --- Section heading, left aligned variant --- */
.section-head--left { margin-left: 0; margin-right: 0; text-align: left; max-width: 640px; }

/* --- Responsive additions --- */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; gap: 46px; }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .sidebar { grid-template-columns: 1fr; }
  .quickbar { display: none; }
  .wa-float { right: 14px; bottom: 14px; width: 50px; height: 50px; }
  .prose h2 { margin-top: 1.6em; }
}

/* Tagline under the logo gets cramped on small phones — hide it there */
@media (max-width: 560px) {
  .logo-text i { display: none; }
  .logo-text b { font-size: 1.05rem; }
  .site-footer .logo-text i { display: block; }
}

/* Placeholder caption inside the hero panel — keep the filename on its own line */
.hero-visual code { display: block; margin-top: 6px; font-size: .78rem; color: rgba(255,255,255,.85); }

/* When a real photo is present in the hero panel, let it fill the frame edge to edge
   instead of sitting inside the placeholder padding. */
.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
