/* ========================================================================== 
   PLANEX — Institutional system
   Editorial industrial B2B / responsive / accessible
   ========================================================================== */

:root {
  --navy: #00164f;
  --navy-deep: #000d32;
  --navy-soft: #10265f;
  --blue: #475d96;
  --blue-mid: #6681c1;
  --blue-pale: #e8edf7;
  --yellow: #ffb800;
  --yellow-light: #ffd15a;
  --white: #ffffff;
  --paper: #fbfcfe;
  --mist: #f2f5fa;
  --ink: #0c1830;
  --muted: #5c6880;
  --line: rgba(0, 22, 79, 0.14);
  --line-light: rgba(255, 255, 255, 0.18);
  --success: #187458;
  --danger: #b43e39;
  --shadow-sm: 0 8px 24px rgba(0, 22, 79, 0.07);
  --shadow-md: 0 18px 46px rgba(0, 22, 79, 0.13);
  --container: 1240px;
  --radius-sm: 2px;
  --radius-md: 6px;
  --ease: 220ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

/* --------------------------------------------------------------------------
   Foundation
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.mobile-open {
  overflow: hidden;
}

main {
  display: block;
  overflow: clip;
}

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

img {
  height: auto;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
.btn,
.filter-button {
  cursor: pointer;
}

button:disabled,
.btn:disabled,
.filter-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

::selection {
  background: var(--yellow);
  color: var(--navy-deep);
}

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

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

.topbar-inner,
.nav-wrap,
.hero-grid,
.cta-inner,
.footer-grid,
.footer-bottom,
.page-hero-grid {
  width: min(calc(100% - 3rem), var(--container));
  margin-inline: auto;
}

/* A quiet but consistent section rule keeps the editorial grid visible. */
.section {
  position: relative;
  padding-block: clamp(4.5rem, 8vw, 8.5rem);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-soft {
  background: var(--mist);
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  max-width: none;
}

.section-label,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-label::before,
.eyebrow::before {
  width: 2.3rem;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
  content: "";
}

.eyebrow {
  color: var(--yellow-light);
}

.section-title,
.page-heading,
.hero-title {
  margin: 0;
  color: var(--navy);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.section-title {
  max-width: 760px;
  font-size: clamp(2.1rem, 4.2vw, 4rem);
}

.section-desc,
.page-lead {
  max-width: 660px;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.13rem);
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.text-link::after {
  content: "→";
  font-size: 1.15rem;
  line-height: 1;
  transition: transform var(--ease);
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(0.3rem);
}

/* --------------------------------------------------------------------------
   Skip link and global chrome
   -------------------------------------------------------------------------- */

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.7rem 1rem;
  transform: translateY(-160%);
  background: var(--yellow);
  color: var(--navy-deep);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  min-height: 36px;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  gap: 1.5rem;
}

.topbar a {
  color: var(--white);
  text-decoration: none;
}

.topbar a:hover,
.topbar a:focus-visible {
  color: var(--yellow-light);
}

.header {
  position: relative;
  z-index: 30;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  min-height: 88px;
  gap: clamp(1rem, 2.5vw, 2.8rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--navy);
  text-decoration: none;
}

.brand img {
  width: 132px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2rem);
  margin-left: auto;
}

.nav-links a {
  position: relative;
  padding-block: 0.45rem;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right center;
  background: var(--yellow);
  content: "";
  transition: transform var(--ease);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.header-cta {
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  width: 2.85rem;
  height: 2.85rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* --------------------------------------------------------------------------
   Buttons and small labels
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  gap: 0.65rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.btn-primary {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--navy-deep);
  box-shadow: 0 10px 22px rgba(255, 184, 0, 0.16);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--yellow-light);
  border-color: var(--yellow-light);
  color: var(--navy-deep);
  box-shadow: 0 12px 26px rgba(255, 184, 0, 0.27);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.58);
  background: transparent;
  color: var(--white);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--yellow);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.btn-blue {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.btn-blue:hover,
.btn-blue:focus-visible {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.btn-light {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy);
}

.btn-light:hover,
.btn-light:focus-visible {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--navy-deep);
}

.badge,
.pill,
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.7rem;
  padding: 0.28rem 0.68rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.badge {
  border-color: rgba(255, 184, 0, 0.4);
  background: rgba(255, 184, 0, 0.12);
  color: #8b6300;
}

.tag {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--yellow-light);
}

.info-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--yellow);
  background: var(--mist);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.info-note svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: var(--blue);
}

