/* =========================================================
   JTS Transport Operators — shared styles
   Design system (ui-ux-pro-max: Logistics → Minimalism + Flat,
   blue + orange), tuned to the JTS brand from the profile PDF.
   ========================================================= */

:root {
  /* Brand */
  --navy-900: #06044d;
  --navy-800: #0b0873;   /* PDF navy */
  --navy-700: #1a178f;
  --navy-50:  #eef0fb;
  --red:      #c8161d;   /* JTS logo red */
  --red-dark: #a51117;
  --orange:   #ea580c;   /* fleet orange, WCAG-adjusted */
  --orange-soft: #fff1e8;

  /* Neutrals */
  --ink:     #14123f;
  --body:    #3b3f5c;
  --muted:   #5f6480;
  --line:    #e3e5f0;
  --surface: #ffffff;
  --bg-soft: #f6f7fc;

  /* Type */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 8, 115, .06), 0 2px 8px rgba(11, 8, 115, .05);
  --shadow-md: 0 10px 30px -12px rgba(11, 8, 115, .25);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--soft { background: var(--bg-soft); }

.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-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--lg { width: 26px; height: 26px; }

/* ---------- Logo (rebuilt from the PDF: JTS + Open Sans Bold) ---------- */
.logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; }
.logo__mark {
  font-family: "Montserrat", var(--font);
  font-weight: 900;
  color: var(--red);
  font-size: 2.15rem;
  letter-spacing: -.01em;
  line-height: .82;
}
.logo__sub {
  font-family: "Open Sans", var(--font);
  font-weight: 700;
  color: var(--navy-800);
  font-size: .72rem;
  line-height: 1.12;
  text-align: center;
  margin-top: 4px;
  letter-spacing: 0;
}
.logo--light .logo__sub { color: #fff; }
/* Client logo (from JTS_Logo.pdf, transparent PNG) */
.logo__img { height: 30px; width: auto; }
.logo--light .logo__img { box-sizing: content-box; height: 32px; padding: 9px 12px; background: #fff; border-radius: 8px; }
.auth__brand .logo__img { height: 32px; }
.auth__mobile-logo .logo__img { height: 30px; }
.logo--lg .logo__mark { font-size: 3.6rem; }
.logo--lg .logo__sub { font-size: 1.15rem; margin-top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .98rem; text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); box-shadow: 0 8px 20px -8px rgba(200, 22, 29, .6); }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-700); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: #fff; }
.btn--block { width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 10px 14px; border-radius: var(--r-sm);
  text-decoration: none; font-weight: 600; color: var(--ink); font-size: .95rem;
  transition: color .2s, background-color .2s;
}
.nav__links a:hover { color: var(--red); background: var(--bg-soft); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__actions .btn { min-height: 44px; padding: 10px 18px; font-size: .92rem; }
.nav__toggle {
  display: none; width: 48px; height: 48px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  align-items: center; justify-content: center;
}

@media (max-width: 960px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: fixed; inset: 76px 0 auto 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 12px var(--gutter) 20px;
    display: none;
  }
  .nav__menu.is-open { display: block; }
  .nav__links { flex-direction: column; align-items: stretch; }
  .nav__links a { padding: 14px 12px; font-size: 1.05rem; }
  .nav__actions { margin-top: 12px; flex-direction: column; align-items: stretch; }
  .nav__actions .btn { min-height: 50px; }
}
@media (min-width: 961px) {
  .nav__menu { display: flex; align-items: center; gap: 20px; }
}

