:root {
  --ink: #122033;
  --muted: #5d6b7c;
  --line: #e5e9f0;
  --paper: #f4f6fa;
  --white: #ffffff;
  --navy: #0b1a30;
  --navy-2: #16304d;
  --amber: #f0a202;
  --ember: #e07b32;
  --teal: #1c7c72;
  --good: #0f7a4a;
  --shadow: 0 18px 50px rgba(11, 26, 48, 0.08);
  --sans: "Inter", "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Segoe UI", sans-serif;
  --navy-bar: #0b1a30;
  --blue: #3c6f90;
  --gum: #b86b86;
  --cherry: #8d3044;
  --slate: #607089;
  --sage: #6d7a45;
  --nav-h: 112px;
  --tape-h: 52px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: var(--nav-h);
  overflow-x: hidden;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: #fff;
}
h1, h2, h3, h4,
.tool strong,
.news-card strong,
.solid,
.ghost {
  font-family: var(--display);
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.tape-slot {
  width: 100vw;
  margin: 1rem 0 0.2rem;
  margin-left: calc(50% - 50vw);
}
.market-tape {
  height: var(--tape-h);
  max-height: var(--tape-h);
  overflow: hidden;
  background: #0f172a;
  border: 0;
  color: #e2e8f0;
}
.news-tape {
  display: flex;
  align-items: center;
}
.news-tape-kicker {
  flex: none;
  margin: 0;
  padding: 0 0.9rem;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  color: #f6c56b;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.news-tape-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.news-tape-track[hidden],
.news-tape-status[hidden] { display: none; }
.news-tape-track {
  display: flex;
  width: max-content;
  animation: news-marquee 90s linear infinite;
}
.news-tape:hover .news-tape-track,
.news-tape:focus-within .news-tape-track { animation-play-state: paused; }
.news-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0 1.15rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 0.84rem;
  line-height: var(--tape-h);
  text-decoration: none;
  white-space: nowrap;
}
.news-item:hover .news-title { text-decoration: underline; }
.news-tag {
  color: #9fd0ff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.news-tag.mx { color: #f6c56b; }
.news-meta { color: #94a3b8; font-size: 0.72rem; }
.news-tape-status {
  flex: 1;
  margin: 0;
  padding: 0 0.9rem;
  color: #f6c56b;
  font-size: 0.82rem;
}
@keyframes news-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .news-tape-track { animation: none; }
  .news-tape-viewport { overflow-x: auto; }
}
.dof-badge {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: 0;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(240, 162, 2, 0.45);
  border-radius: 12px;
  background: rgba(7, 20, 34, 0.45);
  white-space: nowrap;
}
.dof-kicker, .dof-date { display: block; }
.dof-kicker {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.dof-date { font-size: 0.68rem; font-weight: 500; color: rgba(255, 255, 255, 0.58); }
.dof-badge strong {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: white;
}
.dof-trend { font-size: 0.8rem; }
.dof-trend.up { color: #3dd68c; }
.dof-trend.down { color: #ff8d8d; }
.dof-trend.flat { color: #f0a202; }
.topbar {
  position: relative;
  top: auto;
  z-index: 1;
  flex-wrap: wrap;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 72px;
  padding: 1.4rem 1.25rem 1.1rem;
  background:
    radial-gradient(ellipse at center 36%, rgba(11, 26, 48, 0.46) 0%, rgba(11, 26, 48, 0.2) 58%, rgba(255, 255, 255, 0.05) 100%),
    url("assets/puerto.jpg") center 32% / cover no-repeat;
  color: white;
  text-align: center;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  margin: 0 auto;
}
.brand img {
  width: 84px;
  height: 84px;
  filter: drop-shadow(0 8px 18px rgba(11, 26, 48, 0.35));
}
.brand-copy {
  display: grid;
  gap: 0.15rem;
  filter: drop-shadow(0 2px 12px rgba(11, 26, 48, 0.45));
}
.brand strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.7rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.brand-mark { color: #fff; }
.brand-product {
  background: linear-gradient(100deg, #f0a202 0%, #ffe08a 45%, #e07b32 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-sub {
  display: block;
  font-family: var(--sans);
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.71rem, 1.5vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0;
}
.brand-claim {
  display: block;
  max-width: 52rem;
  margin: 0.2rem auto 0;
  font-family: var(--sans);
  color: #f0a202;
  font-size: clamp(0.68rem, 1.25vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.045em;
  line-height: 1.4;
  text-transform: uppercase;
}
.top-nav { display: flex; gap: 0.35rem; flex-wrap: wrap; justify-content: center; width: 100%; }
.top-nav button, .ghost, .solid {
  border: 1px solid transparent;
  background: transparent;
  color: white;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
}
.top-nav button { color: rgba(255,255,255,0.82); font-family: var(--sans); font-weight: 500; }
.solid, .ghost { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; }
.top-nav button.active, .top-nav button:hover { background: rgba(255,255,255,0.08); color: white; }
.solid {
  background: linear-gradient(180deg, var(--amber), var(--ember));
  color: var(--navy);
}
.ghost { border-color: rgba(240,162,2,0.7); }

.wrap { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.intro { padding: 1.6rem 0 0.2rem; max-width: none; container-type: inline-size; }
.intro h1 { display: grid; gap: 0.2rem; }
.intro-lead, .intro-sub { display: block; white-space: nowrap; }
.intro-lead { font-size: clamp(1.05rem, 3.15cqi, 2.15rem); }
.intro-sub {
  font-size: clamp(0.7rem, 1.38cqi, 1.08rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.intro p {
  margin: 0.85rem 0 0;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--muted);
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  padding: 1.8rem 0 2.4rem;
}
.hero h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.kicker {
  margin: 0 0 0.8rem;
  color: var(--ember);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.lead { font-size: 1.05rem; line-height: 1.65; color: var(--muted); max-width: 40rem; }
.hero-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hero-actions .solid, .hero-actions .ghost { text-decoration: none; display: inline-flex; align-items: center; }
.hero-actions .ghost { color: var(--navy); border-color: #d5dbe3; background: white; }

.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.1rem;
}
.panel h2, .block h2, .section-title { margin: 0 0 0.35rem; font-size: 1.35rem; letter-spacing: -0.03em; }
.muted { color: var(--muted); }
.small { font-size: 0.84rem; line-height: 1.5; }
.mono {
  font-family: var(--sans);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.phases { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0.4rem 0 1.6rem; }
.phases span, .tag {
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
  background: white;
  border: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 700;
}
.phases .now { background: #fff6e4; border-color: #f3d48a; color: #8a4b08; }

.tool-grid, .card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.factors-lead {
  grid-column: 1 / -1;
  margin: 0.2rem 0 0.15rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  color: #f0a202;
}
.news-card-wide { grid-column: 1 / -1; }
.va-note { margin-top: 0.9rem; }
.va-note h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}
.va-note p { margin: 0.55rem 0 0; }
.news-card .va-note strong {
  display: inline;
  margin: 0;
  font-family: inherit;
  font-weight: 700;
}
.va-eq { margin-top: 0.75rem; }
.tool, .news-card, .admin-card {
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(11, 26, 48, 0.04);
}
.tool strong, .news-card strong { display: block; margin-bottom: 0.3rem; }
.tool-num { margin-right: 0.35rem; }
.tool-process {
  margin: 0.15rem 0 0.85rem;
  color: #122033;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tool { cursor: pointer; }
.tool:hover { border-color: #f3d48a; transform: translateY(-2px); }

.workspace { display: grid; grid-template-columns: 280px 1fr; gap: 1rem; padding: 1rem 0 2.5rem; }
.side {
  background: var(--navy);
  color: white;
  border-radius: 18px;
  padding: 0.8rem;
  height: fit-content;
  position: sticky;
  top: 86px;
}
.side button {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.78);
  border-radius: 10px;
  padding: 0.62rem 0.7rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.86rem;
}
.side button.active, .side button:hover { background: rgba(255,255,255,0.08); color: white; }
.side .phase-note { margin: 0.8rem 0.4rem 0.2rem; color: rgba(255,255,255,0.5); font-size: 0.72rem; }

.block { display: grid; gap: 0.9rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
label { display: grid; gap: 0.3rem; font-size: 0.78rem; font-weight: 500; color: #3e4c5f; }
input, select, textarea {
  width: 100%;
  border: 1px solid #d9e0ea;
  background: #fbfcfe;
  border-radius: 10px;
  padding: 0.7rem 0.75rem;
  outline: none;
}
input[type="checkbox"] { width: 1rem; height: 1rem; padding: 0; }
.span-2 span { display: flex; align-items: center; gap: 0.5rem; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(240,162,2,0.18); }
.span-2 { grid-column: span 2; }

.results { display: grid; gap: 0.8rem; }
.stat-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 0.7rem; }
.stat {
  background: var(--navy);
  color: white;
  border-radius: 16px;
  padding: 0.9rem 1rem;
}
.stat span { display: block; color: rgba(255,255,255,0.65); font-size: 0.75rem; font-weight: 700; }
.stat strong {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.stat.light { background: white; color: var(--ink); border: 1px solid var(--line); }
.stat.light span { color: var(--muted); }
.stat em { font-style: normal; color: #f6c56b; font-size: 0.75rem; font-weight: 700; }

.bar { display: flex; height: 18px; border-radius: 999px; overflow: hidden; background: #eef2f6; }
.bar i { display: block; height: 100%; }
.legend { display: grid; gap: 0.35rem; margin-top: 0.8rem; }
.legend div { display: grid; grid-template-columns: 14px 1fr auto; gap: 0.5rem; align-items: center; font-size: 0.86rem; }
.swatch { width: 14px; height: 14px; border-radius: 4px; }
.tone-navy { background: var(--navy); }
.tone-blue { background: var(--blue); }
.tone-teal { background: var(--teal); }
.tone-ember { background: var(--ember); }
.tone-amber { background: var(--amber); }
.tone-gum { background: var(--gum); }
.tone-cherry { background: var(--cherry); }
.tone-slate { background: var(--slate); }
.tone-sage { background: var(--sage); }

.donut-wrap { display: grid; grid-template-columns: 160px 1fr; gap: 1rem; align-items: center; }
.donut {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.donut b {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: white;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.25;
}

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0.8rem; }
.notice, .warn {
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font-size: 0.84rem;
  line-height: 1.5;
}
.notice { background: #f3f7f6; color: #24564f; }
.warn { background: #fff6e8; color: #7a4a10; }
.chat { display: grid; gap: 0.55rem; min-height: 280px; }
.bubble { max-width: 90%; padding: 0.7rem 0.8rem; border-radius: 14px; line-height: 1.5; font-size: 0.92rem; }
.bubble.user { margin-left: auto; background: var(--navy); color: white; }
.bubble.bot { background: #f3f5f8; }
.chat-form { display: flex; gap: 0.5rem; }
.file-row { display: flex; gap: 0.8rem; align-items: center; }
.preview { width: 92px; height: 92px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: white; }
.match { border-left: 3px solid var(--amber); padding-left: 0.7rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th, td { text-align: left; padding: 0.55rem 0.3rem; border-bottom: 1px solid var(--line); }
.status { font-weight: 800; font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; }
.status.activa { color: var(--good); }
.status.pendiente, .status.preparada, .status.referencia { color: #9a6414; }
.footer-note { padding: 0 0 2rem; color: var(--muted); font-size: 0.78rem; }

@media (max-width: 980px) {
  .hero, .workspace, .split, .donut-wrap, .stat-row, .card-grid, .form-grid,
  .page-grid, .service-grid, .quote-layout, .contact-layout, .site-footer-grid, .metric-row { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .side {
    position: sticky;
    top: var(--nav-h);
    z-index: 15;
    display: flex;
    gap: 0.35rem;
    overflow: auto;
    background: var(--navy);
  }
  .side button { width: auto; white-space: nowrap; }
  .side .phase-note { display: none; }
  .top-nav { display: none; }
  .dof-badge { width: 100%; margin-left: 0; justify-content: space-between; }
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-h);
  padding: 0 1.25rem;
  background: rgba(11, 26, 48, 0.96);
  color: white;
  border-bottom: 1px solid rgba(240, 162, 2, 0.32);
  backdrop-filter: blur(14px);
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  color: white;
  text-decoration: none;
}
.site-logo img { width: 36px; height: 36px; flex: none; }
.site-logo span {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(0.92rem, 1.5vw, 1.2rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  white-space: nowrap;
}
.site-logo em {
  font-style: normal;
  background: linear-gradient(100deg, #f0a202 0%, #ffe08a 45%, #e07b32 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.site-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem 1.15rem;
}
.site-menu a {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.35rem 0;
  white-space: nowrap;
}
.site-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #f0a202, #e07b32);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}
.site-menu a:hover,
.site-nav[data-page="nosotros"] a[data-nav="nosotros"],
.site-nav[data-page="servicios"] a[data-nav="servicios"],
.site-nav[data-page="cotizador"] a[data-nav="cotizador"],
.site-nav[data-page="guia"] a[data-nav="guia"],
.site-nav[data-page="tendencias"] a[data-nav="tendencias"],
.site-nav[data-page="contacto"] a[data-nav="contacto"] {
  color: #f0a202;
}
.site-menu a:hover::after,
.site-nav[data-page="nosotros"] a[data-nav="nosotros"]::after,
.site-nav[data-page="servicios"] a[data-nav="servicios"]::after,
.site-nav[data-page="cotizador"] a[data-nav="cotizador"]::after,
.site-nav[data-page="guia"] a[data-nav="guia"]::after,
.site-nav[data-page="tendencias"] a[data-nav="tendencias"]::after,
.site-nav[data-page="contacto"] a[data-nav="contacto"]::after {
  transform: scaleX(1);
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(240, 162, 2, 0.45);
  border-radius: 10px;
  background: transparent;
  place-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: white;
  border-radius: 2px;
}

.page { padding: 2.2rem 0 3.2rem; }
.page .ghost { color: var(--navy); border-color: #d5dbe3; background: white; text-decoration: none; }
.page .solid { text-decoration: none; display: inline-flex; align-items: center; }
.page-hero { max-width: 46rem; margin-bottom: 1.6rem; }
.page-hero h1 { margin-bottom: 0.75rem; }
.page-grid, .service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
.page-card h2, .page-card h3 { margin: 0 0 0.45rem; font-size: 1.2rem; letter-spacing: -0.03em; }
.page-card p, .prose p { margin: 0 0 0.8rem; line-height: 1.65; color: #3d4c5e; }
.page-card p:last-child, .prose p:last-child { margin-bottom: 0; }
.prose { display: grid; gap: 0.85rem; }
.why-list { margin: 0.4rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.85rem; }
.why-list li { margin: 0; line-height: 1.65; color: #3d4c5e; }
.why-list strong { color: var(--navy); }
.prose h2 { margin: 0.4rem 0 0; font-size: 1.45rem; letter-spacing: -0.03em; }
.quote-layout, .contact-layout { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 1rem; align-items: start; }
.wa-panel {
  background: var(--navy);
  color: white;
  border-radius: 18px;
  padding: 1.15rem;
}
.wa-panel h2 { margin: 0 0 0.45rem; color: white; font-size: 1.25rem; }
.wa-panel p { margin: 0 0 0.9rem; color: rgba(255, 255, 255, 0.78); line-height: 1.55; }
.wa-button, .wa-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  background: #1faa59;
  color: white;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.wa-button { padding: 0.75rem 1rem; }
.wa-button:hover, .wa-float:hover { background: #188a48; }
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 45;
  padding: 0.8rem 1rem;
  box-shadow: 0 12px 30px rgba(11, 26, 48, 0.22);
}
.contact-list { display: grid; gap: 0.85rem; margin: 0; padding: 0; list-style: none; }
.contact-list strong { display: block; font-family: var(--display); font-size: 0.95rem; }
.contact-list span, .contact-list a { color: #3d4c5e; line-height: 1.5; }
.form-note { min-height: 1.2rem; margin: 0.35rem 0 0; color: var(--teal); font-size: 0.86rem; }
.check-line { display: flex; align-items: center; gap: 0.55rem; font-weight: 500; }
.check-line input { width: 1rem; height: 1rem; }

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 2rem 0 1.4rem;
}
.site-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.2rem;
  align-items: start;
}
.site-footer-brand {
  margin: 0 0 0.35rem;
  color: white;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.site-footer p { margin: 0 0 0.35rem; line-height: 1.5; }
.site-footer a { color: #f0a202; text-decoration: none; }
.site-footer .footer-mail { margin: 0.85rem 0 0; font-size: 0.78rem; line-height: 1.5; font-weight: 400; }
.site-footer .footer-mail a { color: #fff; font-size: inherit; font-weight: inherit; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.45rem 1rem; }
.site-footer nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-footer nav a:hover { color: #f0a202; }
.site-footer-legal {
  margin-top: 1.2rem;
  padding-top: 1rem;
  padding-right: 9.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
}
.site-footer-legal p { max-width: 52rem; }
.site-footer .site-blessing {
  margin: 0.9rem 0 0;
  padding: 0;
  color: #e4e7eb;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 8px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  text-align: center;
}

.boletin-page .page-hero { max-width: none; }
.boletin-page .page-hero .lead { max-width: 52rem; }
.boletin-heading {
  margin: 1.35rem 0 0.7rem;
  color: #122033;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.boletin-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.boletin-list { margin: 0.35rem 0 0.2rem; padding-left: 1.15rem; }
.boletin-list li { margin: 0.28rem 0; }
.boletin-cierre { margin-top: 0.85rem; }
.boletin-cierre h3 {
  color: #8a5a00;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.boletin-fuente {
  margin: 0.85rem 0 0;
  color: #5d6b7c;
  font-size: 0.82rem;
  line-height: 1.5;
}
@media (max-width: 800px) {
  .boletin-split { grid-template-columns: 1fr; }
}
.trend-list { display: grid; gap: 0.85rem; }
.trend-card { display: grid; gap: 0.35rem; }
.trend-card span {
  color: var(--ember);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dof-panel .dof-badge {
  width: 100%;
  margin-top: 0.8rem;
  background: var(--navy);
}

@media (max-width: 1100px) {
  .site-nav { gap: 0.55rem; padding: 0 0.75rem; }
  .site-logo span { font-size: 0.92rem; }
  .site-menu { gap: 0.65rem; }
  .site-menu a { font-size: 0.64rem; letter-spacing: 0.045em; }
}
@media (max-width: 560px) {
  .nav-toggle { display: grid; }
  .portal .site-nav .dof-badge { display: none; }
  .site-logo span { font-size: 0.82rem; }
  .site-menu {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem 1.1rem 0.9rem;
    background: #0b1a30;
    border-bottom: 1px solid rgba(240, 162, 2, 0.35);
  }
  .site-menu.is-open { display: flex; }
  .site-menu a { padding: 0.75rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
}

body.portal {
  padding-top: calc(var(--tape-h) + 128px);
  background: #fff;
  color: var(--ink);
}
.portal .market-tape {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
}
.site-nav .dof-badge {
  width: auto;
  flex: 0 1 auto;
  margin-right: auto;
  padding: 0.2rem 0.6rem;
  background: rgba(15, 23, 42, 0.45);
}
.portal .site-nav .dof-kicker { font-size: 0.58rem; letter-spacing: 0.03em; }
.portal .site-nav .dof-date { display: none; }
.portal .site-nav .dof-badge strong { font-size: 0.95rem; }
@media (max-width: 860px) {
  .portal .site-nav .dof-kicker,
  .portal .site-nav .dof-trend { display: none; }
}
.portal .site-nav {
  top: calc(var(--tape-h) + 8px);
  left: 0.75rem;
  right: 0.75rem;
  width: auto;
  height: 64px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(11, 15, 23, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}
.portal-hero {
  position: relative;
  text-align: center;
  padding: 0.6rem 0 1.2rem;
}
.hero-stage {
  position: relative;
  overflow: hidden;
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1.75rem 2.15rem;
  border-radius: 28px;
  border: 1px solid rgba(125, 176, 232, 0.35);
  background:
    radial-gradient(ellipse 52% 78% at 16% 18%, rgba(56, 130, 246, 0.42), transparent 62%),
    radial-gradient(ellipse 46% 70% at 88% 82%, rgba(240, 162, 2, 0.2), transparent 58%),
    linear-gradient(165deg, #1a3d6e 0%, #123056 46%, #0c2344 100%);
  box-shadow: 0 18px 42px rgba(12, 35, 68, 0.22);
}
.hero-stage .pill { color: #f6c56b; }
.hero-stage h1 { color: #fff; }
.hero-stage .portal-lead { color: rgba(226, 232, 240, 0.88); }
.hero-stage .hero-actions .ghost {
  color: #e2e8f0;
  border-color: rgba(226, 232, 240, 0.5);
  background: transparent;
}
.portal-hero > * { position: relative; z-index: 1; }
.pill {
  display: inline-flex;
  margin: 0;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(240, 162, 2, 0.75);
  border-radius: 999px;
  background: rgba(240, 162, 2, 0.08);
  color: #f6c56b;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.portal-hero h1 {
  max-width: 64rem;
  margin: 1.15rem auto 0;
  color: #fff;
  font-size: clamp(1.85rem, 3.5vw, 3.15rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.04em;
  white-space: normal;
}
.portal-hero h1 .gold {
  background: linear-gradient(100deg, #f0a202 0%, #ffe08a 48%, #e07b32 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.portal-lead {
  max-width: 48rem;
  margin: 1rem auto 0;
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.65;
}
.portal-hero .pill {
  max-width: min(52rem, calc(100% - 1rem));
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-wrap: balance;
  border: 0;
  background: transparent;
}
.hybrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  max-width: 64rem;
  margin: 1.35rem auto 0;
  align-items: stretch;
}
.hybrid article {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  padding: 1.2rem 1.35rem;
}
.hybrid h2 {
  margin: 0 0 0.55rem;
  color: #fff;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  text-align: center;
  min-height: 2.6em;
}
.hybrid-more {
  margin: 1.05rem 0 0;
  text-align: center;
}
.hybrid-more a {
  color: #f6c56b;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.hybrid-more a:hover { text-decoration: underline; }
.hybrid p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.6;
  text-align: justify;
  text-align-last: center;
  text-wrap: pretty;
}
.portal .hero-actions { justify-content: center; }
.portal .hero-actions .ghost {
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.45);
  background: transparent;
}
.portal .hero-actions .solid {
  box-shadow: 0 0 0 1px rgba(240, 162, 2, 0.35), 0 0 28px rgba(240, 162, 2, 0.38);
}
.metric-row {
  display: grid;
  grid-template-columns: minmax(280px, 36rem);
  justify-content: center;
  gap: 0.85rem;
  margin: 2rem 0 1.4rem;
}
.glass {
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid #1e293b;
  border-radius: 18px;
  padding: 1rem 1.05rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 18px 40px rgba(0, 0, 0, 0.22);
}
.glass .dof-badge {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  justify-content: space-between;
}
.metric span, .metric em {
  display: block;
  color: #94a3b8;
  font-style: normal;
  font-size: 0.78rem;
}
.metric strong {
  display: block;
  margin: 0.35rem 0 0.2rem;
  color: #fff;
  font-family: var(--sans);
  font-size: 1.55rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.portal .panel,
.portal .tool,
.portal .news-card,
.portal .admin-card {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid #1e293b;
  color: #e2e8f0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.portal .tool-grid .tool {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.05rem 3.2rem 1.05rem 1.05rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.portal .tool-grid .tool::after {
  content: "";
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 38px;
  height: 38px;
  background: url("assets/estrella.png") center / contain no-repeat;
  opacity: 0.28;
  pointer-events: none;
}
.portal .tool-grid .tool strong,
.portal .tool-grid .tool span { position: relative; z-index: 1; }
.portal .tool-grid .tool strong {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.portal .tool-grid .tool span { font-size: 0.92rem; line-height: 1.5; }
.portal .tool-grid .tone-calc { background: #1A4B5D; color: #fff; }
.portal .tool-grid .tone-landed { background: #3C889A; color: #fff; }
.portal .tool-grid .tone-class { background: #E2F3E8; color: #111827; border-color: rgba(17, 24, 39, 0.08); }
.portal .tool-grid .tone-nom { background: #C1653C; color: #fff; }
.portal .tool-grid .tone-inco { background: #FDFDF3; color: #111827; border-color: rgba(17, 24, 39, 0.08); }
.portal .tool-grid .tone-ai { background: #DF9A28; color: #0F172A; border-color: rgba(15, 23, 42, 0.12); }
.portal .tool-grid .tone-trade { background: #1C2028; color: #fff; }
.portal .tool-grid .tone-admin { background: #5D2A4A; color: #fff; }
.portal .tool-grid .tone-news { background: #2C4A6E; color: #fff; }
.portal .tool-grid .tone-calc strong,
.portal .tool-grid .tone-landed strong,
.portal .tool-grid .tone-nom strong,
.portal .tool-grid .tone-trade strong,
.portal .tool-grid .tone-admin strong,
.portal .tool-grid .tone-news strong,
.portal .tool-grid .tone-calc span,
.portal .tool-grid .tone-landed span,
.portal .tool-grid .tone-nom span,
.portal .tool-grid .tone-trade span,
.portal .tool-grid .tone-admin span,
.portal .tool-grid .tone-news span { color: #fff; }
.portal .tool-grid .tone-class strong,
.portal .tool-grid .tone-inco strong,
.portal .tool-grid .tone-class span,
.portal .tool-grid .tone-inco span { color: #111827; }
.portal .tool-grid .tone-ai strong,
.portal .tool-grid .tone-ai span { color: #0F172A; }
.portal .tool-grid .tone-class::after,
.portal .tool-grid .tone-inco::after,
.portal .tool-grid .tone-ai::after { opacity: 0.55; }
.portal .tool:hover { border-color: rgba(240, 162, 2, 0.55); }
.portal .muted, .portal .small.muted, .portal .portal-lead { color: #94a3b8; }
.portal h2, .portal h3, .portal .tool strong { color: #f8fafc; }
.portal label { color: #94a3b8; }
.portal input, .portal select, .portal textarea {
  background: rgba(11, 15, 23, 0.72);
  border-color: #1e293b;
  color: #f8fafc;
}
.portal .stat.light {
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
  border-color: #1e293b;
}
.portal .stat.light span { color: #94a3b8; }
.portal .phases span, .portal .tag {
  background: transparent;
  color: #cbd5e1;
  border-color: #1e293b;
}
.portal .notice { background: rgba(28, 124, 114, 0.12); }
.portal .warn { background: rgba(240, 162, 2, 0.1); }
.portal .bubble.bot { background: #1e293b; color: #e2e8f0; }
.portal th, .portal td { border-color: #1e293b; }
.portal .side { top: calc(var(--tape-h) + 84px); border: 1px solid #1e293b; }
.portal .site-footer { border-top: 1px solid #1e293b; }

body.ai-page {
  padding-top: 136px;
  background: #fff;
  color: var(--ink);
}
.ai-page .site-nav {
  top: 12px;
  left: 0.75rem;
  right: 0.75rem;
  width: auto;
  height: 64px;
  border-radius: 16px;
  background: rgba(11, 15, 23, 0.72);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.ai-page .page-hero h1 { color: #fff; }
.freight-hero {
  display: block;
  max-width: none;
}
.freight-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}
.freight-hero-top > div:first-child { flex: 1; min-width: 0; }
.freight-hero .portal-lead {
  max-width: none;
  margin: 1rem 0 0;
  text-align: left;
}
.quote-entries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.15rem;
}
.quote-entries .solid {
  justify-content: center;
  text-align: center;
  text-decoration: none;
  padding: 0.85rem 0.9rem;
  font-size: 0.95rem;
}
#internacional,
#nacional,
#seguro { scroll-margin-top: 148px; }
@media (max-width: 720px) {
  .quote-entries { grid-template-columns: 1fr; }
}
.freight-hero .dof-badge {
  flex: none;
  width: max-content;
  align-self: flex-start;
  margin: 0.2rem 0 0;
  background: rgba(15, 23, 42, 0.72);
}
.freight-hero .dof-badge strong {
  font-family: var(--display);
  font-size: 1.45rem;
}
@media (max-width: 720px) {
  .freight-hero-top { flex-direction: column; }
  .freight-hero .dof-badge { align-self: flex-end; }
  .tool-grid { grid-template-columns: 1fr; }
}
.ai-page .section-title { color: #fff; }
.ai-page .panel {
  background: rgba(15, 23, 42, 0.62);
  border-color: #1e293b;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 18px 40px rgba(0, 0, 0, 0.22);
  color: #e2e8f0;
}
.ai-page .panel h2,
.ai-page .panel h3,
.ai-page .why-list strong { color: #fff; }
.ai-page .page-card p,
.ai-page .prose p,
.ai-page .why-list li { color: #94a3b8; }
.ai-page .page .ghost {
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.35);
  background: transparent;
}
.ai-page .site-footer { color: #94a3b8; border-top-color: #1e293b; }
.ai-page .site-footer a { color: #e2e8f0; }
.site-footer .footer-mail a { color: #fff; }
.freight-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}
.freight-form, .freight-result, .order-dialog {
  padding: 1.15rem;
  border: 1px solid rgba(240, 162, 2, 0.28);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.08), 0 18px 50px rgba(0, 0, 0, 0.28);
}
.mode-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.45rem; margin-bottom: 1rem; }
.mode-switch button {
  border: 1px solid #1e293b;
  background: rgba(15, 23, 42, 0.5);
  color: #94a3b8;
  border-radius: 999px;
  padding: 0.7rem 0.6rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
}
.mode-switch button.is-on {
  color: #1a1203;
  background: linear-gradient(180deg, #ffd36a, var(--amber));
  border-color: transparent;
}
.mode-switch button[data-mode="air"].is-on {
  color: #082f49;
  background: linear-gradient(180deg, #7dd3fc, #38bdf8);
  border-color: transparent;
}
.freight-form.is-air, .freight-result.is-air {
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.1), 0 0 28px rgba(14, 165, 233, 0.1);
}
.air-dims, .mode-panel .span-2 { grid-column: 1 / -1; }
.air-dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.air-code, .freight-total strong, .freight-lines strong {
  font-family: var(--display);
  font-weight: 700;
}
.air-legal {
  margin: 0.8rem 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: 14px;
  background: rgba(14, 165, 233, 0.06);
}
.air-legal p {
  margin: 0.35rem 0;
  color: #e2e8f0;
  font-family: var(--sans);
  font-size: 0.84rem;
  line-height: 1.5;
}
.mode-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.mode-panel[hidden] { display: none; }
.freight-form label { display: grid; gap: 0.35rem; font-size: 0.82rem; color: #cbd5e1; }
.freight-form input, .freight-form select {
  width: 100%;
  border: 1px solid #334155;
  background: rgba(11, 15, 23, 0.72);
  color: #f8fafc;
  border-radius: 12px;
  padding: 0.72rem 0.8rem;
  font-family: var(--sans);
}
.freight-go { width: 100%; margin-top: 1rem; }
.freight-note { margin: 0.75rem 0 0; color: #94a3b8; font-size: 0.82rem; }
.freight-note a { color: #f6c56b; }
.freight-result h2, .order-dialog h2 {
  margin: 0.7rem 0 0.25rem;
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}
.freight-lines { display: grid; gap: 0.45rem; margin: 1rem 0; }
.freight-lines div, .freight-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}
.freight-lines strong, .freight-total strong, .freight-mxn {
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
}
.freight-total { margin: 0; font-size: 1.05rem; }
.freight-total strong { font-size: 1.55rem; color: #fff; }
.freight-mxn { margin: 0.45rem 0 0; color: #f6c56b; font-size: 1.2rem; }
.freight-mxn em { display: block; margin-top: 0.15rem; color: #94a3b8; font-family: var(--sans); font-style: normal; font-size: 0.78rem; }
.freight-meta { margin: 0.35rem 0; color: #94a3b8; font-size: 0.88rem; }
.freight-includes { margin: 0.6rem 0 1rem; padding-left: 1.1rem; color: #e2e8f0; }
.freight-includes li { margin: 0.25rem 0; }
.freight-result .solid, .order-dialog .solid { width: 100%; }
.order-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(2, 6, 16, 0.72);
}
.advisor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.advisor-card, .advisor-cta, .advisor-home {
  border: 1px solid rgba(240, 162, 2, 0.28);
}
.advisor-card h2, .advisor-cta h2, .advisor-home h2 {
  margin: 0 0 0.45rem;
  color: #fff;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.advisor-card p, .advisor-cta p, .advisor-home p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
}
.advisor-cta, .advisor-home {
  margin-top: 1rem;
  text-align: center;
}
.broker { margin-top: 2.4rem; }
.broker > .pill {
  display: flex;
  width: fit-content;
  margin-left: 0;
  margin-right: auto;
}
.broker > h2, .broker > h3 {
  margin: 0.8rem 0 0.45rem;
  color: #fff;
  font-family: var(--display);
  letter-spacing: -0.03em;
  text-align: left;
}
.broker > h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.broker > h3 { font-size: 1.15rem; color: #f6c56b; font-weight: 600; }
.broker > .portal-lead {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}
.enterprise {
  margin-top: 2.6rem;
  padding: 1.45rem 0 1.2rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  text-align: left;
}
.enterprise > .pill {
  display: flex;
  width: fit-content;
  margin-left: 0;
  margin-right: auto;
}
.enterprise > h2 {
  margin: 0.8rem 0 0.45rem;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
}
.enterprise > .portal-lead { text-align: center; }
.enterprise-home {
  border-width: 2px;
  border-color: rgba(240, 162, 2, 0.5);
  box-shadow: 0 0 0 1px rgba(240, 162, 2, 0.14), 0 0 36px rgba(240, 162, 2, 0.16);
}
.enterprise-cta { background: transparent; border: 0; box-shadow: none; padding: 1.1rem 0 0; }
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1.1rem;
  text-align: left;
}
.pillar {
  width: 100%;
  color: inherit;
  cursor: pointer;
  text-align: left;
  border: 1px solid rgba(240, 162, 2, 0.28);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.pillar:hover, .pillar[aria-pressed="true"] {
  border-color: rgba(240, 162, 2, 0.75);
  box-shadow: 0 0 24px rgba(240, 162, 2, 0.16);
}
.pillar span {
  display: block;
  margin-bottom: 0.35rem;
  color: #f6c56b;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
.pillar h3 {
  margin: 0 0 0.4rem;
  color: #fff;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}
.pillar p {
  margin: 0;
  color: #94a3b8;
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.55;
}
@media (max-width: 1100px) {
  .pillar-grid { grid-template-columns: 1fr 1fr; }
}
.advisor-price {
  margin: 0 0 0.35rem;
  color: #f6c56b;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.advisor-cta h2, .enterprise-cta h2 { text-align: left; }
.advisor-session { text-align: left; }
.advisor-session h2 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.advisor-session .advisor-price { color: #9a6700; }
.advisor-session ul {
  margin: 0.75rem 0 0.9rem;
  padding-left: 1.15rem;
  color: #3d4c5e;
  font-size: 0.95rem;
  line-height: 1.55;
}
.advisor-session .advisor-note {
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-left: 4px solid #c4922a;
  border-radius: 12px;
  background: #fff8e6;
  color: #3f3422;
}
.advisor-session .solid { margin-top: 1rem; }
.ai-page .page-hero .pill { border: 0; background: transparent; }
.freight-hero .pill {
  margin-bottom: 1rem;
  padding-left: 0;
  padding-right: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.pill-lg {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.cita-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.8rem;
  text-align: left;
}
.cita-form label { display: grid; gap: 0.35rem; font-size: 0.82rem; color: #cbd5e1; }
.cita-form .span-2 { grid-column: 1 / -1; }
.cita-form input, .cita-form select, .cita-form textarea {
  width: 100%;
  border: 1px solid #334155;
  background: rgba(11, 15, 23, 0.72);
  color: #f8fafc;
  border-radius: 12px;
  padding: 0.72rem 0.8rem;
  font-family: var(--sans);
}
.cita-form textarea { min-height: 6rem; resize: vertical; }
.order-modal[hidden] { display: none; }
.order-dialog { width: min(560px, 100%); position: relative; }
.order-dialog p { color: #cbd5e1; }
.order-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid #334155;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.order-steps { margin: 0.4rem 0 1rem; padding-left: 1.2rem; color: #e2e8f0; }
.order-steps li { margin: 0.35rem 0; }
.freight-service, .freight-home {
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.freight-service {
  margin-top: 2.6rem;
  padding: 1.45rem 0 1.25rem;
  text-align: left;
}
.freight-service > .pill {
  display: flex;
  width: fit-content;
  margin-left: 0;
  margin-right: auto;
}
.freight-service > h2, .freight-home h2 {
  font-family: var(--display);
  letter-spacing: -0.03em;
}
.freight-service > h2 {
  margin: 0.8rem 0 0.45rem;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}
.freight-service > .portal-lead { text-align: center; }
.mode-grid, .feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1.1rem;
  text-align: left;
}
.mode-card { border: 1px solid rgba(240, 162, 2, 0.28); }
.mode-card h3, .feature-row h3 {
  margin: 0 0 0.4rem;
  color: #fff;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}
.mode-card p, .feature-row p {
  margin: 0;
  color: #94a3b8;
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.55;
}
.feature-row article {
  padding: 0.15rem 0.2rem;
}
.freight-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.15rem;
}
.freight-actions .solid, .freight-actions .ghost {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ai-page .freight-service .ghost, .portal .freight-home .ghost {
  color: #e2e8f0;
  border-color: rgba(240, 162, 2, 0.55);
  background: transparent;
}
.sourcing, .sourcing-home {
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.sourcing {
  margin-top: 2.6rem;
  padding: 1.45rem 0 1.2rem;
  text-align: left;
}
.sourcing > .pill {
  display: flex;
  width: fit-content;
  margin-left: 0;
  margin-right: auto;
}
.sourcing > h2 {
  margin: 0.8rem 0 0.45rem;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.sourcing > .portal-lead { text-align: center; }
.sourcing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.1rem;
  text-align: left;
}
.sourcing-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(240, 162, 2, 0.28);
}
.sourcing-card svg {
  width: 1.7rem;
  height: 1.7rem;
  margin-bottom: 0.55rem;
  fill: none;
  stroke: #f0a202;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sourcing-card h3 {
  margin: 0 0 0.4rem;
  color: #fff;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.sourcing-card p {
  margin: 0;
  color: #94a3b8;
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.55;
}
.sourcing-card ul {
  margin: 0.75rem 0 1rem;
  padding-left: 1.15rem;
  color: #3d4c5e;
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.55;
}
.sourcing-card .solid { margin-top: auto; }
.sourcing-cta { background: transparent; border: 0; box-shadow: none; }
.sourcing-form-file, .cita-form input[type="file"] {
  padding: 0.55rem 0.2rem;
  border: 0;
  background: transparent;
  color: #cbd5e1;
}
.file-pick {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 2.4rem;
  margin-top: 0.35rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid #334155;
  border-radius: 12px;
  color: #e2e8f0;
  font-family: var(--sans);
  overflow: hidden;
}
.file-pick input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.nom-page { padding-bottom: 2.5rem; }
.nom-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.82fr);
  column-gap: 1.25rem;
  row-gap: 1.15rem;
  align-items: start;
  margin-bottom: 1.15rem;
}
.nom-intro-main { display: contents; }
.nom-intro .page-hero { grid-column: 1 / -1; grid-row: 1; }
.nom-intro .page-hero h1 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.25rem, 3.15vw, 2.55rem);
}
.nom-intro .portal-lead {
  max-width: none;
  margin: 0.75rem 0 0;
  text-align: justify;
  text-justify: inter-word;
}
.nom-intro .nom-official { grid-column: 1; grid-row: 2; margin-top: 0; }
.nom-intro .nom-aside {
  grid-column: 2;
  grid-row: 2;
  align-self: stretch;
  align-content: stretch;
  grid-template-rows: 1fr 1fr;
}
.nom-intro .page-hero { max-width: none; margin-bottom: 0; }
.nom-intro .nom-badges { justify-content: flex-start; }
.nom-important {
  background: #fff8e6;
  border: 1px solid #e4c36a;
  border-left: 4px solid #c4922a;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(154, 103, 0, 0.1);
  padding: 1.05rem 1.15rem 1.1rem;
  color: #3f3422;
}
.nom-important h2 {
  margin: 0 0 0.85rem;
  color: #8a5a00;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.nom-important h3 {
  margin: 0.85rem 0 0.35rem;
  color: #122033;
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nom-important h3:first-of-type { margin-top: 0; }
.nom-important p {
  margin: 0 0 0.55rem;
  color: #3f3422;
  font-family: var(--sans);
  font-size: 0.86rem;
  line-height: 1.5;
}
.nom-important p:last-child { margin-bottom: 0; }
.nom-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem; margin-top: 1rem; }
.nom-badge {
  display: inline-flex;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
}
.nom-badge.rust { color: #fff; background: #1a3a5c; }
.nom-badge.teal { color: #fff; background: #3d6d99; }
.nom-badge.gold { color: #fff; background: #6b7580; }
.nom-tools {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 0.85rem;
  margin: 0.4rem 0 1rem;
}
.nom-tools label { display: grid; gap: 0.35rem; color: #cbd5e1; font-family: var(--sans); font-size: 0.82rem; }
.nom-tools input, .nom-tools select {
  width: 100%;
  border: 1px solid #334155;
  background: rgba(11, 15, 23, 0.72);
  color: #f8fafc;
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  font-family: var(--sans);
}
.nom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
.nom-card { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid rgba(193, 101, 60, 0.35); text-align: left; }
.nom-card svg {
  width: 1.6rem;
  height: 1.6rem;
  margin-bottom: 0.55rem;
  fill: none;
  stroke: #5eead4;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nom-kicker { margin: 0 0 0.35rem; color: #f6c56b; font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.nom-card h2 { margin: 0; color: #fff; font-family: var(--display); font-size: 1.02rem; font-weight: 700; letter-spacing: -0.03em; }
.nom-card h3 { margin: 0.3rem 0 0.45rem; color: #e2e8f0; font-family: var(--display); font-size: 1.05rem; }
.nom-card p { margin: 0; color: #94a3b8; font-family: var(--sans); font-size: 0.9rem; line-height: 1.5; }
.nom-volt { margin-top: 0.55rem !important; color: #fdba74 !important; font-weight: 600; }
.nom-card .solid { margin-top: 0.9rem; }
.nom-empty { color: #f6c56b; text-align: center; }
.nom-page .freight-note { text-align: center; }
.label-service, .label-home {
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.label-service {
  margin-top: 2.6rem;
  padding: 1.45rem 0 1.25rem;
  text-align: left;
}
.label-service > .pill {
  display: flex;
  width: fit-content;
  margin-left: 0;
  margin-right: auto;
}
.label-service > h2 {
  margin: 0.8rem 0 0.45rem;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.label-service > .portal-lead { text-align: center; }
.label-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
  text-align: left;
}
.label-form label { display: grid; gap: 0.35rem; color: #cbd5e1; font-family: var(--sans); font-size: 0.82rem; }
.label-form input {
  width: 100%;
  border: 1px solid #334155;
  background: rgba(11, 15, 23, 0.72);
  color: #f8fafc;
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  font-family: var(--sans);
}
.label-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; }
.label-actions .solid, .label-actions .ghost, .label-home .ghost {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ai-page .label-service .ghost, .portal .label-home .ghost {
  color: #e2e8f0;
  border-color: rgba(240, 162, 2, 0.55);
  background: transparent;
}
.label-result {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(240, 162, 2, 0.3);
  border-radius: 16px;
  background: rgba(11, 15, 23, 0.45);
  text-align: left;
}
.label-result[hidden] { display: none; }
.label-step {
  margin: 0.8rem 0 0.35rem;
  color: #f6c56b;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.label-code {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
}
.label-result p, .label-result li { color: #cbd5e1; font-family: var(--sans); font-size: 0.92rem; line-height: 1.5; }
.label-result ul { margin: 0.2rem 0 0; padding-left: 1.1rem; }
.label-note { margin-top: 0.8rem !important; color: #94a3b8 !important; font-size: 0.82rem !important; }
.truck-service {
  margin-top: 2.6rem;
  padding: 1.45rem 0 1.25rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.truck-service > h2 {
  margin: 0.8rem 0 0.45rem;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: left;
}
.truck-service > .pill, .truck-service > .portal-lead { text-align: center; }
.truck-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1rem;
  align-items: start;
  margin-top: 1rem;
  text-align: left;
}
.truck-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.truck-form label, .truck-result p, .truck-result li { font-family: var(--sans); }
.truck-form label { display: grid; gap: 0.35rem; color: #cbd5e1; font-size: 0.82rem; }
.truck-form input, .truck-form select {
  width: 100%;
  border: 1px solid #334155;
  background: rgba(11, 15, 23, 0.72);
  color: #f8fafc;
  border-radius: 12px;
  padding: 0.72rem 0.8rem;
  font-family: var(--sans);
}
.truck-span { grid-column: 1 / -1; }
.truck-dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.truck-form label.truck-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #e2e8f0;
}
.truck-check input { width: auto; }
.truck-go { width: 100%; }
.truck-result {
  padding: 1rem;
  border: 1px solid rgba(240, 162, 2, 0.3);
  border-radius: 16px;
  background: rgba(11, 15, 23, 0.45);
}
.truck-result[hidden] { display: none; }
.truck-result h3 {
  margin: 0.2rem 0 0.45rem;
  color: #fff;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
}
.truck-money, .truck-result .freight-total strong, .truck-result .freight-lines strong {
  font-family: var(--display);
  font-weight: 700;
}
.truck-actions { display: grid; gap: 0.65rem; margin-top: 0.9rem; }
.ai-page .truck-service .ghost {
  color: #e2e8f0;
  border-color: rgba(240, 162, 2, 0.55);
  background: transparent;
}
.insure-service {
  margin-top: 2.6rem;
  padding: 1.45rem 0 1.25rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.insure-service > h2 {
  margin: 0.8rem 0 0.45rem;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: left;
}
.insure-service > .pill, .insure-service > .portal-lead { text-align: center; }
.insure-service .pill {
  border-color: rgba(240, 162, 2, 0.75);
  background: rgba(240, 162, 2, 0.08);
  color: #f6c56b;
}
.insure-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1rem;
  align-items: start;
  margin-top: 1rem;
  text-align: left;
}
.insure-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.insure-form label, .insure-result p, .insure-result li { font-family: var(--sans); }
.insure-form label { display: grid; gap: 0.35rem; color: #cbd5e1; font-size: 0.82rem; }
.insure-form input, .insure-form select {
  width: 100%;
  border: 1px solid #334155;
  background: rgba(11, 15, 23, 0.72);
  color: #f8fafc;
  border-radius: 12px;
  padding: 0.72rem 0.8rem;
  font-family: var(--sans);
}
.insure-span { grid-column: 1 / -1; }
.insure-go { width: 100%; }
.insure-result {
  padding: 1rem;
  border: 1px solid rgba(240, 162, 2, 0.3);
  border-radius: 16px;
  background: rgba(11, 15, 23, 0.45);
}
.insure-result[hidden] { display: none; }
.insure-result h3, .insure-money, .insure-result .freight-total strong, .insure-result .freight-lines strong, .insure-folio {
  font-family: var(--display);
  font-weight: 700;
}
.insure-result h3 { margin: 0.2rem 0 0.45rem; color: #fff; font-size: 1.7rem; }
.insure-folio { margin: 0.8rem 0 0.2rem; color: #f6c56b; font-size: 1.2rem; }
.insure-result ul { margin: 0.2rem 0 0; padding-left: 1.1rem; color: #e2e8f0; }
@media (max-width: 860px) {
  .freight-layout, .mode-panel, .hybrid, .advisor-grid, .cita-form, .pillar-grid, .mode-grid, .feature-row, .sourcing-grid, .mode-switch, .air-dims, .nom-grid, .nom-intro, .nom-tools, .label-form, .truck-layout, .truck-form, .truck-dims, .insure-layout, .insure-form { grid-template-columns: 1fr; }
  .cita-form .span-2 { grid-column: auto; }
  .nom-intro .page-hero,
  .nom-intro .nom-official,
  .nom-intro .nom-aside { grid-column: 1; }
  .nom-intro .page-hero { grid-row: 1; }
  .nom-intro .page-hero h1 { white-space: normal; }
  .nom-intro .nom-official { grid-row: 2; }
  .nom-intro .nom-aside { grid-row: 3; align-self: start; align-content: start; }
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  flex: none;
  margin-left: 0.35rem;
  padding: 0.12rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(12px);
}
.lang-switch button {
  border: 0;
  background: transparent;
  color: #cbd5e1;
  border-radius: 999px;
  padding: 0.28rem 0.48rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
}
.lang-switch button.is-on {
  background: #379ebc;
  color: #0b1a30;
}
html[lang="en"] .site-menu { gap: 0.1rem 0.55rem; }
html[lang="en"] .site-menu a { letter-spacing: 0.03em; font-size: 0.66rem; }
html[lang="en"] .solid, html[lang="en"] .ghost {
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}
.pill { white-space: normal; text-align: center; max-width: 100%; }

body,
body.portal,
body.ai-page {
  background: #fff;
  color: #122033;
}
.site-nav,
.portal .site-nav,
.ai-page .site-nav {
  background: #fff;
  color: #122033;
  border-color: #e5e9f0;
  box-shadow: 0 8px 24px rgba(11, 26, 48, 0.06);
}
.site-logo { color: #122033; }
.site-menu a { color: #3d4c5e; }
@media (max-width: 560px) {
  .site-menu {
    background: #fff;
    border-bottom-color: #e5e9f0;
  }
  .site-menu a { border-bottom-color: #e5e9f0; }
}
.site-footer,
.ai-page .site-footer {
  background: #fff;
  color: #5d6b7c;
  border-top: 1px solid #e5e9f0;
}
.site-footer-brand,
.site-footer .footer-mail a,
.site-footer nav a,
.ai-page .site-footer a { color: #122033; }
.portal-hero h1,
.ai-page .page-hero h1,
.hybrid h2,
.broker > h2,
.broker > h3,
.enterprise > h2,
.freight-service > h2,
.freight-home h2,
.sourcing > h2,
.label-service > h2,
.truck-service > h2,
.insure-service > h2,
.advisor-card h2,
.advisor-cta h2,
.enterprise-cta h2,
.mode-card h3,
.feature-row h3,
.sourcing-card h3,
.pillar h3,
.pillar span,
.ai-page .panel h2,
.ai-page .panel h3,
.ai-page .section-title,
.ai-page .why-list strong,
.portal h2,
.portal h3,
.nom-card h2,
.nom-card h3,
.freight-total strong,
.label-code {
  color: #122033;
}
.portal h2.factors-lead {
  color: #f0a202;
  text-align: center;
}
.portal-lead,
.hybrid p,
.portal .muted,
.portal .small.muted,
.portal .portal-lead,
.freight-note,
.advisor-card p,
.advisor-cta p,
.mode-card p,
.feature-row p,
.sourcing-card p,
.pillar p,
.ai-page .prose p,
.ai-page .prose strong,
.ai-page .why-list li,
.ai-page .page-card p,
.freight-meta,
.freight-mxn em,
.label-note,
.nom-card p {
  color: #5d6b7c;
}
.pill,
.freight-hero .pill,
.advisor-price,
.broker > h3 { color: #9a6700; }
.glass,
.ai-page .panel,
.freight-form,
.order-dialog,
.freight-result,
.label-result,
.insure-result {
  background: #fff;
  color: #122033;
  border-color: #e5e9f0;
  box-shadow: 0 8px 24px rgba(11, 26, 48, 0.06);
}
.portal input,
.portal select,
.portal textarea,
.freight-form input,
.freight-form select,
.truck-form input,
.truck-form select,
.insure-form input,
.insure-form select,
.label-form input,
.cita-form input,
.cita-form select,
.cita-form textarea,
.nom-tools input,
.nom-tools select {
  background: #fff;
  color: #122033;
  border-color: #d5dbe3;
}
.freight-form label,
.truck-form label,
.insure-form label,
.label-form label,
.cita-form label,
.nom-tools label,
.portal label,
.mode-switch button,
.order-dialog p,
.order-steps,
.freight-includes,
.label-result p,
.label-result li {
  color: #3d4c5e;
}
.mode-switch button {
  background: #fff;
  border-color: #d5dbe3;
}
.portal .hero-actions .ghost,
.ai-page .page .ghost,
.ai-page .freight-service .ghost,
.ai-page .label-service .ghost,
.ai-page .truck-service .ghost {
  color: #122033;
  border-color: #d5dbe3;
  background: #fff;
}
.freight-hero .dof-badge,
.dof-badge {
  background: #fff;
  color: #122033;
  border-color: rgba(240, 162, 2, 0.55);
}
.side,
.portal .side {
  background: #fff;
  color: #122033;
  border: 1px solid #e5e9f0;
}
.side button { color: #3d4c5e; }
.side button.active,
.side button:hover { background: #fff6e4; color: #122033; }
.nav-toggle span { background: #122033; }
.dof-kicker,
.dof-badge strong,
.freight-hero .dof-badge strong,
.metric strong,
.order-close,
.insure-result h3,
.truck-result h3 {
  color: #122033;
}
.dof-date { color: #5d6b7c; }
.hybrid-more a,
.freight-note a,
.freight-mxn,
.nom-kicker,
.insure-folio,
.insure-service .pill,
.advisor-price {
  color: #9a6700;
}
.label-note { color: #5d6b7c !important; }
.truck-result,
.insure-result {
  background: #fff;
  color: #122033;
  border-color: rgba(240, 162, 2, 0.35);
}
.truck-result p,
.truck-result li,
.insure-result ul,
.order-close {
  color: #3d4c5e;
  border-color: #d5dbe3;
}
.lang-switch {
  background: #fff;
  border-color: #d5dbe3;
}
.lang-switch button { color: #3d4c5e; }
.wa-panel {
  background: #fff;
  color: #122033;
  border: 1px solid #e5e9f0;
}
.wa-panel h2,
.wa-panel a { color: #122033; }
.portal .panel,
.portal .news-card,
.portal .admin-card {
  background: #fff;
  color: #122033;
  border-color: #e5e9f0;
  box-shadow: 0 8px 24px rgba(11, 26, 48, 0.06);
}
.portal th,
.portal td { border-color: #e5e9f0; color: #122033; }
.enterprise.glass,
.freight-service.glass,
.freight-home.glass,
.sourcing.glass,
.sourcing-home.glass,
.label-service.glass,
.label-home.glass,
.truck-service.glass,
.insure-service.glass {
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.pillar.glass,
.mode-card.glass,
.sourcing-card.glass,
.advisor-card.glass {
  background: #fff;
  border: 1px solid rgba(240, 162, 2, 0.28);
  box-shadow: none;
}
.dof-panel .dof-badge {
  background: #fff;
  color: #122033;
  border: 1px solid rgba(240, 162, 2, 0.55);
}
.nom-aside {
  display: grid;
  gap: 1.15rem;
  align-content: start;
}
.nom-docs {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #c9dde8;
  border-left: 4px solid #379ebc;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(18, 48, 86, 0.08);
  padding: 1.05rem 1.15rem 1.1rem;
  color: #1c2a3a;
}
.nom-docs h2 {
  margin: 0 0 0.55rem;
  color: #1a3a5c;
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.nom-docs p,
.nom-docs li {
  margin: 0;
  color: #3d4c5e;
  font-family: var(--sans);
  font-size: 0.86rem;
  line-height: 1.5;
}
.nom-docs ul {
  margin: 0.45rem 0 0.7rem;
  padding-left: 1.15rem;
}
.nom-docs li + li { margin-top: 0.28rem; }
.nom-docs p.nom-docs-note {
  margin: 0;
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px solid #e3eef4;
  color: #1c2a3a;
  font-size: 0.82rem;
}
.nom-official {
  margin-top: 1.15rem;
  padding: 1.05rem 1.1rem 1rem;
  background: #fff;
  border: 1px solid #e5e9f0;
  border-top: 3px solid #1a3a5c;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(11, 26, 48, 0.06);
  color: #122033;
}
.nom-official h2 {
  margin: 0 0 0.4rem;
  color: #1a3a5c;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nom-official h3 {
  margin: 0;
  color: #122033;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nom-official p,
.nom-official small {
  margin: 0.35rem 0 0;
  color: #5d6b7c;
  font-family: var(--sans);
  font-size: 0.84rem;
  line-height: 1.45;
}
.nom-official svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: #1a3a5c;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.nom-source,
.nom-label-list,
.nom-authorities {
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid #eef2f6;
}
.nom-source-head,
.nom-authorities h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.nom-source-links,
.nom-authority-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}
.nom-source-link,
.nom-authority-link {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.65rem;
  border: 1px solid #c5d4e4;
  border-radius: 999px;
  background: #f4f8fb;
  color: #1a3a5c;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.nom-source-link::after { content: " →"; }
.nom-source-link:hover,
.nom-authority-link:hover { border-color: #1a3a5c; background: #fff; }
.nom-label-item {
  margin-top: 0.7rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  background: #fbfcfe;
}
.nom-label-item strong {
  display: block;
  color: #1a3a5c;
  font-family: var(--display);
  font-size: 0.86rem;
}
.nom-label-item.is-sanitary {
  border-color: #c5d4e4;
  background: #f3f7fb;
}
.nom-sanitary {
  color: #1a3a5c !important;
  font-size: 0.75rem !important;
  font-weight: 600;
}
.nom-catalog {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
  padding: 0.72rem 0.9rem;
  border-radius: 12px;
  background: #1a3a5c;
  color: #fff;
  font-family: var(--display);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
}
.nom-catalog svg { stroke: #f0a202; }
.nom-catalog:hover { background: #16324f; }
.nom-official > small { display: block; text-align: center; }
.incoterms-page .page-hero { max-width: none; }
.incoterms-page .page-hero .pill {
  font-family: var(--display);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.15;
}
.incoterms-page .portal-lead { max-width: none; margin: 0.75rem 0 0; text-align: left; }
.incoterms-page > section { margin-top: 1.8rem; }
.incoterms-page .section-title {
  margin: 0 0 0.85rem;
  color: #122033;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.guia-page .advisor-card h4,
.incoterms-page .advisor-card h3,
.incoterms-page .advisor-card h4 {
  margin: 0 0 0.4rem;
  color: #122033;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.incoterms-page .advisor-card svg {
  width: 1.35rem;
  height: 1.35rem;
  margin-bottom: 0.45rem;
  fill: none;
  stroke: #1a3a5c;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.incoterms-page .why-num {
  display: block;
  margin-bottom: 0.3rem;
  color: #1a3a5c;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
}
.incoterms-page .nom-important { margin-top: 1.8rem; }
.incoterms-page .advisor-cta .solid { margin-top: 0.95rem; }
.guia-modules {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.2rem;
}
.guia-module {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  min-height: 100%;
  padding: 0.85rem 0.8rem;
  border: 1px solid #e5e9f0;
  border-top: 3px solid #1a3a5c;
  border-radius: 16px;
  background: #fff;
  color: #122033;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(11, 26, 48, 0.05);
}
.guia-module:hover { border-color: #1a3a5c; }
.guia-module span {
  color: #9a6700;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
}
.guia-module strong {
  font-family: var(--display);
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.guia-module small {
  color: #5d6b7c;
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1.4;
}
.guia-block {
  margin-top: 2.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e9f0;
}
.guia-block > h2,
.guia-page .incoterms-page .page-hero h2 {
  margin: 0.35rem 0 0.7rem;
  color: #122033;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.guia-block > .portal-lead { margin-bottom: 1rem; }
.guia-intro-note {
  margin: 0.95rem 0 0;
  padding: 0.8rem 0.95rem;
  border-left: 4px solid #c4922a;
  border-radius: 12px;
  background: #fff8e6;
  color: #3f3422;
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.55;
}
.guia-page .incoterms-page { margin-top: 0; padding-top: 0; border-top: 0; }
.guia-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.15rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e5e9f0;
  border-radius: 14px;
  background: #fff;
}
.guia-buy span {
  color: #3d4c5e;
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.5;
}
.guia-buy .solid {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.6rem;
  min-height: 2.15rem;
  text-decoration: none;
}
@media (max-width: 640px) {
  .guia-buy { flex-direction: column; align-items: stretch; }
  .guia-buy .solid { justify-content: center; }
}
.guia-more { margin: 0.95rem 0 0; }
.guia-more a {
  color: #1a3a5c;
  font-family: var(--sans);
  font-weight: 600;
}
@media (max-width: 1100px) {
  .guia-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .guia-modules { grid-template-columns: 1fr; }
}
.guia-block .section-title {
  margin: 1.15rem 0 0.55rem;
  color: #122033;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.guia-block .nom-important { margin-top: 1.15rem; }
.guia-block .nom-important h3 {
  margin: 0 0 0.55rem;
  color: #8a5a00;
  font-family: var(--display);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (max-width: 980px) {
  .incoterms-page .page-grid,
  .guia-page .page-grid { grid-template-columns: 1fr; }
}
.site-nav,
.portal .site-nav,
.ai-page .site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  height: auto;
  row-gap: 0.4rem;
  padding-top: 0.5rem;
  padding-bottom: 0.45rem;
}
.site-nav::before {
  content: "";
  order: 1;
  flex-basis: 100%;
  height: 0;
  border-top: 1px solid #e5e9f0;
}
.site-nav .site-logo,
.site-nav .nav-toggle,
.site-nav .site-menu { order: 0; }
.site-nav .site-menu { margin-left: auto; }
.nav-tagline {
  order: 2;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  color: #1a3a5c;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}
.site-nav .lang-switch {
  order: 2;
  flex: 0 0 auto;
  margin-left: 0.75rem;
}
@media (max-width: 560px) {
  .site-nav .nav-toggle { margin-left: auto; }
  .site-menu { top: 100%; }
  .nav-tagline { font-size: 0.62rem; letter-spacing: 0.04em; }
}
.hero-stage.hero-film {
  width: 100vw;
  max-width: 100vw;
  min-height: 85vh;
  margin: 0 0 1.4rem calc(50% - 50vw);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #07111c;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-film-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-film-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(7, 17, 28, 0.9) 0%, rgba(7, 17, 28, 0.55) 46%, rgba(7, 17, 28, 0.38) 100%);
}
.hero-film-copy {
  position: relative;
  z-index: 2;
  width: min(64rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4.5rem 0;
  text-align: center;
}
.hero-film .hero-actions { justify-content: center; }
.hero-film .hero-actions .solid { text-align: center; line-height: 1.25; }
.tool-grid { scroll-margin-top: 148px; }
.hero-film .hero-actions .ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}
.hero-film .hero-actions .solid {
  background: #f0a202;
  color: #0b1a30;
}
@media (prefers-reduced-motion: reduce) {
  .hero-film-video { display: none; }
}
.hero-film h1 {
  font-size: clamp(2.2rem, 4.3vw, 3.95rem);
}
.hero-film h1 .gold {
  font-size: 0.62em;
  font-weight: 600;
}
.portal-hero .hero-stage h1 { color: #fff; }
.portal-hero .hero-stage .portal-lead { color: rgba(226, 232, 240, 0.88); }
.portal-hero .hero-stage .pill { color: #f6c56b; }
.portal-hero .hero-film .pill {
  color: #1a3a5c;
  font-size: 1.36rem;
}
.sourcing-card .advisor-price { color: #9a6700; }
.valores-title { margin: 1.4rem 0 0.8rem; padding-left: 1.1rem; }
.enterprise > .portal-lead,
.freight-service > .portal-lead,
.sourcing > .portal-lead,
.label-service > .portal-lead,
.truck-service > .portal-lead,
.insure-service > .portal-lead {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}
.truck-service > .pill,
.insure-service > .pill {
  display: flex;
  width: fit-content;
  margin-left: 0;
  margin-right: auto;
}
.servicios-hero .portal-lead {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}
.nosotros-hero,
.servicios-hero { max-width: none; }
.nosotros-hero h1,
.servicios-hero h1 {
  font-size: clamp(1.55rem, 3.05vw, 2.35rem);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .nosotros-hero h1,
  .servicios-hero h1 {
    white-space: normal;
    font-size: clamp(1.85rem, 8vw, 2.4rem);
  }
}
.port-scene {
  width: 25%;
  margin: 0.1rem auto 0.65rem;
  background: transparent;
  overflow: hidden;
}
.port-scene svg {
  display: block;
  width: 100%;
  height: auto;
}
.how-ti {
  margin: 1.5rem 0 1.35rem;
  padding: 1.15rem 0 0.2rem;
}
.how-head { max-width: 40rem; margin: 0 auto 1.35rem; text-align: center; }
.how-head h2 {
  margin: 0;
  color: #122033;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  letter-spacing: -0.03em;
}
.how-head p {
  margin: 0.45rem 0 0;
  color: #3d4c5e;
  font-size: 0.98rem;
  line-height: 1.5;
}
.how-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
  padding: 0.4rem 0 0;
  list-style: none;
  position: relative;
}
.how-flow::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 92px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, #1a3a5c, #9a6700);
  transform: scaleX(0);
  transform-origin: left center;
}
.how-ti.is-in .how-flow::before {
  transform: scaleX(1);
  transition: transform 0.7s ease 0.15s;
}
.how-step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.how-step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 88px;
  right: -0.45rem;
  width: 7px;
  height: 7px;
  border-top: 2px solid #1a3a5c;
  border-right: 2px solid #1a3a5c;
  transform: rotate(45deg) scale(0);
}
.how-ti.is-in .how-step:not(:last-child)::after {
  transform: rotate(45deg) scale(1);
  transition: transform 0.35s ease;
  transition-delay: calc(0.28s + var(--i) * 0.12s);
}
.how-tag {
  display: block;
  min-height: 1rem;
  margin-bottom: 0.35rem;
  color: #9a6700;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.how-ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  width: 148px;
  height: 148px;
  margin: 0 auto;
  padding: 0.7rem;
  border: 1.5px solid #1a3a5c;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px #fff, 0 0 0 7px #e5e9f0;
  color: #1a3a5c;
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}
.how-num {
  color: #1a3a5c;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}
.how-ring svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.how-step strong {
  display: block;
  max-width: 7.4rem;
  margin: 0;
  color: #122033;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}
.how-short {
  margin: 0.7rem 0 0;
  color: #1a3a5c;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
}
.how-desc {
  margin: 0.3rem 0 0;
  color: #5d6b7c;
  font-size: 0.8rem;
  line-height: 1.45;
}
.how-step:hover .how-ring,
.how-step:focus-within .how-ring {
  transform: scale(1.05);
  color: #9a6700;
  box-shadow: 0 0 0 6px #fff, 0 0 0 7px #1a3a5c, 0 12px 26px rgba(11, 26, 48, 0.08);
}
.how-step:hover .how-num,
.how-step:focus-within .how-num { color: #9a6700; }
.how-step:hover .how-desc,
.how-step:focus-within .how-desc { color: #122033; }
.how-close {
  max-width: 36rem;
  margin: 1.35rem auto 0;
  text-align: center;
}
.how-close h3 {
  margin: 0;
  color: #122033;
  font-size: 1.15rem;
}
.how-close p {
  margin: 0.4rem 0 0.75rem;
  color: #3d4c5e;
  font-size: 0.95rem;
  line-height: 1.5;
}
.how-legal {
  max-width: 46rem;
  margin: 0.9rem auto 0;
  color: #6b7785;
  font-size: 0.75rem;
  line-height: 1.45;
  text-align: center;
}
html.js .how-ti:not(.is-in) .how-head,
html.js .how-ti:not(.is-in) .how-step {
  opacity: 0;
  transform: translateY(12px);
}
.how-ti.is-in .how-head,
.how-ti.is-in .how-step {
  opacity: 1;
  transform: none;
}
.how-ti.is-in .how-head { transition: opacity 0.45s ease, transform 0.45s ease; }
.how-ti.is-in .how-step {
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: calc(0.12s + var(--i) * 0.12s);
}
.how-ti.is-in .how-ring svg {
  animation: how-icon 0.45s ease both;
  animation-delay: calc(0.28s + var(--i) * 0.12s);
}
@keyframes how-icon {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 980px) {
  .how-ring { width: 124px; height: 124px; }
  .how-flow::before { top: 80px; }
  .how-step:not(:last-child)::after { top: 76px; }
  .how-step strong { max-width: 6.4rem; font-size: 0.58rem; }
}
@media (max-width: 760px) {
  .how-flow {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .how-flow::before {
    top: 1.4rem;
    bottom: 1.4rem;
    left: 50%;
    right: auto;
    width: 2px;
    height: auto;
    transform: scaleY(0);
    transform-origin: top center;
  }
  .how-ti.is-in .how-flow::before { transform: scaleY(1); }
  .how-step {
    display: block;
    padding: 0.35rem 0.2rem 0.7rem;
    background: #fff;
    text-align: center;
  }
  .how-step:not(:last-child)::after { display: none; }
  .how-tag { min-height: 0; }
  .how-tag-empty { display: none; }
  .how-ring { width: 132px; height: 132px; margin: 0 auto; }
  .how-step strong {
    max-width: 7rem;
    margin: 0;
    font-size: 0.68rem;
    text-align: center;
  }
  .how-short, .how-desc { font-size: 0.92rem; }
}
@media (prefers-reduced-motion: reduce) {
  .how-flow::before,
  .how-step,
  .how-step:not(:last-child)::after,
  .how-head,
  .how-ring svg {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .how-step:not(:last-child)::after { transform: rotate(45deg) !important; }
}

.sabias { margin: 0 0 1.4rem; }
.guia-hero-end { margin-top: 1.6rem; margin-bottom: 1.2rem; }
.sabias-head { max-width: 46rem; margin-bottom: 1rem; }
.sabias-head h2 {
  margin: 0;
  color: #122033;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  letter-spacing: -0.03em;
}
.sabias-head p {
  margin: 0.45rem 0 0;
  color: #3d4c5e;
  font-size: 0.98rem;
  line-height: 1.5;
}
.sabias-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.sabias-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem 1.05rem 1.05rem;
  border: 1px solid #e5e9f0;
  border-radius: 14px;
  background: #fff;
}
.sabias-wide,
.sabias-feature { grid-column: 1 / -1; }
.sabias-icon {
  width: 1.55rem;
  height: 1.55rem;
  color: #1a3a5c;
}
.sabias-kicker {
  margin: 0;
  color: #9a6700;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.sabias-ask {
  margin: 0;
  color: #1a3a5c;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 600;
}
.sabias-card h3 {
  margin: 0;
  color: #122033;
  font-size: 1.05rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.sabias-card > p,
.sabias-card details p,
.sabias-points p {
  margin: 0;
  color: #3d4c5e;
  font-size: 0.92rem;
  line-height: 1.5;
}
.sabias-card details { margin-top: 0.1rem; }
.sabias-card summary {
  width: fit-content;
  color: #1a3a5c;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}
.sabias-card details p { margin-top: 0.4rem; }
.sabias-examples {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sabias-examples li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 3.1rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  background: #f7f9fc;
  color: #122033;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.3;
}
.sabias-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sabias-chips li {
  padding: 0.22rem 0.55rem;
  border: 1px solid #e5e9f0;
  border-radius: 999px;
  color: #1a3a5c;
  background: #f7f9fc;
  font-size: 0.78rem;
}
.sabias-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}
.sabias-actions .ghost,
.sabias-actions .solid {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.sabias-source {
  margin: 0;
  color: #6b7785;
  font-size: 0.75rem;
}
.sabias-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.1rem;
  margin: 0.2rem 0 0;
  padding: 0;
  list-style: none;
}
.sabias-points li { display: flex; gap: 0.65rem; align-items: flex-start; }
.sabias-points span {
  flex: 0 0 auto;
  color: #9a6700;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
}
.sabias-points strong {
  display: block;
  margin-bottom: 0.15rem;
  color: #122033;
  font-size: 0.92rem;
}
.sabias-points p strong { display: inline; }
.sabias-feature {
  background: #fff8e6;
  border-color: #f0d48a;
}
.sabias-quote {
  margin: 0;
  color: #122033;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.sabias-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.15rem;
  margin: 0.35rem 0;
  padding: 0;
  list-style: none;
}
.sabias-flow li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #122033;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.sabias-flow li:not(:last-child)::after {
  content: "→";
  color: #9a6700;
  font-weight: 600;
}
.sabias-close {
  margin: 0;
  color: #1a3a5c;
  font-weight: 600;
}
.sabias-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sabias-list li {
  color: #122033;
  font-size: 0.92rem;
  line-height: 1.4;
}
.sabias-list li::before {
  content: "•";
  margin-right: 0.4rem;
  color: #9a6700;
}
.sabias-note {
  margin: 0;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: #fff8e6;
  color: #3f3422;
  font-size: 0.92rem;
  line-height: 1.5;
}
.sabias-note strong { color: #122033; }
.sabias-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  background: #f7f9fc;
}
.sabias-inner h3 { font-size: 1rem; }
.sabias-inner p,
.sabias-inner .sabias-list { margin: 0; }
.sabias-inner .sabias-source { margin: 0; }
.sabias-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  max-width: 22rem;
  padding: 0.55rem 0.75rem;
  border: 1.5px dashed #9a6700;
  border-radius: 10px;
  background: #fff;
  color: #122033;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.sabias-tag::after {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid #1a3a5c;
  border-radius: 50%;
  flex: 0 0 auto;
}
.sabias-next {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e5e9f0;
}
@media (max-width: 720px) {
  .sabias-grid,
  .sabias-points,
  .sabias-list { grid-template-columns: 1fr; }
  .sabias-examples { grid-template-columns: 1fr 1fr; }
  .sabias-flow { flex-direction: column; align-items: flex-start; }
  .sabias-flow li:not(:last-child)::after { content: "↓"; }
}

.tlc {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 18px;
  padding: 1.25rem 1.3rem 1.1rem;
  box-shadow: 0 8px 24px rgba(11, 26, 48, 0.06);
}
.tlc-pills { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tlc-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.38rem 0.8rem;
  border: 1px solid #e4d3a8;
  background: #fff;
  color: #1a3a5c;
  font-size: 0.82rem;
  font-weight: 700;
}
.tlc-pill-main {
  background: #0b1a30;
  border-color: #0b1a30;
  color: #fff;
}
.tlc-code {
  display: inline-grid;
  place-items: center;
  min-width: 1.65rem;
  padding: 0.05rem 0.28rem;
  border-radius: 6px;
  background: #fff6e4;
  border: 1px solid #f3d48a;
  color: #1a3a5c;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
}
.tlc-pill-main .tlc-code {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.tlc h3 {
  margin: 1.05rem 0 0;
  color: #122033;
  font-size: 1.22rem;
  line-height: 1.3;
}
.tlc p { margin: 0.55rem 0 0; color: #3d4c5e; line-height: 1.55; }
.tlc-note {
  margin-top: 0.8rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: #fff8e6;
  border: 1px solid #f3d48a;
  color: #122033;
  font-weight: 600;
}
.tlc-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 1.15rem;
  align-items: center;
  margin-top: 1.15rem;
  padding: 1.05rem 1.15rem;
  background: #f7f4ee;
  border: 1px solid #eadfca;
  border-radius: 16px;
}
.tlc-stat-num {
  margin: 0;
  font-family: var(--display);
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 0.9;
  color: #1a3a5c;
  letter-spacing: -0.04em;
}
.tlc-stat h3 { margin: 0; }
.tlc-stat .solid { margin-top: 0.8rem; display: inline-flex; text-decoration: none; }
.tlc-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}
.tlc-partners li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.72rem;
  border: 1px solid #e5e9f0;
  border-radius: 999px;
  background: #fff;
  color: #122033;
  font-size: 0.86rem;
  font-weight: 650;
}
.tlc-more { color: #5d6b7c; background: #f6f8fb; }
.tlc-link {
  display: inline-flex;
  margin-top: 0.75rem;
  color: #1a3a5c;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tlc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 1rem;
}
.tlc-inner {
  border: 1px solid #e5e9f0;
  border-radius: 16px;
  padding: 1rem 1.05rem 1.05rem;
  background: #fff;
}
.tlc-icon { width: 34px; height: 34px; color: #1a3a5c; }
.tlc-inner h3 { margin-top: 0.55rem; font-size: 1.05rem; }
.tlc-ask { margin-top: 0.85rem; font-weight: 700; color: #122033; }
.tlc strong { font-weight: 700; }
.tlc-warn {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin-top: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: #fff8e6;
  border: 1px solid #f3d48a;
}
.tlc-warn p { margin: 0; color: #3f3422; }
.tlc-flow {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}
.tlc-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #e5e9f0;
  border-radius: 14px;
  background: #f6f8fb;
  color: #122033;
  font-weight: 650;
}
.tlc-step-label { display: inline-flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.tlc-n {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0b1a30;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}
.tlc-step:not(:last-child)::after {
  content: "↓";
  position: absolute;
  left: 50%;
  bottom: -1.15rem;
  transform: translateX(-50%);
  color: #9a6700;
  font-weight: 700;
  line-height: 1;
}
.tlc-cta {
  margin-top: 1.2rem;
  padding: 1.15rem 1.2rem 1.2rem;
  border-radius: 16px;
  background: #0b1a30;
}
.tlc-cta h3 { margin: 0; color: #fff; }
.tlc-cta p { margin: 0.45rem 0 0; color: #e2e8f0; }
.tlc-cta .solid { margin-top: 0.9rem; }
.tlc-source { margin: 1rem 0 0; }
.tlc-source a,
.tlc-fine { color: #5d6b7c; font-size: 0.8rem; }
.tlc-source a { text-decoration: underline; text-underline-offset: 2px; }
.tlc-fine { margin: 0.3rem 0 0; }
@media (max-width: 760px) {
  .tlc-grid { grid-template-columns: 1fr; }
  .tlc-stat { grid-template-columns: 1fr; }
  .tlc-stat-num { font-size: 3.2rem; }
}
.label-laws {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.85rem;
}
.label-block {
  border: 1px solid #e5e9f0;
  border-radius: 14px;
  padding: 0.9rem 0.95rem 1rem;
  background: #fff;
}
.label-block h4 {
  margin: 0;
  color: #122033;
  font-size: 1rem;
  line-height: 1.35;
}
.label-block p { margin-top: 0.45rem; }
.label-points {
  margin: 0.45rem 0 0;
  padding: 0 0 0 1.05rem;
  color: #3d4c5e;
  font-size: 0.84rem;
  line-height: 1.5;
}
.label-points li { margin-top: 0.35rem; }
.label-points li::marker { color: #9a6700; }
.label-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}
.label-flow li { display: inline-flex; align-items: center; gap: 0.4rem; }
.label-flow span {
  display: inline-flex;
  padding: 0.42rem 0.72rem;
  border: 1px solid #e5e9f0;
  border-radius: 999px;
  background: #f6f8fb;
  color: #122033;
  font-size: 0.84rem;
  font-weight: 700;
}
.label-flow li:not(:last-child)::after {
  content: "→";
  color: #9a6700;
  font-weight: 700;
}
.label-note {
  margin: 0.9rem 0 0;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: #fff8e6;
  border: 1px solid #f3d48a;
  color: #3f3422;
  font-size: 0.92rem;
  line-height: 1.5;
}
@media (max-width: 760px) {
  .label-laws { grid-template-columns: 1fr; }
}
.label-example { margin: 1.15rem 0 0; }
.label-example h3 { margin: 0 0 0.65rem; }
.label-example img {
  display: block;
  width: min(100%, 820px);
  height: auto;
  border-radius: 14px;
  border: 1px solid #e5e9f0;
}
.tax-mod {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 18px;
  padding: 1.25rem 1.3rem 1.15rem;
  box-shadow: 0 8px 24px rgba(11, 26, 48, 0.06);
}
.tax-mod > h3 { margin: 0; font-size: 1.35rem; color: #122033; }
.tax-lead { margin: 0.4rem 0 0; color: #3d4c5e; line-height: 1.5; max-width: 40rem; }
.tax-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}
.tax-card {
  border: 1px solid #e5e9f0;
  border-radius: 16px;
  padding: 0.95rem 1rem 1rem;
  background: #fff;
}
.tax-card-top { display: flex; align-items: center; justify-content: space-between; }
.tax-icon { width: 28px; height: 28px; color: #1a3a5c; }
.tax-card h3 { margin: 0.7rem 0 0; font-size: 1.15rem; color: #122033; }
.tax-name { margin: 0.2rem 0 0; color: #1a3a5c; font-weight: 700; line-height: 1.35; }
.tax-badge {
  display: inline-flex;
  margin: 0.65rem 0 0;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
}
.tax-badge-pending { background: #fff8e6; border: 1px solid #f3d48a; color: #6b4e12; }
.tax-badge-none { background: #f6f8fb; border: 1px solid #e5e9f0; color: #5d6b7c; }
.tax-gap { margin: 0.4rem 0 0; color: #5d6b7c; font-size: 0.82rem; line-height: 1.4; }
.tax-more { margin-top: 0.7rem; }
.tax-more summary {
  cursor: pointer;
  list-style: none;
  color: #1a3a5c;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tax-more summary::-webkit-details-marker { display: none; }
.tax-more summary::marker { content: ""; }
.tax-more p { margin: 0.55rem 0 0; color: #3d4c5e; font-size: 0.88rem; line-height: 1.5; }
.tax-more strong { font-weight: 700; }
.tax-base {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0.95rem 0 0;
  padding: 0.95rem 1.05rem;
  border-radius: 14px;
  border-left: 4px solid #f0a202;
  background: #e8ebf0;
  color: #122033;
  line-height: 1.55;
}
.tax-base-ico { flex: none; font-size: 1.15rem; line-height: 1.4; }
.tax-base strong { display: inline; color: #9a6700; font-weight: 700; }
.tax-alert, .tax-sample {
  margin-top: 0.9rem;
  border: 1px solid #eadfca;
  border-radius: 16px;
  padding: 1rem 1.05rem 1.05rem;
  background: #f7f4ee;
}
.tax-alert h3, .tax-sample h3 { margin: 0; font-size: 1.05rem; color: #122033; }
.tax-alert p, .tax-sample p { margin: 0.45rem 0 0; color: #3d4c5e; line-height: 1.5; }
.tax-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 0.8rem;
  margin: 0.8rem 0 0;
}
.tax-facts div { margin: 0; }
.tax-facts dt { color: #5d6b7c; font-size: 0.75rem; font-weight: 700; }
.tax-facts dd { margin: 0.15rem 0 0; color: #122033; font-weight: 650; }
.tax-fall {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.tax-step {
  position: relative;
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #e5e9f0;
  border-radius: 14px;
  background: #fff;
}
.tax-step span { color: #5d6b7c; font-size: 0.78rem; font-weight: 700; }
.tax-step strong { color: #122033; font-size: 1rem; }
.tax-step em { color: #5d6b7c; font-style: normal; font-size: 0.8rem; }
.tax-step:not(:last-child)::after {
  content: "↓";
  position: absolute;
  left: 50%;
  bottom: -1.05rem;
  transform: translateX(-50%);
  color: #9a6700;
  font-weight: 700;
  line-height: 1;
}
.tax-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.85rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: #0b1a30;
  color: #fff;
}
.tax-total span { font-weight: 700; }
.tax-total strong { font-size: 1.05rem; }
.tax-fine { margin: 0.75rem 0 0; color: #5d6b7c; font-size: 0.8rem; line-height: 1.45; }
.tax-mod .tlc-cta { margin-top: 0.95rem; }
.uva-block { margin-top: 1.2rem; }
.uva-block > h3 { margin: 1.15rem 0 0; font-size: 1.2rem; color: #122033; }
.uva-block > p { margin: 0.5rem 0 0; color: #3d4c5e; line-height: 1.55; }
.uva-risk, .uva-help {
  margin-top: 0.8rem;
  border-radius: 16px;
  padding: 1rem 1.05rem 1.05rem;
}
.uva-risk {
  background: #fff8e6;
  border: 1px solid #f3d48a;
}
.uva-risk h4, .uva-help h3 { margin: 0.45rem 0 0; color: #122033; font-size: 1.05rem; }
.uva-risk p, .uva-help p { margin: 0.5rem 0 0; line-height: 1.5; }
.uva-risk .tax-icon { color: #9a6700; }
.uva-caveat { color: #6b4e12; font-weight: 650; }
.uva-chip {
  display: inline-flex;
  margin: 0.75rem 0 0;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #e8ebf0;
  color: #122033;
  font-size: 0.8rem;
  font-weight: 700;
}
.uva-help {
  background: #0b1a30;
}
.uva-help h3, .uva-help p { color: #fff; }
.uva-help .solid { margin-top: 0.85rem; display: inline-flex; text-decoration: none; }
.uva-block .label-note { margin-top: 0.75rem; }
.news-card .uva-block strong { display: inline; margin: 0; font-family: inherit; font-weight: 700; }
.uva-block,
.uva-block h3,
.uva-block h4,
.uva-block p,
.uva-block li,
.uva-checks,
.uva-checks li,
.uva-checks span,
.uva-options article,
.uva-options h4,
.uva-options p,
.uva-risk,
.uva-steps,
.uva-steps div,
.uva-fine,
.uva-cite {
  text-align: left;
}
.news-card .uva-block .uva-checks strong {
  display: inline;
  margin: 0;
}
.uva-checks {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.uva-checks li {
  position: relative;
  padding-left: 1.25rem;
  color: #3d4c5e;
  line-height: 1.45;
}
.uva-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #9a6700;
  font-weight: 700;
}
.uva-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.85rem;
}
.uva-options article {
  border: 1px solid #e5e9f0;
  border-radius: 16px;
  padding: 0.95rem 1rem 1rem;
  background: #fff;
}
.uva-options h4 { margin: 0.55rem 0 0; color: #122033; font-size: 0.98rem; }
.uva-options p { margin: 0.4rem 0 0; color: #3d4c5e; font-size: 0.88rem; line-height: 1.45; }
.uva-steps {
  list-style: none;
  margin: 0.95rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.uva-steps li { display: flex; gap: 0.7rem; align-items: flex-start; }
.uva-help.uva-plan { background: #e8ebf0; }
.uva-plan .tlc-n { background: #f0a202; color: #122033; }
.uva-help.uva-plan h3,
.uva-help.uva-plan p,
.uva-help.uva-plan .uva-steps strong { color: #122033; }
.uva-help.uva-plan .uva-steps p { margin: 0.15rem 0 0; color: #3d4c5e; font-size: 0.88rem; }
.uva-fine { margin: 0.9rem 0 0; color: #5d6b7c; font-size: 0.82rem; line-height: 1.5; }
.uva-cite { margin: 0.7rem 0 0; color: #5d6b7c; font-size: 0.82rem; line-height: 1.45; }
.uva-cite span { font-weight: 700; color: #122033; }
.uva-cite a { color: #1a3a5c; }
.imp-notes { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 0.4rem; }
.boletin-page .imp-notes { margin-top: 1.35rem; }
.imp-notes > h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.3;
}
.imp-notes > h2 svg { width: 1.35rem; height: 1.35rem; color: #9a6700; flex: 0 0 auto; }
.imp-notes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; align-items: stretch; }
.imp-note {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.05rem;
  border: 1px solid #e5e9f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(11, 26, 48, 0.06);
}
.imp-ico {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 12px;
  background: #f4f7fb;
  color: #1a3a5c;
}
.imp-ico svg { width: 1.45rem; height: 1.45rem; }
.imp-kicker { margin: 0; color: #9a6700; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; }
.imp-note h3 { margin: 0; font-size: 1.05rem; line-height: 1.35; letter-spacing: -0.02em; }
.imp-note p { margin: 0; color: #3d4c5e; font-size: 0.92rem; line-height: 1.5; }
.imp-note strong { color: #122033; }
.imp-checks { display: grid; gap: 0.32rem; margin: 0.1rem 0; padding: 0; list-style: none; }
.imp-checks li { position: relative; padding-left: 1.2rem; color: #122033; font-size: 0.9rem; line-height: 1.4; }
.imp-checks li::before { content: "✓"; position: absolute; left: 0; color: #9a6700; font-weight: 700; }
.imp-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; }
.imp-bad, .imp-good { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.65rem 0.7rem; border-radius: 12px; }
.imp-bad { background: #f8f4f4; border: 1px solid #eadfdf; }
.imp-good { background: #f7f9fc; border: 1px solid #e5e9f0; }
.imp-mark { display: flex; align-items: center; gap: 0.35rem; margin: 0; color: #122033; font-weight: 700; font-size: 0.9rem; }
.imp-mark svg { width: 1.05rem; height: 1.05rem; flex: 0 0 auto; }
.imp-bad .imp-mark { color: #8d3044; }
.imp-good .imp-mark { color: #1a3a5c; }
.imp-remember { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.75rem 0.85rem; border: 1px solid #f3d48a; border-radius: 12px; background: #fff8e6; }
.imp-quote { margin: 0; color: #122033; font-family: var(--display); font-size: 1.12rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; }
.imp-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 0.45rem; margin-top: auto; padding-top: 0.35rem; }
.imp-cta p { color: #1a3a5c; font-weight: 600; }
.imp-cite { margin: 0; color: #6b7785; font-size: 0.75rem; }
.imp-cite a { color: #1a3a5c; }
@media (max-width: 1100px) { .imp-compare { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .imp-notes-grid { grid-template-columns: 1fr; } }
.ti-before { display: flex; flex-direction: column; gap: 0.55rem; margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid #e5e9f0; }
.ti-before h3 { margin: 0; color: #122033; font-size: 1.05rem; line-height: 1.35; letter-spacing: -0.02em; }
.ti-before p { margin: 0; color: #3d4c5e; font-size: 0.92rem; line-height: 1.5; }
.ti-before strong { display: inline; color: #122033; }
.ti-before-note { padding: 0.7rem 0.85rem; border: 1px solid #f3d48a; border-radius: 12px; background: #fff8e6; color: #3f3422; }
.calc-certainty {
  margin: 0;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  background: #f0a202;
  color: #122033;
  font-weight: 600;
  line-height: 1.45;
}
.calc-certainty a { color: #122033; font-weight: 700; }
@media (max-width: 860px) {
  .tax-grid, .tax-facts, .uva-options { grid-template-columns: 1fr; }
}
.consulta-entry { display: flex; flex-direction: column; align-items: flex-start; gap: 0.45rem; margin-top: 0.9rem; }
.consulta-entry h2, .consulta-entry p { text-align: left; }
.consulta-entry .solid { margin-top: 0.35rem; text-decoration: none; }
.consulta-entry-icon {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 12px;
  background: #fff8e6;
  color: #9a6700;
}
.consulta-entry-icon svg { width: 1.55rem; height: 1.55rem; }
.consulta-page .page-hero { max-width: 46rem; }
.consulta-note {
  margin: 0.9rem 0 0;
  padding: 0.75rem 0.9rem;
  border-left: 4px solid #f0a202;
  border-radius: 12px;
  background: #fff8e6;
  color: #3f3422;
}
.consulta-shell { display: grid; gap: 0.9rem; }
.ca-progress { display: flex; gap: 0.4rem; overflow-x: auto; padding-bottom: 0.2rem; }
.ca-progress button {
  flex: 0 0 auto;
  border: 1px solid #e5e9f0;
  background: #fff;
  color: #3d4c5e;
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  font: 600 0.78rem/1.2 Inter, sans-serif;
  cursor: pointer;
}
.ca-progress button[aria-current="step"] { background: #0b1a30; color: #fff; border-color: #0b1a30; }
.ca-progress button:disabled { opacity: 0.45; cursor: default; }
.ca-step { display: grid; gap: 0.85rem; }
.ca-step h2 { margin: 0; font-size: 1.25rem; }
.ca-step h3 { margin: 0.2rem 0 0; font-size: 1rem; }
.ca-help { margin: 0; color: #5d6b7c; font-size: 0.86rem; line-height: 1.45; }
.ca-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.ca-field { display: grid; gap: 0.32rem; min-width: 0; }
.ca-field.ca-wide { grid-column: 1 / -1; }
.ca-labelrow { display: flex; justify-content: space-between; gap: 0.6rem; align-items: baseline; }
.ca-labelrow label, .ca-checks > p { font-size: 0.78rem; font-weight: 600; color: #3e4c5f; }
.ca-na { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.75rem; font-weight: 600; color: #5d6b7c; white-space: nowrap; }
.ca-na input { width: 0.95rem; height: 0.95rem; }
.ca-field.ca-off input, .ca-field.ca-off select, .ca-field.ca-off textarea { background: #f4f6fa; color: #5d6b7c; }
.ca-req { color: #9a6700; }
.ca-error { display: none; color: #8d3044; font-size: 0.78rem; }
.ca-field.ca-bad .ca-error { display: block; }
.ca-field.ca-bad input, .ca-field.ca-bad select, .ca-field.ca-bad textarea { border-color: #8d3044; }
.ca-checks { display: grid; gap: 0.45rem; padding: 0.85rem; border: 1px solid #e5e9f0; border-radius: 14px; background: #fff; }
.ca-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem 0.8rem; }
.ca-options label { display: flex; align-items: flex-start; gap: 0.4rem; font-size: 0.9rem; font-weight: 500; color: #122033; }
.ca-options input { width: 1rem; height: 1rem; margin-top: 0.15rem; }
.ca-if { display: grid; gap: 0.75rem; padding: 0.85rem; border-radius: 14px; background: #f7f9fc; }
.ca-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.ca-actions .ghost { background: #fff; }
.ca-status { margin: 0; color: #1a4b5d; font-size: 0.86rem; font-weight: 600; }
.ca-result { display: grid; gap: 0.7rem; padding: 1rem; border-radius: 16px; background: #f7f9fc; }
.ca-result h2 { margin: 0; }
.ca-file { font-size: 0.86rem; color: #3d4c5e; }
@media (max-width: 720px) {
  .ca-grid, .ca-options { grid-template-columns: 1fr; }
  .ca-actions .solid, .ca-actions .ghost, .ca-actions a.solid { width: 100%; justify-content: center; }
}
.portal .tool-grid .tool {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  transition: all 0.3s ease;
}
.portal .tool-grid .tool:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.32);
}
.portal .tool-grid .tool .tool-cta {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: #f0a202;
  color: #0b1a30;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
}
.portal .tool-grid .tool:hover .tool-cta {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
}
.portal .tool-grid .tone-class .tool-cta,
.portal .tool-grid .tone-inco .tool-cta,
.portal .tool-grid .tone-ai .tool-cta {
  background: #0b1a30;
  color: #fff;
}

.pe-article { display: flex; flex-direction: column; gap: 0.9rem; max-width: 52rem; }
.pe-back { margin: 0; }
.pe-back a { color: #1a3a5c; font-size: 0.82rem; font-weight: 600; text-decoration: none; }
.pe-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pe-tags span {
  display: inline-flex;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: #fff8e6;
  color: #8a5a00;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pe-article h1 {
  margin: 0;
  color: #122033;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.pe-legend {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-left: 4px solid #f0a202;
  border-radius: 12px;
  background: #fff8e6;
  color: #3f3422;
  font-size: 0.88rem;
  line-height: 1.45;
}
.pe-block { display: flex; flex-direction: column; gap: 0.7rem; }
.pe-block h2 { margin: 0; }
.pe-block p { margin: 0; }
.pe-trio, .pe-versus, .pe-docs { display: grid; gap: 0.7rem; }
.pe-trio { grid-template-columns: repeat(3, 1fr); }
.pe-versus { grid-template-columns: 1fr 1fr; }
.pe-docs { grid-template-columns: repeat(4, 1fr); }
.pe-trio article, .pe-versus article, .pe-docs article {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem;
  border: 1px solid #e5e9f0;
  border-radius: 14px;
  background: #f7f9fc;
}
.pe-trio h3, .pe-docs h3 { margin: 0; color: #122033; font-size: 0.98rem; }
.pe-trio p, .pe-versus p { margin: 0; color: #3d4c5e; }
.pe-step-label {
  margin: 0;
  color: #8a5a00;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pe-arrow { color: #f0a202; font-size: 1.2rem; line-height: 1; }
.pe-distinct { margin: 0; color: #122033; font-weight: 700; }
.pe-alert { margin: 0; }
.pe-points { margin: 0; padding-left: 1.2rem; }
.pe-points li { margin: 0.45rem 0; }
.pe-math {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: #0b1a30;
  color: #fff;
}
.pe-math p { margin: 0; }
.pe-math p + p { margin-top: 0.25rem; font-size: 1.15rem; }
.pe-math strong { color: #f0a202; }
.pe-checks { margin-top: 0.2rem; }
.pe-ojo {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.05rem 1.1rem;
  border: 1px solid #f0a202;
  border-radius: 16px;
  background: #fff8e6;
}
.pe-ojo-kicker {
  margin: 0;
  color: #8a5a00;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pe-reasons { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.pe-reasons li {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: #fff;
  color: #122033;
  font-size: 0.84rem;
}
.pe-docs article span { color: #f0a202; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.06em; }
.pe-flow { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; list-style: none; }
.pe-flow li {
  position: relative;
  margin: 0;
  padding: 0.75rem 0.9rem 0.95rem 2.4rem;
  color: #122033;
  font-weight: 600;
}
.pe-flow li::before {
  content: "";
  position: absolute;
  left: 0.7rem;
  top: 1.05rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #f0a202;
}
.pe-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0.98rem;
  top: 1.8rem;
  bottom: -0.15rem;
  width: 2px;
  background: #f3d48a;
}
.pe-faq { display: flex; flex-direction: column; gap: 0.45rem; }
.pe-faq details {
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  background: #fff;
  padding: 0.75rem 0.9rem;
}
.pe-faq summary { cursor: pointer; color: #122033; font-weight: 650; }
.pe-faq details p { margin: 0.55rem 0 0; color: #3d4c5e; }
.pe-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.1rem;
  border-radius: 16px;
  background: #0b1a30;
  color: #fff;
}
.pe-cta h2 { margin: 0; color: #fff; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.pe-cta-actions { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.pe-cta .ghost { color: #fff; border-color: rgba(255, 255, 255, 0.45); text-decoration: none; }
.pe-cta .pe-legend { background: rgba(255, 248, 230, 0.96); }
.pe-sources { display: flex; flex-direction: column; gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.pe-sources li { display: flex; flex-direction: column; gap: 0.15rem; }
.pe-sources a { color: #1a3a5c; font-weight: 700; }
.pe-sources span { color: #5d6b7c; font-size: 0.86rem; }
.pe-teaser .solid { justify-self: start; text-decoration: none; margin-top: 0.35rem; }
@media (max-width: 800px) {
  .pe-trio, .pe-versus, .pe-docs { grid-template-columns: 1fr; }
}

body.gg-agent-ready .wa-float { bottom: 5.6rem; }
body.gg-agent-open .wa-float { opacity: 0; pointer-events: none; }
.gg-agent { position: fixed; right: 1rem; bottom: 1rem; z-index: 60; }
.gg-agent-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.gg-agent-launcher {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border: 0;
  border-radius: 50%;
  background: #0b1a30;
  color: #fff;
  box-shadow: 0 14px 30px rgba(11, 26, 48, 0.28);
  cursor: pointer;
}
.gg-agent-launcher svg { width: 1.45rem; height: 1.45rem; }
.gg-agent-badge {
  position: absolute;
  top: -0.35rem;
  left: -2.5rem;
  padding: 0.12rem 0.4rem 0.12rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  color: #146c36;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 12px rgba(11, 26, 48, 0.12);
}
.gg-agent-badge::before {
  content: "";
  position: absolute;
  left: 0.32rem;
  top: 50%;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: #1faa59;
  transform: translateY(-50%);
}
.gg-agent-panel[hidden] { display: none; }
.gg-agent-log[hidden] { display: none; }
.gg-agent-panel {
  position: absolute;
  right: 0;
  bottom: 4.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: min(23.5rem, calc(100vw - 2rem));
  max-height: min(36rem, calc(100vh - 8.5rem));
  padding: 0.85rem;
  overflow: auto;
  border: 1px solid #e5e9f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(11, 26, 48, 0.22);
  transform-origin: bottom right;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.gg-agent-panel.is-open { opacity: 1; transform: none; }
.gg-agent-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.6rem; }
.gg-agent-brand { margin: 0; color: #9a6700; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; }
.gg-agent-head h2 { margin: 0.1rem 0 0; color: #122033; font-size: 1rem; line-height: 1.25; letter-spacing: -0.02em; }
.gg-agent-close {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: #f4f7fb;
  color: #122033;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.gg-agent-stage {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem;
  border-radius: 16px;
  background: #10243f;
}
.gg-agent-avatar {
  flex: 0 0 4.4rem;
  width: 4.4rem;
  height: 4.4rem;
  overflow: hidden;
  border-radius: 50%;
  background: #e7eef6;
}
.gg-agent-avatar svg { display: block; width: 100%; height: 100%; }
.gg-agent-talk {
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  background: #f0a202;
  color: #0b1a30;
  font-weight: 700;
  cursor: pointer;
}
.gg-agent-hello { margin: 0; color: #3d4c5e; font-size: 0.9rem; line-height: 1.45; }
.gg-agent-log { display: flex; flex: 0 0 auto; flex-direction: column; gap: 0.4rem; max-height: 8.5rem; overflow: auto; }
.gg-agent-log p { margin: 0; padding: 0.5rem 0.65rem; border-radius: 12px; font-size: 0.86rem; line-height: 1.4; }
.gg-agent-log .is-user { align-self: flex-end; background: #0b1a30; color: #fff; }
.gg-agent-log .is-bot { align-self: flex-start; background: #f4f7fb; color: #122033; }
.gg-agent-log a { color: inherit; font-weight: 700; }
.gg-agent-quick { display: flex; flex-direction: column; gap: 0.35rem; }
.gg-agent-quick button {
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  padding: 0.5rem 0.65rem;
  background: #fff;
  color: #122033;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
}
.gg-agent-quick button:hover { border-color: #f0a202; background: #fff8e6; }
.gg-agent-form { display: flex; align-items: center; gap: 0.35rem; }
.gg-agent-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid #e5e9f0;
  border-radius: 999px;
  padding: 0.6rem 0.8rem;
  color: #122033;
  font: inherit;
}
.gg-agent-mic, .gg-agent-send {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.gg-agent-mic { background: #f4f7fb; color: #122033; }
.gg-agent-mic[aria-pressed="true"] { background: #f0a202; }
.gg-agent-send { background: #0b1a30; color: #fff; }
.gg-agent-mic svg, .gg-agent-send svg { width: 1.05rem; height: 1.05rem; }
@media (max-width: 640px) {
  .gg-agent-badge { left: auto; right: 3.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .gg-agent-panel { transition: none; }
}