/* --------------------------------------------------------------------------
   Homepage hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero::before {
  position: absolute;
  top: 0;
  right: 53%;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
  content: "";
}

.hero::after {
  position: absolute;
  right: -7rem;
  bottom: -9rem;
  width: 36rem;
  height: 36rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  min-height: min(720px, calc(100vh - 124px));
  gap: clamp(2.5rem, 7vw, 7.5rem);
  padding-block: clamp(4rem, 8vw, 8rem);
}

.hero-copy {
  max-width: 650px;
}

.hero-title {
  color: var(--white);
  font-size: clamp(3.2rem, 6.7vw, 7.15rem);
  text-wrap: balance;
}

.hero-lead {
  max-width: 560px;
  margin: 1.7rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.hero-visual {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(570px, 58vw);
  isolation: isolate;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  top: 9%;
  right: 0;
  width: 82%;
  height: 82%;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 50%;
  content: "";
}

.hero-visual::after {
  position: absolute;
  z-index: -1;
  top: 17%;
  left: -5%;
  width: 10rem;
  height: 1px;
  background: var(--yellow);
  box-shadow: 0 11px 0 rgba(255, 184, 0, 0.45), 0 22px 0 rgba(255, 184, 0, 0.17);
  content: "";
}

.hero-visual img {
  width: 100%;
  max-height: 600px;
  object-fit: contain;
  object-position: center;
}

.hero-tag {
  position: absolute;
  top: 9%;
  right: 2%;
  max-width: 180px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(0, 13, 50, 0.5);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  line-height: 1.45;
  backdrop-filter: blur(10px);
}

.hero-note {
  position: absolute;
  right: 8%;
  bottom: 4%;
  max-width: 220px;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.7rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Trust and category editorial blocks
   -------------------------------------------------------------------------- */

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  align-items: center;
  min-height: 90px;
  gap: 0.9rem;
  padding: 1rem 1.5rem;
  border-right: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.4;
}

.trust-item:first-child {
  padding-left: 0;
}

.trust-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.trust-item::before {
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 auto;
  background: var(--yellow);
  content: "";
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}

.category-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-top: 2px solid var(--navy);
  background: var(--white);
  transition: transform var(--ease), box-shadow var(--ease);
}

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

.category-image {
  aspect-ratio: 1.35 / 1;
  overflow: hidden;
  background: var(--blue-pale);
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.category-card:hover .category-image img {
  transform: scale(1.045);
}

.category-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.6rem 1.7rem 1.8rem;
}

.category-number {
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.category-title {
  margin: 0.65rem 0 0;
  color: var(--navy);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.category-desc {
  margin: 0.8rem 0 1.4rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.category-link {
  margin-top: auto;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
}

.category-link::after {
  margin-left: 0.45rem;
  color: var(--yellow);
  content: "↗";
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Split stories, lists, solutions and guides
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 8rem);
}

.split-reverse {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
}

.split-copy {
  max-width: 590px;
}

.split-copy .section-title {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.split-image {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background: var(--blue-pale);
}

.split-image::after {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 5.5rem;
  height: 5.5rem;
  border-right: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
  content: "";
}

.split-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.check-list,
.feature-list {
  display: grid;
  gap: 0.9rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.55;
}

.check-list li::before {
  width: 0.95rem;
  height: 0.55rem;
  flex: 0 0 auto;
  margin-top: 0.28rem;
  border-bottom: 2px solid var(--yellow);
  border-left: 2px solid var(--yellow);
  content: "";
  transform: rotate(-45deg);
}

.feature-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem 2.5rem;
}

.feature-item {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  align-items: start;
  gap: 0.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.feature-icon,
.solution-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--blue-pale);
  color: var(--navy);
}

.feature-icon svg,
.solution-icon svg {
  width: 24px;
  height: 24px;
}

.feature-item strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--navy);
  font-size: 0.9rem;
  line-height: 1.35;
}

.feature-item span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.solution-card {
  min-height: 260px;
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background-color var(--ease), color var(--ease);
}

.solution-card:hover {
  background: var(--navy);
  color: var(--white);
}

.solution-card:hover .solution-icon {
  background: var(--yellow);
  color: var(--navy-deep);
}

.solution-card h3 {
  margin: 1.6rem 0 0.6rem;
  color: var(--navy);
  font-size: 1.15rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.solution-card:hover h3 {
  color: var(--white);
}

.solution-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.7;
}

