/* ============================================================
   Palaxar — Global Food Supplier
   Design: editorial serif + deep green / cream / tangerine
   ============================================================ */

:root {
  --green-950: #082A1F;
  --green-900: #0D392B;
  --green-800: #145041;
  --green-700: #1C6350;
  --cream: #F6F1E4;
  --paper: #FCFAF3;
  --ink: #1A2B22;
  --muted: #5F6E63;
  --line: #E3DCC9;
  --accent: #E9692C;
  --accent-deep: #C8511A;
  --gold: #EBD9A8;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --container: 1180px;
  --header-h: 76px;

  --shadow-soft: 0 20px 50px -24px rgba(8, 42, 31, 0.35);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 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: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 560; line-height: 1.08; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol, figure, blockquote, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

::selection { background: var(--accent); color: #fff; }

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

.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--green-950);
  color: var(--cream);
  border-radius: 0 0 12px 12px;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

.icon { width: 26px; height: 26px; flex: none; }

/* ---------- Type helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 1.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-800);
}
.eyebrow.light { color: var(--gold); }
.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

h1 {
  font-size: clamp(2.9rem, 6.4vw, 5.1rem);
  margin-bottom: 1.4rem;
}
h1 em, .cta-band em {
  font-style: italic;
  font-weight: 480;
  color: var(--accent);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 1.2rem;
  max-width: 21ch;
}

.lead, .section-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--muted);
  max-width: 56ch;
}

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { margin-bottom: 0.8rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:active { transform: scale(0.97); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(233, 105, 44, 0.65);
}
.btn-accent:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -14px rgba(200, 81, 26, 0.6);
}

.btn-ghost {
  border: 1.5px solid rgba(26, 43, 34, 0.25);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.btn-ghost.light {
  border-color: rgba(246, 241, 228, 0.35);
  color: var(--cream);
}
.btn-ghost.light:hover { border-color: var(--cream); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -20px rgba(8, 42, 31, 0.25);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--green-950);
}
.brand-mark { width: 34px; height: 34px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
}
.site-nav > a:not(.btn) {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  opacity: 0.82;
  position: relative;
  padding: 6px 0;
  transition: opacity 0.2s;
}
.site-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transition: right 0.3s var(--ease-out);
}
.site-nav > a:not(.btn):hover { opacity: 1; }
.site-nav > a:not(.btn):hover::after { right: 0; }

.nav-cta { padding: 11px 22px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1.5px solid rgba(26, 43, 34, 0.2);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem));
  background:
    radial-gradient(52rem 30rem at 85% -8%, rgba(235, 217, 168, 0.35), transparent 60%),
    radial-gradient(40rem 26rem at -10% 40%, rgba(233, 105, 44, 0.08), transparent 60%),
    var(--paper);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.4rem, 3vw, 2.8rem);
  margin-top: 2.6rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.hero-facts dt {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.hero-facts dd {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 560;
  color: var(--green-950);
}

/* Globe panel */

.hero-visual { position: relative; }

.globe-panel {
  position: relative;
  aspect-ratio: 1 / 1.04;
  max-width: 560px;
  margin-left: auto;
  background:
    radial-gradient(120% 100% at 30% 0%, #10402F 0%, var(--green-950) 68%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: visible;
}
.globe-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: radial-gradient(rgba(246, 241, 228, 0.14) 1px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: radial-gradient(90% 90% at 50% 45%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(90% 90% at 50% 45%, black, transparent 75%);
  pointer-events: none;
}

.globe {
  position: absolute;
  inset: 6% 6% 12% 6%;
  width: 88%;
  height: auto;
}

.route-anim { animation: dash-march 1.6s linear infinite; }
.route-anim.slow { animation-duration: 2.6s; animation-direction: reverse; }
@keyframes dash-march { to { stroke-dashoffset: -14; } }

.pulse { transform-origin: center; transform-box: fill-box; animation: pulse 2.8s var(--ease-out) infinite; }
.pulse.d2 { animation-delay: 1.4s; }
@keyframes pulse {
  0% { transform: scale(0.55); opacity: 0.5; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

.route-badge {
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  background: var(--green-950);
  color: var(--cream);
  border: 1px solid rgba(246, 241, 228, 0.16);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}
.route-city {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 560;
}
.route-arrows { width: 40px; height: 12px; color: var(--accent); }
.route-note {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border-left: 1px solid rgba(246, 241, 228, 0.22);
  padding-left: 12px;
}

/* floating chips */

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 40px -18px rgba(8, 42, 31, 0.35);
  animation: float 6s ease-in-out infinite;
}
.chip .icon { width: 30px; height: 30px; color: var(--accent-deep); }
.chip strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--green-950);
  line-height: 1.25;
}
.chip span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.3;
}
.chip-1 { top: 7%; left: -9%; animation-delay: 0s; }
.chip-2 { top: 42%; right: -7%; animation-delay: 1.6s; }
.chip-3 { bottom: 12%; left: -5%; animation-delay: 3.1s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

/* Marquee */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  overflow: hidden;
  padding: 16px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 560;
  color: var(--green-900);
  white-space: nowrap;
}
.marquee i {
  font-style: normal;
  color: var(--accent);
  font-size: 0.9rem;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */

.split {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.split-aside { position: sticky; top: calc(var(--header-h) + 24px); }

.pillars {
  display: grid;
  gap: 14px;
  margin-top: 2.6rem;
}
.pillars li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 26px 28px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.pillars li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.pillars .icon { color: var(--accent-deep); margin-top: 3px; }
.pillars h3 { font-size: 1.22rem; margin-bottom: 0.35rem; }
.pillars p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Services (dark) ---------- */

.dark {
  background:
    radial-gradient(60rem 40rem at 110% -20%, rgba(28, 99, 80, 0.55), transparent 60%),
    var(--green-950);
  color: var(--cream);
}
.dark h2 { color: var(--paper); }
.dark .section-lead { color: rgba(246, 241, 228, 0.72); }

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 34px 30px 30px;
  background: rgba(246, 241, 228, 0.045);
  border: 1px solid rgba(246, 241, 228, 0.13);
  border-radius: var(--radius-md);
  transition: transform 0.35s var(--ease-out), background-color 0.3s, border-color 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  background: rgba(246, 241, 228, 0.08);
  border-color: rgba(235, 217, 168, 0.4);
}
.card-num {
  position: absolute;
  top: 26px; right: 28px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold);
  opacity: 0.85;
}
.card .icon {
  width: 44px; height: 44px;
  color: var(--gold);
  margin-bottom: 6px;
}
.card h3 { font-size: 1.5rem; color: var(--paper); }
.card p { color: rgba(246, 241, 228, 0.75); font-size: 0.99rem; flex-grow: 1; }
.card-link {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--accent);
  display: inline-flex;
  gap: 6px;
  align-items: center;
  width: fit-content;
}
.card-link span { transition: transform 0.25s var(--ease-out); }
.card-link:hover span { transform: translateX(4px); }