/* ---------- Hero (echoes the PDF cover: photo + navy diagonal) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-900);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--navy-800);
  clip-path: polygon(0 0, 50% 0, 42% 100%, 0 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--red);
  clip-path: polygon(50% 0, 51.1% 0, 43.1% 100%, 42% 100%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: min(82vh, 700px); }
.hero__content { max-width: 520px; color: #fff; padding-block: 72px 96px; }
/* Photo fills the right side behind the navy diagonal */
.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; display: block; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero .eyebrow { color: #ffb489; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: #ffb489; }
.hero p { font-size: 1.12rem; color: rgba(255, 255, 255, .86); max-width: 46ch; margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 860px) {
  .hero { background: var(--navy-800); }
  .hero::before, .hero::after { display: none; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero__content { padding-block: 64px 32px; }
  .hero__media { position: static; width: auto; z-index: auto; padding-block: 0 72px; }
  .hero__media img { height: auto; aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
}

/* ---------- Stats strip ---------- */
.stats { position: relative; z-index: 2; margin-top: -48px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-md);
  border: 1px solid var(--line); overflow: hidden;
}
.stat { padding: 26px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__num { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--navy-800); line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat__num small { font-size: .55em; font-weight: 700; color: var(--red); }
.stat__label { display: block; margin-top: 6px; font-size: .9rem; color: var(--muted); font-weight: 500; }
@media (max-width: 860px) {
  .stats { margin-top: 0; padding-top: 24px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Section heads ---------- */
.head { max-width: 680px; margin-bottom: 48px; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }
.head h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); font-weight: 800; }
.head p { font-size: 1.07rem; color: var(--muted); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--r-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow-md); }
.about__badge {
  position: absolute; right: -14px; bottom: -22px;
  background: var(--navy-800); color: #fff; border-radius: var(--r-md);
  padding: 18px 22px; box-shadow: var(--shadow-md); text-align: center;
}
.about__badge strong { display: block; font-size: 2rem; line-height: 1; font-weight: 800; color: #ffb489; }
.about__badge span { font-size: .82rem; font-weight: 600; }
.about h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); font-weight: 800; }
.about strong.brand { color: var(--navy-800); }
.mission {
  margin: 28px 0 0; padding: 20px 22px;
  border-left: 4px solid var(--red); background: var(--navy-50); border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--navy-800); font-weight: 700; font-size: 1.08rem; line-height: 1.5;
}
.mission span { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding: 0; list-style: none; }
.values li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--ink); background: #fff; }
.values .i { color: var(--orange); width: 18px; height: 18px; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__badge { right: 12px; bottom: -18px; }
}