.solution-card:hover p {
  color: rgba(255, 255, 255, 0.72);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.guide-card {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  background: var(--white);
  text-decoration: none;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}

.guide-card:hover,
.guide-card:focus-visible {
  border-color: var(--yellow);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.guide-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  color: var(--blue);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guide-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.22rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

/* --------------------------------------------------------------------------
   CTA and footer
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--yellow);
  color: var(--navy-deep);
}

.cta-band::after {
  position: absolute;
  right: -5rem;
  bottom: -9rem;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgba(0, 22, 79, 0.2);
  border-radius: 50%;
  content: "";
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.cta-inner h2 {
  max-width: 710px;
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4.3rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.cta-inner .btn {
  flex: 0 0 auto;
}

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(120px, 0.7fr));
  gap: 3rem;
  padding-block: clamp(4rem, 7vw, 6.5rem);
}

.footer-brand {
  max-width: 280px;
}

.footer-brand img {
  width: 132px;
  margin-bottom: 1.45rem;
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  line-height: 1.75;
}

.footer-links h3 {
  margin: 0 0 1rem;
  color: var(--yellow-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links ul {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.73);
  font-size: 0.8rem;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.35rem;
  border-top: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.7rem;
}

.footer-bottom p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Internal page hero and article layouts
   -------------------------------------------------------------------------- */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--navy);
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--blue);
  text-decoration: underline;
}

.breadcrumb span[aria-hidden="true"] {
  color: var(--blue-mid);
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.page-hero::after {
  position: absolute;
  right: 7%;
  bottom: -8rem;
  width: 23rem;
  height: 23rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  content: "";
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.58fr);
  align-items: end;
  gap: 4rem;
  padding-block: clamp(4.25rem, 8vw, 7.5rem);
}

.page-hero .breadcrumb,
.page-hero .page-lead {
  color: rgba(255, 255, 255, 0.68);
}

.page-hero .breadcrumb a {
  color: var(--white);
}

.page-heading {
  color: var(--white);
  font-size: clamp(2.9rem, 6vw, 6rem);
  text-wrap: balance;
}

.page-lead {
  margin-top: 1.4rem;
}

.page-hero .page-hero-grid::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40%;
  height: 1px;
  background: var(--yellow);
  content: "";
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 310px);
  align-items: start;
  gap: clamp(3rem, 8vw, 8rem);
  padding-block: clamp(4rem, 7vw, 7rem);
}

.article {
  min-width: 0;
}

.article-body {
  max-width: 760px;
  color: var(--ink);
  font-size: 1.03rem;
  line-height: 1.9;
}

