/* =========================================================
   CM CDS Transfronterizo SA de CV — 3PL & Overseas Warehouse
   Global stylesheet
   ========================================================= */

:root {
  --navy-950: #061d33;
  --navy-900: #082238;
  --navy-800: #0b2a4a;
  --navy-700: #0e3a6b;
  --navy-600: #14508f;
  --blue-500: #1e6fd9;
  --blue-400: #3f8ce8;

  --orange-700: #c24f06;
  --orange-600: #e8600a;
  --orange-500: #f97b22;
  --amber-400: #ffb82e;
  --amber-300: #ffc53d;
  --amber-100: #fff1d6;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;

  --white: #ffffff;
  --teal: #0e7490;
  --teal-light: #e0f2f7;

  --grad-brand: linear-gradient(135deg, #14508f 0%, #082a47 100%);
  --grad-orange: linear-gradient(90deg, #f97b22 0%, #ffc53d 100%);
  --grad-cta: linear-gradient(120deg, #f97b22 0%, #e8600a 100%);

  --font-head: "Manrope", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(8, 34, 56, 0.06), 0 1px 3px rgba(8, 34, 56, 0.08);
  --shadow-md: 0 6px 16px -6px rgba(8, 34, 56, 0.16);
  --shadow-lg: 0 18px 40px -14px rgba(8, 34, 56, 0.28);
  --shadow-brand: 0 12px 30px -10px rgba(20, 80, 143, 0.45);

  --container: 1200px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--blue-500);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--orange-500);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--navy-800);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

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

.section {
  padding: 88px 0;
}

.section--tint {
  background: var(--slate-50);
}

.section--navy {
  background: var(--grad-brand);
  color: var(--slate-100);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad-orange);
  border-radius: 2px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head--center .eyebrow::before {
  display: none;
}

.section-head p.lead {
  margin-top: 14px;
  font-size: 1.08rem;
  color: var(--slate-500);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--grad-cta);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(232, 96, 10, 0.75);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -12px rgba(232, 96, 10, 0.9);
  color: #fff;
}

.btn--navy {
  background: var(--navy-800);
  color: #fff;
}

.btn--navy:hover {
  background: var(--navy-600);
  color: #fff;
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--slate-300);
}

.btn--ghost:hover {
  border-color: var(--navy-800);
  color: var(--navy-800);
}

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost-light:hover {
  border-color: #fff;
  color: #fff;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}

.brand__mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  color: var(--navy-800);
}

.brand__sub {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  color: var(--orange-600);
}

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

.nav__link {
  position: relative;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--slate-600);
  padding: 10px 14px;
  border-radius: 8px;
}

.nav__link:hover {
  color: var(--navy-800);
  background: var(--slate-100);
}

.nav__link.is-active {
  color: var(--navy-800);
}

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-orange);
}

.header-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--slate-200);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 96px;
  background:
    radial-gradient(1000px 520px at 88% -10%, rgba(30, 111, 217, 0.16), transparent 60%),
    radial-gradient(820px 460px at -10% 110%, rgba(249, 123, 34, 0.14), transparent 55%),
    linear-gradient(180deg, #f7fafd 0%, #ffffff 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 80, 143, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 80, 143, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(760px 460px at 70% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(760px 460px at 70% 30%, #000 30%, transparent 78%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-700);
  background: #fff;
  border: 1px solid var(--slate-200);
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}

.hero__badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 .accent {
  background: linear-gradient(120deg, #e8600a, #f97b22);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: 1.14rem;
  color: var(--slate-500);
  max-width: 520px;
  margin-bottom: 30px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  border-top: 1px solid var(--slate-200);
  padding-top: 26px;
}

.stat__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--navy-800);
  line-height: 1;
}

.stat__label {
  font-size: 0.82rem;
  color: var(--slate-500);
  margin-top: 6px;
}

/* Hero visual */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
  padding: 22px;
  z-index: 2;
}

.hero-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.hero-card__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy-800);
}

.hero-card__tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  padding: 4px 10px;
  border-radius: 999px;
}

.track-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px dashed var(--slate-200);
}