/* ---------- Process ---------- */

.process { background: var(--cream); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  counter-reset: step;
}
.steps li { position: relative; padding-top: 26px; }
.steps li::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: -34px;
  height: 2px;
  background: var(--line);
}
.steps li:last-child::before { right: 0; }
.steps li::after {
  content: "";
  position: absolute;
  top: -5px; left: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
}
.step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--accent-deep);
}
.steps h3 { font-size: 1.35rem; margin: 0.5rem 0 0.55rem; }
.steps p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Clients / quotes ---------- */

.quotes { align-items: stretch; }

.quote {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.quote:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.quote-mark { width: 30px; height: 22px; color: var(--accent); }
.quote blockquote {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 480;
  line-height: 1.45;
  color: var(--green-950);
  flex-grow: 1;
}
.quote figcaption strong {
  display: block;
  font-weight: 800;
  font-size: 0.98rem;
}
.quote figcaption span { color: var(--muted); font-size: 0.88rem; }

.clients {
  background:
    radial-gradient(48rem 26rem at -5% 100%, rgba(235, 217, 168, 0.3), transparent 60%),
    var(--paper);
}

/* ---------- Contacts ---------- */

.contacts { background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: start;
}

.people {
  display: grid;
  gap: 12px;
}
.person {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "region region" "name phone";
  align-items: baseline;
  gap: 2px 16px;
  padding: 24px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.25s;
}
.person:hover {
  transform: translateX(6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
}
.person-region {
  grid-area: region;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.person-name {
  grid-area: name;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 560;
  color: var(--green-950);
}
.person-phone {
  grid-area: phone;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--accent-deep);
  white-space: nowrap;
}

.person-name--mail {
  font-size: 1.25rem !important;
  overflow-wrap: anywhere;
}

.offices { display: grid; gap: 12px; }
.offices-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.office {
  padding: 26px 28px;
  background: var(--green-950);
  color: var(--cream);
  border-radius: var(--radius-md);
}

/* ---------- Contact form ---------- */

.contacts .contact-grid { align-items: start; }

.contact-form {
  padding: clamp(26px, 3vw, 34px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.form-head { margin-bottom: 1.4rem; }
.form-head h3 {
  font-size: 1.5rem;
  color: var(--green-950);
  margin-bottom: 0.35rem;
}
.form-head p { color: var(--muted); font-size: 0.96rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { display: flex; flex-direction: column; margin-bottom: 14px; }
.field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-800);
  margin-bottom: 7px;
}
.field input,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { resize: vertical; min-height: 118px; line-height: 1.55; }
.field input::placeholder,
.field textarea::placeholder { color: #9aa79c; }
.field input:focus,
.field textarea:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(233, 105, 44, 0.14);
}

.contact-form .btn-accent {
  margin-top: 4px;
  width: 100%;
}
.contact-form .btn[disabled] { opacity: 0.6; cursor: progress; }

/* honeypot — visually hidden, off-screen */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

.form-note {
  margin-top: 14px;
  font-size: 0.84rem;
  color: var(--muted);
}
.form-note a { color: var(--accent-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.form-status {
  margin-top: 14px;
  font-size: 0.94rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease-out), padding 0.3s var(--ease-out);
}
.form-status.ok,
.form-status.err {
  padding: 13px 16px;
  max-height: 160px;
}
.form-status.ok {
  background: rgba(28, 99, 80, 0.1);
  color: var(--green-800);
  border: 1px solid rgba(28, 99, 80, 0.25);
}
.form-status.err {
  background: rgba(200, 81, 26, 0.09);
  color: var(--accent-deep);
  border: 1px solid rgba(200, 81, 26, 0.3);
}
.office .icon { color: var(--gold); margin-bottom: 12px; }
.office h3 { font-size: 1.3rem; color: var(--paper); margin-bottom: 0.5rem; }
.office p { color: rgba(246, 241, 228, 0.75); font-size: 0.96rem; line-height: 1.6; }

/* ---------- CTA band ---------- */

.cta-band {
  background:
    radial-gradient(50rem 30rem at 50% 130%, rgba(233, 105, 44, 0.28), transparent 65%),
    var(--green-950);
  color: var(--cream);
  text-align: center;
  padding: clamp(5rem, 10vw, 8rem) 0;
}
.cta-band h2 {
  color: var(--paper);
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  max-width: none;
  margin-bottom: 1rem;
}
.cta-band p { color: rgba(246, 241, 228, 0.75); font-size: 1.12rem; }
.cta-inner .hero-actions { justify-content: center; margin-top: 2.4rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 0.9fr 1.1fr;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  padding-bottom: 3rem;
}
.footer-brand p {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-mail {
  font-weight: 700;
  color: var(--accent-deep);
}
.footer-mail:hover { text-decoration: underline; }
.footer-nav { display: grid; gap: 10px; align-content: start; }
.footer-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.8;
  width: fit-content;
  transition: opacity 0.2s, color 0.2s;
}
.footer-nav a:hover { opacity: 1; color: var(--accent-deep); }
.footer-offices { display: grid; gap: 18px; align-content: start; }
.footer-offices p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.footer-offices strong { color: var(--ink); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 1.4rem 0 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}
.to-top { font-weight: 700; color: var(--green-800); }
.to-top:hover { color: var(--accent-deep); }

/* ---------- Legal pages ---------- */

.legal-hero {
  padding: calc(var(--header-h) + clamp(2.6rem, 6vw, 4.5rem)) 0 clamp(2.4rem, 5vw, 3.6rem);
  background:
    radial-gradient(48rem 26rem at 90% -10%, rgba(235, 217, 168, 0.35), transparent 60%),
    var(--cream);
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  margin-bottom: 0.7rem;
}
.legal-sub { color: var(--muted); font-size: 1.08rem; margin: 0; }

.crumb {
  margin: 0 0 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.crumb a { color: var(--accent-deep); }
.crumb a:hover { text-decoration: underline; }
.crumb span { margin: 0 6px; opacity: 0.6; }

.legal-section { padding: clamp(2.8rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem); }

.legal-body { max-width: 780px; }
.legal-body .updated {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--muted);
  margin-bottom: 2.2rem;
}
.legal-body h2 {
  font-size: 1.45rem;
  max-width: none;
  margin: 2.4rem 0 0.7rem;
}
.legal-body p { color: #3D4C42; }
.legal-body ul {
  margin: 0 0 1em;
  padding-left: 1.3em;
}
.legal-body ul li {
  list-style: disc;
  color: #3D4C42;
  margin-bottom: 0.55em;
}
.legal-body ul li::marker { color: var(--accent); }
.legal-body a:not(.btn) {
  color: var(--accent-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(200, 81, 26, 0.35);
  text-underline-offset: 3px;
}
.legal-body a:not(.btn):hover { text-decoration-color: var(--accent-deep); }

/* ---------- 404 ---------- */

.notfound {
  padding: calc(var(--header-h) + clamp(4rem, 10vw, 8rem)) 0 clamp(5rem, 11vw, 9rem);
  background:
    radial-gradient(52rem 30rem at 85% -8%, rgba(235, 217, 168, 0.35), transparent 60%),
    var(--paper);
  text-align: center;
}
.notfound h1 { margin-inline: auto; }
.notfound .lead { margin: 1.2rem auto 0; }
.notfound .hero-actions { justify-content: center; }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1240px) {
  .chip-1 { left: 2%; }
  .chip-3 { left: 4%; }
  .chip-2 { right: 2%; }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    z-index: 90;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 24px 26px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -30px rgba(8, 42, 31, 0.4);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease-out), opacity 0.3s, visibility 0.3s;
  }
  .site-nav.open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .site-nav > a:not(.btn) {
    padding: 13px 4px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }
  .site-nav > a:not(.btn)::after { content: none; }
  .nav-cta { margin-top: 14px; justify-content: center; padding: 15px 22px; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .globe-panel { margin-inline: auto; }

  .split { grid-template-columns: 1fr; gap: 0.6rem; }
  .split-aside { position: static; }

  .cards-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 30px; }
  .steps li:nth-child(2n)::before { right: 0; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .offices-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --header-h: 66px; }

  body { font-size: 1rem; }

  .brand-name { font-size: 1.25rem; }
  .brand-mark { width: 29px; height: 29px; }

  .hero-facts { gap: 1.1rem 1.6rem; }
  .hero-facts dd { font-size: 1.02rem; }

  .chip { padding: 10px 14px 10px 11px; border-radius: 13px; }
  .chip .icon { width: 24px; height: 24px; }
  .chip strong { font-size: 0.82rem; }
  .chip span { font-size: 0.7rem; }
  .chip-1 { top: 4%; left: -4px; }
  .chip-2 { top: 46%; right: -4px; }
  .chip-3 { bottom: 14%; left: -4px; }

  .route-badge { gap: 9px; padding: 11px 16px; bottom: -18px; }
  .route-city { font-size: 0.9rem; }
  .route-note { display: none; }

  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps li::before { right: 0; }

  .person { padding: 20px 22px; }
  .person-name { font-size: 1.4rem; }
  .person-phone { font-size: 0.95rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .chip, .route-anim, .pulse, .marquee-track { animation: none !important; }
  .plane { display: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