/* ---------- Services ---------- */
.services-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: end; margin-bottom: 40px; }
.services-intro .head { margin-bottom: 0; }
.services-intro img { border-radius: var(--r-lg); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .services-intro { grid-template-columns: 1fr; } }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px; display: flex; flex-direction: column;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { border-color: #c7cbe6; box-shadow: var(--shadow-md); }
.card__icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--orange-soft); color: var(--orange);
}
.card__tag { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.card h3 { font-size: 1.18rem; font-weight: 800; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.chip { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--navy-50); color: var(--navy-800); }

.contracts {
  margin-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center;
  background: var(--navy-800); color: #fff; border-radius: var(--r-lg); padding: 26px 30px;
}
.contracts h3 { color: #fff; font-size: 1.15rem; margin: 0; }
.contracts p { margin: 4px 0 0; color: rgba(255, 255, 255, .78); font-size: .95rem; }
.contracts ul { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; list-style: none; margin: 0; padding: 0; }
.contracts li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-weight: 700; font-size: .95rem; }
.contracts li .i { color: #ffb489; width: 18px; height: 18px; }
@media (max-width: 760px) { .contracts { grid-template-columns: 1fr; } .contracts ul { justify-content: flex-start; } }

/* ---------- Fleet specifications (original infographic) ---------- */
.fleet {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 420px at 85% -10%, rgba(234, 88, 12, .22), transparent 60%),
    radial-gradient(800px 400px at 0% 110%, rgba(59, 130, 246, .18), transparent 60%),
    var(--navy-900);
  color: #fff;
}
.fleet::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.fleet .wrap { position: relative; }
.fleet .head h2 { color: #fff; }
.fleet .head p { color: rgba(255, 255, 255, .75); }
.fleet .eyebrow { color: #ffb489; }

.spec-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.spec-grid .spec { padding: 20px 16px 16px; }
.spec-grid .spec__name { font-size: 1.55rem; }
.spec-grid .spec__payload { min-width: 0; padding: 7px 8px; }
.spec-grid .spec__payload strong { font-size: 1rem; white-space: nowrap; }
.spec-grid .spec__list li { font-size: .88rem; }
@media (max-width: 1100px) { .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .spec-grid .spec:first-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .spec-grid { grid-template-columns: 1fr; } }

.spec {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-lg);
  padding: 22px 20px 20px;
  display: flex; flex-direction: column;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.spec:hover { border-color: rgba(255, 180, 137, .6); box-shadow: 0 0 0 1px rgba(255, 180, 137, .25), 0 18px 40px -18px rgba(234, 88, 12, .55); }
.spec__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.spec__name { font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.02em; margin: 0; }
.spec__class { font-size: .82rem; color: rgba(255, 255, 255, .7); margin-top: 6px; }
.spec__payload {
  flex: none; text-align: center; border-radius: var(--r-md);
  background: var(--orange); color: #fff; padding: 8px 10px; min-width: 74px;
}
.spec__payload strong { display: block; font-size: 1.15rem; line-height: 1.1; font-weight: 800; }
.spec__payload span { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .92; }
.spec__art { margin: 18px 0 14px; aspect-ratio: 300 / 150; }
.spec__art svg { width: 100%; height: 100%; display: block; overflow: visible; }
.spec__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.spec__list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .93rem; }
.spec__list li span { color: rgba(255, 255, 255, .68); }
.spec__list li b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.spec__note { margin-top: 12px; font-size: .8rem; color: rgba(255, 255, 255, .6); }

.fleet__foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; color: rgba(255, 255, 255, .78); font-size: .95rem; }
.fleet__foot ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.fleet__foot li { display: inline-flex; align-items: center; gap: 8px; }
.fleet__foot .i { color: #ffb489; width: 18px; height: 18px; }

/* ---------- Why us ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 960px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } }
.why__item { padding-top: 22px; border-top: 3px solid var(--navy-800); }
.why__item:nth-child(even) { border-top-color: var(--red); }
.why__item .i { color: var(--navy-800); margin-bottom: 14px; }
.why__item h3 { font-size: 1.1rem; font-weight: 800; }
.why__item p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- CTA banner ---------- */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff; padding-block: clamp(64px, 8vw, 96px);
}
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 4, 77, .95) 0%, rgba(6, 4, 77, .82) 50%, rgba(6, 4, 77, .35) 100%); }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; max-width: 18ch; }
.cta p { color: rgba(255, 255, 255, .85); max-width: 48ch; font-size: 1.07rem; margin-bottom: 28px; }
.cta__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact__list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.contact__item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
}
.contact__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: #fdecec; color: var(--red); }
.contact__item h3 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 2px 0 4px; font-weight: 700; }
.contact__item p, .contact__item a { margin: 0; color: var(--ink); font-weight: 600; text-decoration: none; }
.contact__item a:hover { color: var(--red); text-decoration: underline; }
.contact__links { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.map { border: 0; width: 100%; height: 280px; border-radius: var(--r-md); background: var(--bg-soft); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 1.4rem; font-weight: 800; }
.form-card > p { color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Form fields (shared with login) ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.field .req { color: var(--red); }
.control { position: relative; }
.control > .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; pointer-events: none; }
.input {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid #cfd3e6; border-radius: var(--r-sm); background: #fff;
  font: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.control > .i + .input { padding-left: 42px; }
textarea.input { min-height: 110px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6480' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.input::placeholder { color: #9599b3; }
.input:hover { border-color: #aeb3d3; }
.input:focus { outline: none; border-color: var(--navy-800); box-shadow: 0 0 0 4px rgba(11, 8, 115, .12); }
.field.has-error .input { border-color: var(--red); }
.field.has-error .input:focus { box-shadow: 0 0 0 4px rgba(200, 22, 29, .14); }
.error { display: none; align-items: center; gap: 6px; margin-top: 6px; font-size: .86rem; color: var(--red); font-weight: 600; }
.field.has-error .error { display: flex; }
.hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }

.notice {
  display: none; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: var(--r-sm); margin-bottom: 18px; font-size: .94rem;
  background: var(--navy-50); color: var(--navy-800); border: 1px solid #d5d9f3;
}
.notice.is-visible { display: flex; }
.notice--ok { background: #ecfdf3; border-color: #b7ebcb; color: #116b3a; }
.notice--error { background: #fdecec; border-color: #f5c2c4; color: #9b1116; }
.notice a { font-weight: 700; }
.btn--whatsapp { background: #1f9d55; color: #fff; }
.btn--whatsapp:hover { background: #17834a; }
.nav__user { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy-800); font-size: .92rem; }
.nav__user .i { width: 18px; height: 18px; }
.notice .i { margin-top: 2px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .75); padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }
.footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; color: rgba(255, 255, 255, .82); }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__about { margin-top: 18px; max-width: 34ch; font-size: .95rem; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 20px calc(20px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .88rem; }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px -10px rgba(11, 8, 115, .3);
  }
  .callbar .btn { min-height: 48px; padding-inline: 12px; }
  body.has-callbar { padding-bottom: 72px; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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