.track-row .flag {
  width: 34px;
  height: 24px;
  border-radius: 6px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.flag--mx { background: linear-gradient(90deg, #0f7a3d 33%, #ffffff 33% 66%, #ce1126 66%); color: #0f7a3d; text-shadow: 0 0 3px #fff; }
.flag--us { background: linear-gradient(90deg, #b22234 45%, #ffffff 45% 55%, #b22234 55%); color: #fff; }
.flag--cn { background: #de2910; }

.track-row__meta { flex: 1; }
.track-row__meta b { display: block; font-size: 0.9rem; color: var(--navy-800); }
.track-row__meta span { font-size: 0.78rem; color: var(--slate-500); }

.track-row__status {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.track-row__status--ok { background: #dcfce7; color: #15803d; }
.track-row__status--run { background: #fff1d6; color: #b45309; }

.hero-map {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.9;
}

.hero-float {
  position: absolute;
  z-index: 3;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy-800);
}

.hero-float--1 { top: -22px; left: -12px; animation: float 5.5s ease-in-out infinite; }
.hero-float--2 { bottom: -20px; right: -6px; animation: float 6.5s ease-in-out infinite 0.8s; }

.hero-float .chip {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.chip--blue { background: #e7f0fb; }
.chip--orange { background: var(--amber-100); }

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

/* ---------- Logo strip ---------- */
.logo-strip {
  padding: 34px 0;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  background: #fff;
}

.logo-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.logo-strip__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-400);
}

.logo-strip__items {
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
}

.logo-strip__item {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--slate-300);
  letter-spacing: 0.02em;
}

/* ---------- Feature cards ---------- */
.grid {
  display: grid;
  gap: 24px;
}

.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--slate-300);
}

.card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #e7f0fb 0%, #eef4fb 100%);
  color: var(--blue-500);
}

.card__icon--orange {
  background: linear-gradient(135deg, #fff1d6 0%, #ffedd0 100%);
  color: var(--orange-600);
}

.card__icon svg { width: 26px; height: 26px; }

.card h3 { margin-bottom: 10px; }

.card p {
  font-size: 0.95rem;
  color: var(--slate-500);
  margin-bottom: 16px;
}

.card__link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card__link svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.card__link:hover svg { transform: translateX(4px); }

/* ---------- Split / why ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split__media {
  position: relative;
}

.media-card {
  background: var(--grad-brand);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: #fff;
  box-shadow: var(--shadow-brand);
  position: relative;
  overflow: hidden;
}

.media-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.media-card__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.media-card__row:last-child { border-bottom: none; }

.media-card__num {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--grad-orange);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.media-card__row b { font-family: var(--font-head); font-size: 0.95rem; }
.media-card__row span { display: block; font-size: 0.8rem; color: rgba(255, 255, 255, 0.75); }

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--slate-600);
}

.check-list .tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-top: 1px;
}

.check-list .tick svg { width: 12px; height: 12px; }

/* ---------- Steps / process ---------- */
.steps { counter-reset: step; }

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.step__num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step p { font-size: 0.92rem; color: var(--slate-500); }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--grad-brand);
  color: #fff;
  padding: 64px 0;
}

.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stats-band .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  background: linear-gradient(120deg, #ffc53d, #f97b22);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats-band .label {
  margin-top: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.testimonial__stars {
  color: var(--amber-300);
  letter-spacing: 3px;
  font-size: 1rem;
}

.testimonial__quote {
  font-size: 1.02rem;
  color: var(--slate-600);
  font-style: italic;
}

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

.testimonial__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial__person b { display: block; color: var(--navy-800); font-size: 0.95rem; }
.testimonial__person span { font-size: 0.8rem; color: var(--slate-500); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--grad-cta);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 50px -20px rgba(232, 96, 10, 0.7);
}

.cta-banner::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 8px;
}

.cta-banner p { color: rgba(255, 255, 255, 0.9); max-width: 520px; }

.cta-banner .btn--white {
  background: #fff;
  color: var(--orange-600);
}

.cta-banner .btn--white:hover { transform: translateY(-2px); color: var(--orange-600); }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background:
    radial-gradient(820px 400px at 90% -20%, rgba(30, 111, 217, 0.18), transparent 60%),
    var(--grad-brand);
  color: #fff;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(700px 320px at 75% 20%, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(700px 320px at 75% 20%, #000 40%, transparent 80%);
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 { color: #fff; margin-bottom: 14px; }

.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  font-size: 1.08rem;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}

.crumbs a { color: rgba(255, 255, 255, 0.85); }
.crumbs a:hover { color: var(--amber-300); }
.crumbs .sep { opacity: 0.6; }

/* ---------- Service detail (list) ---------- */
.service-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-item__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e7f0fb, #eef4fb);
  color: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-item__icon svg { width: 30px; height: 30px; }

.service-item h3 { margin-bottom: 8px; }
.service-item p { color: var(--slate-500); font-size: 0.96rem; margin-bottom: 14px; }

.service-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-600);
}