.article-body > *:first-child {
  margin-top: 0;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  margin: 2.6rem 0 0.85rem;
  color: var(--navy);
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.article-body h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.article-body h3 {
  font-size: 1.45rem;
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body blockquote {
  margin-block: 1rem;
}

.article-body a {
  color: var(--blue);
  font-weight: 700;
}

.article-body img {
  width: 100%;
  margin-block: 2rem;
}

.article-body blockquote {
  margin-inline: 0;
  padding: 1.4rem 1.7rem;
  border-left: 4px solid var(--yellow);
  background: var(--mist);
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.5;
}

.toc {
  position: sticky;
  top: 1.5rem;
  padding: 1.35rem 1.3rem;
  border-top: 3px solid var(--yellow);
  background: var(--mist);
}

.toc h2,
.toc h3 {
  margin: 0 0 0.9rem;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.toc ul {
  display: grid;
  gap: 0.58rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc a {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  text-decoration: none;
}

.toc a:hover,
.toc a:focus-visible {
  color: var(--navy);
}

.aside-card {
  margin-top: 1.6rem;
  padding: 1.45rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.aside-card h2,
.aside-card h3 {
  margin: 0 0 0.65rem;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.3;
}

.aside-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.aside-card .btn {
  width: 100%;
  margin-top: 1.2rem;
}

/* --------------------------------------------------------------------------
   FAQ, filters, quotes and contact
   -------------------------------------------------------------------------- */

.faq-list {
  max-width: 920px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 0;
  color: var(--navy);
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.35;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  flex: 0 0 auto;
  color: var(--blue);
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.faq-list details[open] summary::after {
  color: var(--yellow);
  content: "−";
}

.faq-list details p {
  max-width: 760px;
  margin: -0.2rem 3rem 1.4rem 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.filter-bar input {
  min-width: min(100%, 280px);
  min-height: 2.9rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-size: 0.82rem;
}

.filter-bar input::placeholder {
  color: #7b8599;
}

.filter-button {
  min-height: 2.9rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.no-results {
  margin: 2rem 0;
  padding: 1.3rem;
  border-left: 3px solid var(--yellow);
  background: var(--mist);
  color: var(--muted);
  font-size: 0.9rem;
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.quote-form {
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-top: 4px solid var(--navy);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field label,
.field-row label {
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea,
.field-row input,
.field-row select,
.field-row textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(0, 22, 79, 0.2);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.4;
  transition: border-color var(--ease), box-shadow var(--ease), background-color var(--ease);
}

.field textarea,
.field-row textarea {
  min-height: 8rem;
  resize: vertical;
}

.field input::placeholder,
.field select::placeholder,
.field textarea::placeholder,
.field-row input::placeholder,
.field-row textarea::placeholder {
  color: #8791a4;
}

.field input:hover,
.field select:hover,
.field textarea:hover,
.field-row input:hover,
.field-row select:hover,
.field-row textarea:hover {
  border-color: var(--blue);
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.field-row input:focus,
.field-row select:focus,
.field-row textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(71, 93, 150, 0.15);
  outline: 0;
}

.form-note,
.form-status {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

.form-status {
  min-height: 1.4em;
  color: var(--success);
  font-weight: 700;
}

.contact-card {
  padding: 1.7rem;
  border-left: 4px solid var(--yellow);
  background: var(--navy);
  color: var(--white);
}

.contact-card h2,
.contact-card h3 {
  margin: 0 0 0.75rem;
  color: var(--white);
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.contact-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  line-height: 1.7;
}

.contact-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  gap: 0.15rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

.contact-list a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--yellow-light);
}

.small {
  color: inherit;
  font-size: 0.7rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Calculator
   -------------------------------------------------------------------------- */

.calculator {
  padding: clamp(1.3rem, 3vw, 2.3rem);
  border: 1px solid var(--line);
  background: var(--white);
}

.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.72fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.calc-result {
  position: sticky;
  top: 1.5rem;
  padding: 1.5rem;
  border-top: 4px solid var(--yellow);
  background: var(--navy);
  color: var(--white);
}

.calc-result h2,
.calc-result h3 {
  margin: 0 0 1rem;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.calc-output {
  display: block;
  color: var(--yellow-light);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 1;
}

.calc-result p {
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.77rem;
  line-height: 1.55;
}

.calc-disclaimer {
  margin: 1.4rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line-light);
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

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

@media (max-width: 1080px) {
  .nav-wrap {
    gap: 1.1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.73rem;
  }

  .hero-grid {
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: minmax(220px, 1.3fr) repeat(3, minmax(110px, 0.7fr));
    gap: 2rem;
  }
}

@media (max-width: 860px) {
  .container,
  .topbar-inner,
  .nav-wrap,
  .hero-grid,
  .cta-inner,
  .footer-grid,
  .footer-bottom,
  .page-hero-grid {
    width: min(calc(100% - 2.5rem), var(--container));
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    order: 3;
    margin-left: 0.15rem;
  }

  .nav-wrap {
    flex-wrap: wrap;
    row-gap: 0;
    padding-block: 0.85rem;
  }

  .brand {
    order: 1;
  }

  .header-cta {
    order: 2;
    margin-left: auto;
  }

  .nav-links {
    display: flex;
    order: 4;
    flex: 0 0 100%;
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    max-height: 0;
    margin-left: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 340ms ease, opacity 220ms ease, padding 220ms ease, visibility 220ms ease;
  }

  .nav-links a {
    padding: 0.82rem 0;
    border-top: 1px solid var(--line);
    font-size: 0.84rem;
  }

  .nav-links a::after {
    right: auto;
    left: 0;
    width: 2.2rem;
  }

  body.mobile-open .nav-links {
    max-height: 28rem;
    padding-top: 0.55rem;
    padding-bottom: 0.35rem;
    opacity: 1;
    visibility: visible;
  }

  .hero-grid,
  .split,
  .split-reverse,
  .quote-grid,
  .calc-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-block: 5rem 4rem;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    min-height: 54vw;
  }

  .split-image,
  .split-image img {
    min-height: 360px;
  }

  .split-reverse .split-copy {
    order: 1;
  }

  .split-reverse .split-image {
    order: 2;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .page-hero-grid::after {
    width: 55%;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    max-width: 760px;
  }

  .calc-result {
    position: static;
  }
}

@media (max-width: 680px) {
  html {
    font-size: 15px;
  }

  .container,
  .topbar-inner,
  .nav-wrap,
  .hero-grid,
  .cta-inner,
  .footer-grid,
  .footer-bottom,
  .page-hero-grid {
    width: min(calc(100% - 2rem), var(--container));
  }

  .topbar-inner {
    justify-content: center;
    text-align: center;
  }

  .topbar-inner > :not(:first-child) {
    display: none;
  }

  .nav-wrap {
    min-height: 75px;
  }

  .brand img,
  .footer-brand img {
    width: 116px;
  }

  .header-cta {
    font-size: 0.68rem;
    min-height: 2.65rem;
    padding: 0.66rem 0.8rem;
  }

  .menu-toggle {
    width: 2.65rem;
    height: 2.65rem;
  }

  .hero-grid {
    padding-block: 3.8rem 3rem;
  }

  .hero-title {
    font-size: clamp(2.9rem, 15vw, 5.5rem);
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions .btn {
    min-height: 3.35rem;
  }

  .hero-visual {
    min-height: 78vw;
  }

  .hero-tag {
    top: 3%;
    right: 0;
    max-width: 145px;
    padding: 0.65rem 0.7rem;
    font-size: 0.65rem;
  }

  .hero-note {
    right: 0;
    bottom: 0;
    max-width: 175px;
    font-size: 0.64rem;
  }

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

  .trust-item,
  .trust-item:first-child,
  .trust-item:last-child {
    min-height: 76px;
    padding: 0.9rem 0.7rem;
    border-right: 1px solid var(--line);
    font-size: 0.7rem;
  }

  .trust-item:nth-child(2n) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section-heading.section-header {
    display: block;
  }

  .section-heading.section-header .text-link {
    margin-top: 1.4rem;
  }

  .category-grid,
  .solution-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    max-width: 560px;
  }

  .solution-card {
    min-height: 0;
    padding: 1.5rem;
  }

  .guide-card {
    min-height: 190px;
  }

  .feature-list,
  .field-row {
    grid-template-columns: 1fr;
  }

  .split-image,
  .split-image img {
    min-height: 280px;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
  }

  .cta-inner .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem 1.4rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 400px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .page-heading {
    font-size: clamp(2.7rem, 14vw, 5rem);
  }

  .content-layout {
    padding-block: 3.5rem 5rem;
  }

  .article-body {
    font-size: 0.98rem;
  }

  .faq-list summary {
    font-size: 0.95rem;
  }

  .quote-form {
    padding: 1.25rem;
  }

  .filter-bar > * {
    flex: 1 1 auto;
  }

  .filter-bar input {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .topbar,
  .header,
  .hero-actions,
  .cta-band,
  .footer,
  .toc,
  .filter-bar,
  .menu-toggle {
    display: none !important;
  }

  .hero,
  .page-hero {
    color: #000;
    background: #fff;
  }

  .hero-title,
  .page-heading,
  .section-title,
  .article-body h2,
  .article-body h3 {
    color: #000;
  }

  .hero-grid,
  .page-hero-grid,
  .container,
  .content-layout {
    width: 100%;
  }
}

/* Integração com o HTML estático: estados, hierarquia e proporções reais. */
[hidden] { display: none !important; }
svg { width: 24px; height: 24px; flex: 0 0 auto; }
.category-card, .solution-card { text-decoration: none; }
.category-link { display: inline-flex; align-items: center; gap: .65rem; }
.category-link::after, .text-link::after, .check-list li::before, .trust-item::before { content: none; }
.category-image { background: #fff; }
.category-image img { object-fit: contain; padding: 1.6rem; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem; margin-bottom: 2.8rem; }
.section-header > :last-child { max-width: 390px; }
.section-header .text-link { margin-top: 1.15rem; }
.hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr); gap: 3rem; min-height: 660px; padding-block: 5rem; }
.hero-title { font-size: clamp(3rem, 5.1vw, 4.8rem); line-height: 1.06; }
.hero-title span { color: var(--yellow); }
.hero-visual { min-height: 420px; }
.hero-tag { top: auto; bottom: 0; right: 0; max-width: 230px; font-size: .64rem; }
.hero-note { position: static; margin-top: 2.2rem; max-width: none; padding-top: 1rem; font-size: .63rem; letter-spacing: .1em; }
.trust-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trust-item { gap: .8rem; }
.feature-list { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.7rem; }
.feature-item h3 { margin: 0 0 .35rem; color: var(--navy); font-size: .96rem; }
.feature-item p { margin: 0; color: var(--muted); font-size: .86rem; }
.solution-card .text-link { margin-top: 1.4rem; }
.solution-card:hover .text-link { color: var(--yellow); }
.guide-card p { color: var(--muted); font-size: .87rem; line-height: 1.7; }
.guide-card .text-link { margin-top: auto; padding-top: 1rem; }
.guide-meta { display: block; }
.cta-band .btn-primary { background: var(--navy); border-color: var(--navy); color: white; }
.cta-band .section-label { color: var(--navy); }
.footer-links { display: flex; flex-direction: column; gap: .7rem; }
.footer-links h2 { margin: 0 0 .6rem; color: var(--yellow); font-size: .78rem; letter-spacing: .06em; }
.footer-brand .small { display: block; margin-top: 1.5rem; }
.footer-links a, .aside-card a { overflow-wrap: anywhere; }
.page-hero .breadcrumb { padding-top: 1.8rem; margin-bottom: 0; }
.page-hero-grid { width: 100%; padding-block: 3rem 5rem; grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr); gap: 3rem; align-items: center; }
.page-hero-grid:not(:has(.split-image)) { grid-template-columns: 1fr; max-width: 950px; margin-left: 0; }
.page-hero .section-label { color: var(--yellow); }
.page-heading { font-size: clamp(2.5rem, 4.8vw, 4.8rem); }
.page-hero .split-image { background: white; min-height: 0; }
.page-hero .split-image img { min-height: 0; height: 340px; object-fit: contain; padding: 1.5rem; }
.section .content-layout { padding-block: 0; }
.toc > a { display: block; margin: .8rem 0; }
.toc > h2 { margin-top: 2rem; }
.aside-card .small { margin-top: 1rem; }
.quote-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 3.5rem; }
.quote-form h2 { margin: 0; color: var(--navy); font-size: 1.7rem; letter-spacing: -.035em; }
.quote-form .form-note { margin: 0; }
.contact-list { margin-bottom: 2rem; }
.contact-list a { display: flex; gap: .8rem; align-items: center; font-size: .85rem; }
.contact-list strong { font-weight: 600; overflow-wrap: anywhere; }
.contact-card .check-list li { color: rgba(255,255,255,.8); }
.contact-card .check-list { margin: 1rem 0 2rem; }
.contact-card .section-label { color: var(--yellow); }
.calculator { margin-block: 2.5rem; background: var(--mist); }
.calc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.calc-result { position: static; margin-top: 1.3rem; }
.calc-result > span { display: block; margin-bottom: .75rem; font-size: .76rem; }
.calc-result .calc-output { font-size: 2.8rem; }
.calc-disclaimer { color: var(--muted); }
@media (max-width: 860px) {
  .hero-grid, .quote-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding-block: 3.8rem; gap: 2rem; }
  .hero-visual { min-height: 0; max-width: 600px; }
  .hero-visual img { max-height: 350px; }
  .hero-title { font-size: clamp(2.9rem, 7vw, 4.2rem); }
  .hero-note { font-size: .6rem; }
  .section-header { gap: 2rem; }
  .page-hero-grid { width: 100%; }
  .section-header > :last-child { max-width: 330px; }
}
@media (max-width: 680px) {
  .section-header { display: block; margin-bottom: 2rem; }
  .section-header > :last-child { max-width: none; }
  .hero-title { font-size: clamp(2.7rem, 10vw, 3.7rem); }
  .hero-tag { bottom: 0; max-width: 200px; }
  .hero-visual img { max-height: 280px; }
  .trust-items { grid-template-columns: 1fr; }
  .trust-item, .trust-item:first-child, .trust-item:last-child { min-height: 62px; border-right: 0; border-bottom: 1px solid var(--line); padding: .85rem 0; }
  .trust-item:last-child { border-bottom: 0; }
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .calc-grid { grid-template-columns: 1fr; }
  .page-hero-grid { padding-block: 2.5rem 3.5rem; }
  .page-hero .split-image img { height: 280px; }
  .category-image img { padding: 1rem; }
}

/* Foco de teclado com contraste em superfícies claras e escuras. */
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; box-shadow: 0 0 0 6px white; }
.hero :focus-visible, .page-hero :focus-visible, .footer :focus-visible, .contact-card :focus-visible { outline-color: var(--yellow); box-shadow: 0 0 0 6px var(--navy); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: 2px; box-shadow: 0 0 0 5px white; }