.tag--blue { background: #e7f0fb; color: var(--navy-700); }
.tag--orange { background: var(--amber-100); color: var(--orange-700); }
.tag--green { background: #dcfce7; color: #15803d; }
.tag--teal { background: var(--teal-light); color: var(--teal); }

/* ---------- Accordion / FAQ ---------- */
.faq {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
}

.faq__item { border-bottom: 1px solid var(--slate-200); }
.faq__item:last-child { border-bottom: none; }

.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy-800);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq__q .plus {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--slate-100);
  color: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 1.2rem;
  transition: transform 0.25s ease, background 0.25s ease;
}

.faq__item.is-open .plus {
  transform: rotate(45deg);
  background: var(--grad-orange);
  color: #fff;
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__a p {
  padding: 0 24px 20px;
  color: var(--slate-500);
  font-size: 0.95rem;
}

/* ---------- Values ---------- */
.value {
  text-align: center;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 34px 26px;
}

.value__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  margin: 0 auto 18px;
  background: var(--grad-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value__icon svg { width: 26px; height: 26px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 22px;
}

.contact-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e7f0fb, #eef4fb);
  color: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.contact-card__icon svg { width: 22px; height: 22px; }

.contact-card b { display: block; color: var(--navy-800); font-family: var(--font-head); margin-bottom: 2px; }
.contact-card p { font-size: 0.92rem; color: var(--slate-500); }

.form-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy-800);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--slate-700);
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: 12px;
  padding: 13px 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(30, 111, 217, 0.12);
}

.field textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.8rem;
  color: var(--slate-400);
  margin-top: 14px;
}

.form-success {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #dcfce7;
  color: #15803d;
  font-weight: 600;
  font-size: 0.92rem;
}

.form-success.is-visible { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-300);
  padding: 72px 0 0;
  font-size: 0.93rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-brand__mark { width: 44px; height: 44px; }

.footer-brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
}

.footer-brand__sub {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  color: var(--amber-300);
}

.footer-about { color: var(--slate-400); max-width: 320px; }

.footer h4 {
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }

.footer ul a { color: var(--slate-400); }
.footer ul a:hover { color: var(--amber-300); }

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--slate-400);
}

.footer-contact svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 3px; color: var(--amber-300); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--slate-500);
}

.footer-bottom a { color: var(--slate-400); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats-band__grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav__link { padding: 14px; }
  .nav__link.is-active::after { left: 14px; right: auto; width: 26px; bottom: 8px; }

  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav .header-cta { display: inline-flex; margin: 10px 0 0; }
}

@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .service-item { grid-template-columns: 1fr; }
  .hero-float--1 { left: -6px; }
  .hero-float--2 { right: -6px; }
  .cta-banner { padding: 40px 28px; }
  .hero__stats { gap: 22px; }
  .logo-strip__inner { justify-content: center; }
  .logo-strip__items { justify-content: center; }
}

/* ---------- Language switcher ---------- */
.lang-switch { position: relative; z-index: 150; }

.lang-menu { position: relative; }

.lang-menu summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--slate-600);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  padding: 8px 13px;
  background: #fff;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::marker { content: ""; }

.lang-menu summary:hover { border-color: var(--navy-800); color: var(--navy-800); }

.lang-menu .lang-globe { width: 16px; height: 16px; }
.lang-menu .lang-caret { width: 14px; height: 14px; transition: transform 0.2s ease; }
.lang-menu[open] .lang-caret { transform: rotate(180deg); }

.lang-menu__list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  min-width: 150px;
  z-index: 200;
}

.lang-menu__list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--slate-600);
}

.lang-menu__list a:hover { background: var(--slate-100); color: var(--navy-800); }

.lang-menu__list a.is-active { background: #e7f0fb; color: var(--navy-700); }

@media (max-width: 900px) {
  .lang-switch { margin-left: auto; }
}
