@import url("https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --navy: #050244;
  --navy-2: #0d0958;
  --orange: #d55a14;
  --orange-light: #ee742c;
  --cream: #f7f5f1;
  --navy-soft: #eeedf6;
  --orange-soft: #fff1e8;
  --paper: #ffffff;
  --ink: #111027;
  --muted: #686778;
  --line: #e5e3e8;
}

* { box-sizing: border-box; }
html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.home-main { display: flex; flex-direction: column; }
button, input, textarea, select { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid rgba(213, 90, 20, .42); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
h1, h2, h3, .brand, .button, .eyebrow, .desktop-nav, .mobile-menu, .text-link,
.credibility, .solution-top, .solution-card li, .sector-card, .technology-list,
.data-panel, .method-list, .leadership-cards, .values-row, .tool-card, .faq-list summary,
.cta-section, footer, .floating-contact { font-family: "League Spartan", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.shell { width: min(1190px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .93);
  border-bottom: 1px solid rgba(5, 2, 68, .09);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; color: var(--navy); }
.brand-symbol {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: url("/primercont-icon.png") center / contain no-repeat;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: 21px; letter-spacing: .015em; }
.brand-copy small { margin-top: 5px; font-size: 8.5px; font-weight: 700; letter-spacing: .12em; }
.desktop-nav { display: flex; align-items: center; gap: 23px; margin-left: auto; }
.desktop-nav a { color: #45435d; font-size: 15px; font-weight: 600; transition: color .2s ease; }
.desktop-nav a:hover { color: var(--orange); }
.button {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--orange);
  color: white;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 13px 28px rgba(213, 90, 20, .18);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { background: var(--orange-light); transform: translateY(-2px); box-shadow: 0 17px 34px rgba(213, 90, 20, .24); }
.button-small { min-height: 44px; padding: 0 18px; border-radius: 7px; gap: 11px; font-size: 14px; }
.mobile-menu { display: none; position: relative; margin-left: auto; }
.mobile-menu summary {
  width: 43px;
  height: 43px;
  padding: 0;
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { width: 18px; height: 2px; border-radius: 2px; background: var(--navy); }
.mobile-menu nav {
  position: absolute;
  right: 0;
  top: 52px;
  width: 260px;
  padding: 12px;
  display: grid;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 55px rgba(5, 2, 68, .16);
}
.mobile-menu nav a { padding: 13px 14px; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 15px; font-weight: 600; }
.mobile-menu nav a:last-child { margin-top: 8px; border: 0; border-radius: 7px; background: var(--orange); color: white; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 700px;
  padding: 56px 0 62px;
  background: linear-gradient(90deg, #fbfaf8 0%, #f7f5f1 52%, var(--navy) 52%, var(--navy) 100%);
}
.hero:before {
  content: "";
  position: absolute;
  width: 660px;
  height: 660px;
  right: -330px;
  top: -390px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 86px rgba(255, 255, 255, .025), 0 0 0 172px rgba(255, 255, 255, .016);
}
.hero-grid {
  position: relative;
  width: min(1360px, calc(100% - 64px));
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 48px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f1a173;
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: 12px;
  font-weight: 800;
}
.eyebrow > span { width: 23px; height: 2px; display: inline-block; background: var(--orange); }
.eyebrow-dark { color: var(--orange); }
.hero h1 {
  max-width: 680px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(62px, 5.45vw, 86px);
  line-height: .93;
  letter-spacing: -.052em;
  font-weight: 750;
}
.hero h1 em { display: block; color: var(--orange); font-style: normal; }
.hero-lead { max-width: 620px; margin: 30px 0 0; color: #56546a; font-size: 19px; line-height: 1.62; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 29px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-size: 15px; font-weight: 700; }
.text-link span { color: var(--orange); }
.hero-note { margin: 34px 0 0; display: flex; align-items: center; gap: 9px; color: #686677; font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.hero-note span { color: var(--orange); font-size: 8px; }
.hero-leadership {
  position: relative;
  width: 100%;
  min-height: 570px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 0 0 0 10px;
}
.hero-leadership:before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -18px -28px -18px -10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 28px;
  background: rgba(255, 255, 255, .035);
  box-shadow: 0 42px 90px rgba(0, 0, 0, .24);
}
.hero-leader {
  position: relative;
  z-index: 1;
  height: 570px;
  margin: 0;
  overflow: hidden;
  background: #d9d8df;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
}
.hero-leader img { object-fit: cover; }
.hero-leader img, .leader-photo img { transition: transform .35s ease, object-position .35s ease; }
.hero-leader-aldir img { object-position: 52% 35%; transform: scale(1.04); }
.hero-leader:after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 2, 68, .94) 0%, rgba(5, 2, 68, .18) 40%, transparent 62%); pointer-events: none; }
.hero-leader figcaption { position: absolute; z-index: 2; left: 25px; right: 20px; bottom: 24px; display: grid; gap: 5px; color: white; }
.hero-leader figcaption strong { font-family: "League Spartan", Arial, sans-serif; font-size: 27px; letter-spacing: -.025em; }
.hero-leader figcaption span { color: #d6d4e8; font-size: 14px; font-weight: 600; }
.portrait-accent { position: absolute; z-index: 3; top: 48px; left: 0; width: 6px; height: 112px; background: var(--orange); box-shadow: 0 0 28px rgba(213, 90, 20, .28); }
.credibility { position: relative; overflow: hidden; background: linear-gradient(105deg, #050244 0%, #0b0753 100%); color: white; }
.credibility:before { content: ""; position: absolute; left: 0; top: 0; width: 18%; height: 3px; background: var(--orange); }
.credibility-grid { width: min(1360px, calc(100% - 64px)); min-height: 148px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.credibility-grid > div { min-height: 88px; padding: 0 34px; display: grid; align-content: center; gap: 9px; border-right: 1px solid rgba(255, 255, 255, .14); }
.credibility-grid > div:before { content: ""; width: 28px; height: 2px; margin-bottom: 4px; background: var(--orange); }
.credibility-grid > div:first-child { padding-left: 0; }
.credibility-grid > div:last-child { border: 0; }
.credibility-grid strong { font-size: 25px; line-height: 1.02; letter-spacing: -.025em; }
.credibility-grid > div:first-child strong { font-size: 34px; }
.credibility-grid span { color: #cbc9dc; font-size: 15px; line-height: 1.35; letter-spacing: .01em; }

.start-section { padding: 74px 0; background: var(--cream); border-bottom: 1px solid var(--line); }
.start-grid { display: grid; grid-template-columns: .78fr repeat(3, 1fr); align-items: stretch; gap: 12px; }
.start-intro { padding: 25px 35px 25px 0; align-self: center; }
.start-intro h2 { max-width: 390px; margin: 0; color: var(--navy); font-size: 42px; line-height: .98; letter-spacing: -.04em; }
.start-intro > p:last-child { max-width: 390px; margin: 20px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.start-card { min-height: 340px; padding: 27px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #dddae2; background: white; color: var(--navy); transition: transform .22s ease, box-shadow .22s ease; }
.start-card:hover { transform: translateY(-5px); box-shadow: 0 25px 50px rgba(5, 2, 68, .09); }
.start-kicker { padding-top: 12px; border-top: 2px solid var(--orange); color: var(--orange); text-transform: uppercase; letter-spacing: .13em; font-family: "League Spartan", Arial, sans-serif; font-size: 11px; font-weight: 800; }
.start-card h3 { margin: 0; font-size: 31px; line-height: 1.02; }
.start-card p { margin: 14px 0 0; color: var(--muted); font-size: 15px; line-height: 1.62; }
.start-card > strong { padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--orange); font-family: "League Spartan", Arial, sans-serif; font-size: 14px; }
.start-card-dark { border-color: var(--navy); background: var(--navy); color: white; }
.start-card-dark p { color: #c3c1d4; }
.start-card-dark > strong { border-color: rgba(255,255,255,.14); color: #f2a277; }

.section { padding: 120px 0; }
.section-heading h2,
.method-heading h2,
.leadership-intro h2,
.faq-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(40px, 4.2vw, 59px);
  line-height: .98;
  letter-spacing: -.047em;
}
.split-heading { margin-bottom: 50px; display: grid; grid-template-columns: 1.12fr .72fr; align-items: end; gap: 110px; }
.split-heading > p { margin: 0 0 3px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.technology-copy > p:not(.eyebrow),
.faq-list details p {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}

.solutions { background: white; }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--navy); border-bottom: 1px solid var(--line); }
.value-grid article { min-height: 185px; padding: 26px 30px 28px 0; border-right: 1px solid var(--line); }
.value-grid article:not(:first-child) { padding-left: 30px; }
.value-grid article:last-child { border-right: 0; }
.value-number { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; color: var(--orange); font-size: 17px; font-weight: 800; letter-spacing: .06em; }
.value-number:after { content: ""; width: 28px; height: 1px; background: var(--orange); }
.value-grid h3 { margin: 0 0 11px; color: var(--navy); font-size: 26px; }
.value-grid p { max-width: 320px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.services-heading { max-width: 760px; margin: 92px 0 43px; }
.services-heading h2 { margin: 0; color: var(--navy); font-size: clamp(39px, 4vw, 56px); line-height: .99; letter-spacing: -.045em; }
.solution-card { min-height: 575px; padding: 38px 36px 35px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: white; box-shadow: inset 0 3px 0 var(--navy-soft); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.solution-card:last-child { border-right: 0; }
.solution-card:hover { position: relative; z-index: 2; transform: translateY(-6px); box-shadow: inset 0 3px 0 var(--orange), 0 27px 58px rgba(5, 2, 68, .11); }
.solution-label { margin: 0; padding-top: 13px; border-top: 2px solid var(--orange); color: var(--orange); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 800; }
.solution-card h3 { max-width: 310px; margin: 36px 0 20px; color: var(--navy); font-size: 35px; line-height: 1.02; letter-spacing: -.035em; }
.solution-card > p { min-height: 86px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.68; }
.solution-card ul { margin: 34px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.solution-card li { min-height: 48px; padding: 13px 0; display: flex; align-items: center; border-bottom: 1px solid var(--line); color: #35334a; font-size: 15px; font-weight: 600; }
.solution-card li:last-child { border-bottom: 0; }
.card-cta { margin-top: auto; padding-top: 29px; display: flex; align-items: center; justify-content: space-between; color: var(--orange); font-family: "League Spartan", Arial, sans-serif; font-size: 15px; font-weight: 750; }
.card-cta > span { transition: transform .2s ease; }
.solution-card:hover .card-cta > span { transform: translate(3px, -3px); }

.sectors { background: var(--cream); }
.centered-heading { max-width: 790px; margin: 0 auto 54px; text-align: center; }
.centered-heading .eyebrow { justify-content: center; }
.centered-heading > p:last-child { max-width: 610px; margin: 23px auto 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.sector-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sector-card {
  min-height: 410px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.sector-card:after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, .16); border-radius: inherit; pointer-events: none; }
.sector-card > * { position: relative; z-index: 2; }
.sector-card:hover { transform: translateY(-4px); box-shadow: 0 26px 55px rgba(5, 2, 68, .18); }
.sector-commerce { background-image: linear-gradient(180deg, rgba(5, 2, 68, .18), rgba(5, 2, 68, .96)), url("/servico-consultoria.jpg"); }
.sector-holdings { background-image: linear-gradient(180deg, rgba(5, 2, 68, .15), rgba(5, 2, 68, .95)), url("/servico-planejamento.png"); }
.sector-rural { background-image: linear-gradient(180deg, rgba(5, 2, 68, .14), rgba(5, 2, 68, .95)), url("/segmento-rural.png"); }
.sector-business { background-image: linear-gradient(180deg, rgba(213, 90, 20, .08), rgba(5, 2, 68, .96)), url("/segmento-negocios.jpg"); }
.sector-card > div { margin-top: auto; margin-bottom: 24px; }
.sector-label { margin: 0 0 13px; color: #f3ab82; text-transform: uppercase; letter-spacing: .15em; font-size: 12px; font-weight: 800; }
.sector-card h3 { max-width: 360px; margin: 0; font-size: 32px; line-height: 1.03; letter-spacing: -.04em; }
.sector-card div > p:last-child { max-width: 380px; margin: 17px 0 0; color: rgba(255, 255, 255, .84); font-size: 15px; line-height: 1.6; }
.sector-cta { width: max-content; min-height: 44px; padding: 0 10px 0 15px; display: inline-flex; align-items: center; gap: 18px; border: 1px solid rgba(255, 255, 255, .38); border-radius: 12px; background: rgba(5, 2, 68, .43); color: white; font-size: 14px; font-weight: 700; backdrop-filter: blur(10px); transition: border-color .2s ease, background .2s ease; }
.sector-cta > span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: white; font-size: 12px; transition: transform .2s ease; }
.sector-card:hover .sector-cta { border-color: rgba(243, 171, 130, .85); background: rgba(5, 2, 68, .7); }
.sector-card:hover .sector-cta > span { transform: translate(2px, -2px); }

.technology { position: relative; overflow: hidden; background: var(--navy); color: white; }
.technology:before { content: ""; position: absolute; width: 540px; height: 540px; left: -270px; bottom: -320px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255, 255, 255, .025), 0 0 0 140px rgba(255, 255, 255, .014); }
.technology-grid { position: relative; display: grid; grid-template-columns: .92fr 1fr; align-items: center; gap: 105px; }
.technology h2 { margin: 0; font-size: clamp(42px, 4.1vw, 60px); line-height: .98; letter-spacing: -.047em; }
.technology-copy > p:not(.eyebrow) { max-width: 590px; margin: 26px 0 0; color: #c7c5d8; font-size: 18px; line-height: 1.68; }
.technology-list { margin: 37px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 27px; }
.technology-list li { padding-left: 16px; border-left: 2px solid rgba(238, 116, 44, .72); }
.technology-list div { display: grid; gap: 5px; }
.technology-list strong { font-size: 18px; line-height: 1.2; }
.technology-list small { color: #b5b3ca; font-size: 15px; line-height: 1.5; }
.data-panel { padding: 28px; background: rgba(255, 255, 255, .065); color: white; border: 1px solid rgba(255, 255, 255, .14); border-radius: 24px; box-shadow: 0 38px 90px rgba(0, 0, 0, .32); backdrop-filter: blur(12px); }
.data-head { padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .13); display: flex; justify-content: space-between; align-items: flex-start; }
.data-head > div { display: grid; gap: 7px; }
.data-head div span { color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.data-head div strong { color: white; font-size: 27px; }
.data-status { padding: 8px 11px; border-radius: 99px; background: var(--orange-soft); color: var(--orange); font-size: 12px; font-weight: 700; }
.data-highlight { margin-top: 20px; padding: 25px 25px 18px; overflow: hidden; border-radius: 18px; background: linear-gradient(145deg, #ffffff, #f6f4ef); color: var(--navy); box-shadow: inset 0 0 0 1px rgba(5, 2, 68, .06); }
.data-highlight-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.data-highlight-top > div:first-child { display: grid; gap: 7px; }
.data-highlight-top span { color: #77748a; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.data-highlight-top strong { display: block; color: var(--navy); font-size: 21px; }
.data-metric { min-width: 112px; padding-left: 18px; border-left: 1px solid #dedbe5; display: grid; gap: 6px; }
.data-metric strong { color: var(--orange); font-size: 24px; }
.data-chart { height: 150px; margin-top: 20px; position: relative; border-bottom: 1px solid #dad7e2; background: repeating-linear-gradient(to bottom, transparent 0, transparent 36px, rgba(5, 2, 68, .065) 37px); }
.data-chart svg { width: 100%; height: 100%; overflow: visible; }
.chart-area { fill: url(#chart-fill); }
.chart-line { fill: none; stroke: var(--orange); stroke-width: 5; stroke-linecap: round; }
.data-chart circle { fill: white; stroke: var(--orange); stroke-width: 4; }
.chart-labels { margin-top: 11px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #686578; font-size: 12px; font-weight: 700; }
.data-cards { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.data-cards > div { padding: 18px; display: grid; gap: 7px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; background: rgba(255, 255, 255, .07); }
.data-cards span { color: #aaa8c2; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.data-cards strong { color: white; font-size: 21px; }
.data-cards small { color: #c1bfd2; font-size: 13px; }
.data-footer { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .13); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.data-footer span { display: flex; align-items: center; gap: 7px; color: #c1bfd2; font-size: 13px; }
.data-footer i { width: 7px; height: 7px; display: block; border-radius: 50%; background: #2da06f; }
.data-footer strong { color: #f19a68; font-size: 14px; }

.method { background: white; }
.method-heading { margin-bottom: 53px; display: grid; grid-template-columns: 1.05fr .65fr; align-items: end; gap: 120px; }
.method-heading > p { margin: 0 0 3px; color: var(--muted); font-size: 17px; line-height: 1.68; }
.method-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--navy); display: grid; grid-template-columns: repeat(4, 1fr); }
.method-list li { min-height: 230px; padding: 25px 22px 28px; border-right: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; justify-items: center; text-align: center; }
.method-list li:not(:first-child) { padding-left: 22px; }
.method-list li:last-child { border: 0; padding-right: 22px; }
.method-list li > span { width: 100%; color: var(--orange); font-size: 30px; line-height: 1; letter-spacing: -.04em; font-weight: 700; text-align: center; }
.method-list li > div { width: 100%; align-self: center; }
.method-list h3 { margin: 0 0 11px; color: var(--navy); font-size: 28px; text-align: center; }
.method-list p { margin: 0 auto; color: var(--muted); font-size: 16px; line-height: 1.58; text-align: center; }

.leadership { background: var(--cream); }
.leadership-grid { display: grid; grid-template-columns: 1fr .9fr; align-items: start; gap: 100px; }
.leadership-intro > p:not(.eyebrow) { max-width: 620px; margin: 27px 0 0; color: var(--muted); font-size: 16px; line-height: 1.68; text-align: justify; text-align-last: left; hyphens: none; }
.values-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.values-row span { padding: 10px 14px; border: 1px solid rgba(5, 2, 68, .16); border-radius: 99px; background: rgba(255, 255, 255, .5); color: var(--navy); font-size: 14px; font-weight: 700; }
.leadership-cards { border-top: 1px solid var(--navy); }
.leadership-cards article { min-height: 154px; padding: 25px 0; border-bottom: 1px solid #d8d4cd; display: grid; grid-template-columns: 88px 1fr; align-items: center; gap: 24px; }
.leader-photo { width: 88px; height: 104px; position: relative; display: block; overflow: hidden; border-radius: 44px 44px 10px 10px; background: var(--navy-soft); box-shadow: 0 12px 28px rgba(5, 2, 68, .12); }
.leader-photo img { object-fit: cover; object-position: 39% 18%; transform: scale(1.38); transform-origin: 39% 18%; }
.leader-photo-aldir img { object-position: 50% 23%; transform: scale(1.35); transform-origin: 50% 23%; }
.leadership-cards article div { display: grid; gap: 5px; }
.leadership-cards article p { margin: 0; color: var(--orange); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 800; }
.leadership-cards h3 { margin: 0; color: var(--navy); font-size: 28px; }
.leadership-cards article div > span { color: var(--muted); font-size: 16px; line-height: 1.45; }
.leadership-cards blockquote { margin: 0; padding: 31px 0 0; color: var(--navy); font-size: 22px; line-height: 1.38; font-weight: 700; }

.tools-section { background: white; }
.compact-heading { margin-bottom: 45px; }
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool-card { min-height: 350px; padding: 34px; display: flex; flex-direction: column; border: 1px solid rgba(5, 2, 68, .12); background: white; box-shadow: inset 0 3px 0 var(--navy), 0 16px 42px rgba(5, 2, 68, .055); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.tool-card:hover { transform: translateY(-6px); border-color: rgba(213, 90, 20, .28); box-shadow: inset 0 3px 0 var(--orange), 0 26px 58px rgba(5, 2, 68, .11); }
.tool-label { width: 100%; padding-bottom: 15px; border-bottom: 1px solid var(--line); color: var(--orange); text-transform: uppercase; letter-spacing: .15em; font-size: 11px; font-weight: 800; }
.tool-card h3 { min-height: 66px; max-width: 290px; margin: 39px 0 17px; display: flex; align-items: flex-end; color: var(--navy); font-size: 31px; line-height: 1.01; letter-spacing: -.04em; }
.tool-card p { max-width: 290px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.68; }
.tool-link { width: max-content; min-height: 43px; margin-top: auto; padding: 0 9px 0 14px; display: inline-flex; align-items: center; gap: 17px; border: 1px solid rgba(213, 90, 20, .3); background: #fff9f5; color: var(--navy); font-size: 14px; font-weight: 750; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.tool-link > span { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: white; font-size: 11px; transition: transform .2s ease; }
.tool-card:hover .tool-link { border-color: var(--orange); background: var(--orange); color: white; }
.tool-card:hover .tool-link > span { transform: translate(2px, -2px); }

.faq-section { padding-top: 20px; background: white; }
.faq-grid { display: grid; grid-template-columns: .73fr 1.1fr; gap: 100px; }
.faq-heading { position: sticky; top: 130px; align-self: start; }
.faq-heading h2 { font-size: 48px; }
.faq-heading > p:last-child { max-width: 370px; margin: 21px 0 0; color: var(--muted); font-size: 16px; line-height: 1.62; }
.faq-list { border-top: 1px solid var(--navy); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 84px; list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--navy); font-size: 18px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { width: 27px; height: 27px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #d6d3dd; border-radius: 50%; color: var(--orange); transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 680px; margin: -5px 45px 29px 0; color: var(--muted); font-size: 15px; line-height: 1.68; }

.cta-section { padding: 108px 0; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: white; text-align: center; border-top: 5px solid var(--orange); }
.cta-section:before,
.cta-section:after { content: ""; position: absolute; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; }
.cta-section:before { width: 470px; height: 470px; left: -260px; top: -300px; box-shadow: 0 0 0 75px rgba(255, 255, 255, .035); }
.cta-section:after { width: 390px; height: 390px; right: -220px; bottom: -270px; box-shadow: 0 0 0 65px rgba(255, 255, 255, .035); }
.cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.cta-inner .eyebrow { color: white; }
.cta-inner .eyebrow > span { background: white; }
.cta-inner h2 { max-width: 900px; margin: 0; font-size: clamp(45px, 5.3vw, 70px); line-height: .96; letter-spacing: -.05em; }
.cta-inner > p:not(.eyebrow) { margin: 24px 0 31px; font-size: 17px; }
.button-light { background: var(--orange); color: white; box-shadow: 0 14px 32px rgba(0, 0, 0, .18); }
.button-light:hover { background: var(--orange-light); box-shadow: 0 17px 36px rgba(0, 0, 0, .22); }

footer { padding: 70px 0 24px; background: #020128; color: white; }
.footer-main { display: grid; grid-template-columns: 1.25fr 1.35fr 1fr .9fr; gap: 48px; }
.brand-footer { color: white; }
.brand-footer .brand-symbol { width: 48px; height: 48px; }
.footer-brand > p { max-width: 310px; margin: 23px 0 0; color: #b1afc5; font-size: 15px; line-height: 1.6; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-col > strong { margin-bottom: 8px; text-transform: uppercase; letter-spacing: .13em; font-size: 13px; }
.footer-col a,
.footer-col p { margin: 0; color: #b7b5ca; font-size: 15px; line-height: 1.7; transition: color .2s ease; }
.footer-phones { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: #77758f; }
.footer-phones a { color: #b7b5ca; }
.footer-col a:hover { color: white; }
.footer-specialties a { white-space: nowrap; }
.footer-bottom { margin-top: 55px; padding-top: 21px; border-top: 1px solid rgba(255, 255, 255, .11); display: flex; justify-content: space-between; color: #9997ae; font-size: 12px; }
.floating-contact { position: fixed; right: 20px; bottom: 20px; z-index: 45; min-height: 49px; padding: 0 17px 0 9px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 99px; display: flex; align-items: center; gap: 10px; background: var(--navy); color: white; box-shadow: 0 14px 34px rgba(5, 2, 68, .25); font-size: 13px; }
.floating-contact span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); font-size: 13px; }

@media (max-width: 1450px) {
  .floating-contact strong { display: none; }
  .floating-contact { width: 50px; height: 50px; min-height: 50px; padding: 0; justify-content: center; }
  .floating-contact span { width: 32px; height: 32px; }
}

@media (max-width: 1060px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .nav-wrap > .button-small { display: none; }
  .hero { background: linear-gradient(90deg, #fbfaf8 0%, #f7f5f1 54%, var(--navy) 54%, var(--navy) 100%); }
  .hero-grid { width: min(100% - 48px, 980px); grid-template-columns: .95fr 1.05fr; gap: 30px; }
  .hero h1 { font-size: clamp(52px, 6vw, 68px); }
  .hero-leadership { min-height: 510px; padding-left: 8px; gap: 9px; }
  .hero-leader { height: 510px; }
  .technology-grid { gap: 60px; }
  .technology-list { grid-template-columns: 1fr; gap: 17px; }
  .start-grid { grid-template-columns: 1fr 1fr; }
  .start-intro { grid-column: 1 / -1; padding-right: 0; }
  .leadership-grid { gap: 60px; }
  .footer-main { grid-template-columns: 1.1fr 1.4fr 1fr; gap: 40px; }
  .footer-col:last-child { grid-column: 2; }
}

@media (max-width: 800px) {
  .shell { width: min(100% - 34px, 700px); }
  .nav-wrap { min-height: 72px; }
  .hero { min-height: auto; padding: 64px 0 78px; background: linear-gradient(180deg, #fbfaf8 0%, #f7f5f1 51%, var(--navy) 51%, var(--navy) 100%); }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero h1 { max-width: 690px; font-size: clamp(50px, 10vw, 72px); }
  .hero-lead { max-width: 620px; }
  .hero-leadership { width: min(100%, 680px); min-height: 520px; margin: 0 auto; padding-left: 16px; }
  .hero-leader { height: 520px; }
  .credibility-grid { grid-template-columns: 1fr 1fr; padding: 22px 0; }
  .credibility-grid > div { min-height: 104px; padding: 0 24px; }
  .credibility-grid > div:nth-child(2) { border-right: 0; }
  .credibility-grid > div:nth-child(3) { padding-left: 0; }
  .start-grid { grid-template-columns: 1fr 1fr; }
  .start-intro { grid-column: 1 / -1; padding-right: 0; }
  .section { padding: 85px 0; }
  .split-heading,
  .method-heading,
  .technology-grid,
  .leadership-grid,
  .faq-grid { grid-template-columns: 1fr; gap: 38px; }
  .split-heading,
  .method-heading { margin-bottom: 40px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-grid article,
  .value-grid article:not(:first-child) { min-height: auto; padding: 25px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .value-grid article:last-child { border-bottom: 0; }
  .value-grid h3 { margin-top: 0; }
  .services-heading { margin-top: 70px; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .solution-card:last-child { border-bottom: 0; }
  .solution-card h3 { margin-top: 38px; }
  .solution-card > p { min-height: auto; }
  .sector-grid { grid-template-columns: 1fr; }
  .sector-card { min-height: 400px; }
  .technology-list { grid-template-columns: 1fr 1fr; }
  .data-panel { width: min(100%, 570px); margin: 10px auto 0; }
  .method-list { grid-template-columns: 1fr 1fr; }
  .method-list li:nth-child(2) { border-right: 0; padding-right: 22px; }
  .method-list li:nth-child(3) { padding-left: 22px; }
  .method-list li { border-bottom: 1px solid var(--line); }
  .method-list li:nth-child(3), .method-list li:nth-child(4) { border-bottom: 0; }
  .tools-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 280px; }
  .faq-section { padding-top: 10px; }
  .faq-heading { position: static; }
  .technology-copy > p:not(.eyebrow),
  .leadership-intro > p:not(.eyebrow),
  .faq-list details p {
    text-align: left;
    hyphens: none;
  }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 14px; }
  .footer-col:last-child { grid-column: auto; }
}

@media (max-width: 620px) {
  .footer-specialties a { white-space: normal; }
}

@media (max-width: 520px) {
  .shell { width: calc(100% - 28px); }
  .brand-symbol { width: 40px; height: 40px; }
  .brand-copy strong { font-size: 18px; }
  .brand-copy small { display: none; }
  .mobile-menu nav { width: min(280px, calc(100vw - 28px)); }
  .hero { padding: 51px 0 65px; background: linear-gradient(180deg, #fbfaf8 0%, #f7f5f1 58%, var(--navy) 58%, var(--navy) 100%); }
  .eyebrow { font-size: 11px; }
  .hero h1 { font-size: 49px; }
  .hero-lead { margin-top: 23px; font-size: 17px; line-height: 1.58; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 19px; }
  .hero-actions .button { width: 100%; }
  .text-link { justify-content: center; }
  .hero-leadership { min-height: 430px; padding-left: 9px; gap: 6px; }
  .hero-leadership:before { inset: -10px -7px -12px -2px; border-radius: 20px; }
  .hero-leader { height: 430px; border-radius: 15px; }
  .hero-leader figcaption { left: 13px; right: 9px; bottom: 15px; }
  .hero-leader figcaption strong { font-size: 16px; }
  .hero-leader figcaption span { font-size: 12px; }
  .portrait-accent { left: -7px; top: 58px; height: 92px; width: 6px; }
  .credibility-grid { grid-template-columns: 1fr; padding: 15px 0; }
  .credibility-grid > div { min-height: 112px; padding: 20px 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .credibility-grid > div:last-child { border-bottom: 0; }
  .start-section { padding: 58px 0; }
  .start-grid { grid-template-columns: 1fr; }
  .start-intro { grid-column: auto; padding: 0 0 20px; }
  .start-intro h2 { font-size: 40px; }
  .start-card { min-height: 315px; }
  .section { padding: 72px 0; }
  .section-heading h2,
  .method-heading h2,
  .leadership-intro h2,
  .services-heading h2 { font-size: 41px; }
  .solution-card { padding: 27px 24px; }
  .solution-card h3 { font-size: 29px; }
  .sector-card { min-height: 370px; padding: 24px; }
  .sector-card h3 { font-size: 29px; }
  .technology h2 { font-size: 42px; }
  .technology-list { grid-template-columns: 1fr; }
  .data-panel { padding: 17px; transform: none; }
  .data-head div strong { font-size: 20px; }
  .data-highlight { padding: 18px; }
  .data-highlight > strong { font-size: 16px; }
  .data-cards { grid-template-columns: 1fr; }
  .data-footer { align-items: flex-start; flex-direction: column; }
  .method-list { grid-template-columns: 1fr; }
  .method-list li,
  .method-list li:not(:first-child) { min-height: 145px; padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .method-list li:nth-child(3) { border-bottom: 1px solid var(--line); }
  .leadership-cards article { grid-template-columns: 74px 1fr; gap: 16px; }
  .leader-photo { width: 74px; height: 88px; }
  .tool-card { min-height: 290px; padding: 25px; }
  .faq-heading h2 { font-size: 40px; }
  .faq-list summary { min-height: 78px; font-size: 16px; }
  .cta-section { padding: 80px 0; }
  .cta-inner h2 { font-size: 44px; }
  .button { padding: 0 18px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand,
  .footer-col:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .floating-contact strong { display: none; }
  .floating-contact { width: 48px; height: 48px; min-height: 48px; padding: 0; justify-content: center; }
  .floating-contact span { width: 32px; height: 32px; }
}

/* Decision tools */
.tool-page { min-height: 100vh; background: #f5f4f1; color: var(--navy); }
.tool-shell { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.tool-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid rgba(5, 2, 68, .1); background: rgba(255, 255, 255, .94); backdrop-filter: blur(18px); }
.tool-nav { min-height: 78px; display: flex; align-items: center; gap: 34px; }
.tool-brand { display: flex; align-items: center; gap: 11px; }
.tool-brand img { border-radius: 50%; }
.tool-brand > span { display: grid; gap: 4px; }
.tool-brand strong { font-family: "League Spartan", Arial, sans-serif; font-size: 20px; letter-spacing: .02em; }
.tool-brand small { font-family: "League Spartan", Arial, sans-serif; font-size: 8px; letter-spacing: .12em; font-weight: 700; }
.tool-nav nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.tool-nav nav a { color: #545267; font-family: "League Spartan", Arial, sans-serif; font-size: 14px; font-weight: 650; }
.tool-nav nav a:hover { color: var(--orange); }
.tool-contact { min-height: 43px; padding: 0 17px; border-radius: 7px; display: inline-flex; align-items: center; background: var(--orange); color: white; font-family: "League Spartan", Arial, sans-serif; font-size: 14px; font-weight: 700; }
.tool-hero { padding: 80px 0 74px; overflow: hidden; position: relative; background: var(--navy); color: white; }
.tool-hero:after { content: ""; width: 430px; height: 430px; position: absolute; right: -180px; top: -270px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 65px rgba(255,255,255,.025), 0 0 0 130px rgba(255,255,255,.015); }
.tool-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .58fr; gap: 110px; align-items: end; }
.tool-hero-grid > div > p { margin: 0 0 18px; color: #f2a277; text-transform: uppercase; letter-spacing: .16em; font-family: "League Spartan", Arial, sans-serif; font-size: 12px; font-weight: 800; }
.tool-hero h1 { max-width: 800px; margin: 0; font-size: clamp(48px, 5.2vw, 74px); line-height: .95; letter-spacing: -.048em; }
.tool-hero-grid > p { margin: 0 0 5px; color: #cbc9da; font-size: 17px; line-height: 1.7; }
.tool-workspace { padding: 62px 0 90px; }
.calculator-layout { display: grid; grid-template-columns: minmax(0, 1fr) 430px; align-items: start; gap: 24px; }
.calculator-form, .calculator-result, .comparison-controls, .comparison-results { border: 1px solid #e1dfe4; background: white; box-shadow: 0 20px 55px rgba(5,2,68,.055); }
.calculator-form { padding: 38px; }
.calc-step { margin-bottom: 26px; display: flex; align-items: center; gap: 15px; font-family: "League Spartan", Arial, sans-serif; }
.calc-step > span { width: 37px; height: 37px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange); font-size: 13px; font-weight: 800; }
.calc-step > div { display: grid; gap: 3px; }
.calc-step strong { font-size: 24px; }
.calc-step small { color: var(--muted); font-size: 14px; }
.calc-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 21px 18px; }
.calc-field { display: grid; gap: 9px; }
.calc-field > span { font-family: "League Spartan", Arial, sans-serif; font-size: 15px; font-weight: 700; }
.calc-field > em { color: #777586; font-size: 11px; line-height: 1.45; font-style: normal; }
.calc-input { min-height: 51px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid #d9d7df; background: #fbfbfc; }
.calc-input:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(5,2,68,.06); }
.calc-input small { color: #777586; font-size: 13px; font-weight: 700; }
.calc-input input, .calc-field select { width: 100%; min-width: 0; border: 0; outline: none; background: transparent; color: var(--navy); font-family: "League Spartan", Arial, sans-serif; font-size: 19px; font-weight: 650; }
.calc-field select { min-height: 51px; padding: 0 13px; border: 1px solid #d9d7df; background: #fbfbfc; font-size: 15px; }
.calc-divider { height: 1px; margin: 36px 0; background: var(--line); }
.regime-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.regime-grid button { min-height: 86px; padding: 16px; border: 1px solid #dedce3; text-align: left; display: grid; align-content: center; gap: 5px; background: white; color: var(--navy); cursor: pointer; }
.regime-grid button strong { font-family: "League Spartan", Arial, sans-serif; font-size: 17px; }
.regime-grid button span { color: var(--muted); font-size: 12px; }
.regime-grid button.active { border-color: var(--navy); background: var(--navy); color: white; box-shadow: inset 4px 0 0 var(--orange); }
.regime-grid button.active span { color: #c7c5d8; }
.simple-annex-grid { grid-template-columns: repeat(2, 1fr); }
.calc-advanced { margin-top: 24px; padding: 22px; background: #f6f5f2; }
.calc-toggle { margin-top: 28px; padding: 18px; display: flex; align-items: flex-start; gap: 13px; border: 1px solid #e1dfe5; background: #fbfbfc; cursor: pointer; }
.calc-toggle input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--orange); }
.calc-toggle > span { display: grid; gap: 5px; }
.calc-toggle strong { font-family: "League Spartan", Arial, sans-serif; font-size: 16px; }
.calc-toggle small { color: var(--muted); font-size: 12px; line-height: 1.55; }
.calculator-result { position: sticky; top: 98px; padding: 28px; background: var(--navy); color: white; border: 0; box-shadow: 0 28px 70px rgba(5,2,68,.2); }
.result-kicker { color: #f2a277; text-transform: uppercase; letter-spacing: .13em; font-family: "League Spartan", Arial, sans-serif; font-size: 11px; font-weight: 800; }
.result-main { margin-top: 23px; padding-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,.13); display: grid; gap: 7px; }
.result-main span, .result-pair span { color: #bbb9cd; font-size: 13px; }
.result-main strong { font-family: "League Spartan", Arial, sans-serif; font-size: 45px; line-height: 1; letter-spacing: -.04em; }
.result-main small { color: #f2a277; font-family: "League Spartan", Arial, sans-serif; font-size: 13px; font-weight: 700; }
.result-pair { padding: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 17px; border-bottom: 1px solid rgba(255,255,255,.13); }
.result-pair > div { display: grid; gap: 7px; }
.result-pair strong { font-family: "League Spartan", Arial, sans-serif; font-size: 20px; }
.memory { border-bottom: 1px solid rgba(255,255,255,.13); }
.memory summary, .comparison-advanced summary { min-height: 58px; list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-family: "League Spartan", Arial, sans-serif; font-weight: 700; }
.memory summary::-webkit-details-marker, .comparison-advanced summary::-webkit-details-marker { display: none; }
.memory summary span, .comparison-advanced summary span { color: var(--orange-light); font-size: 20px; }
.memory > div { padding-bottom: 16px; display: grid; gap: 8px; }
.memory p { margin: 0; display: flex; justify-content: space-between; gap: 15px; color: #c6c4d6; font-size: 12px; }
.memory p strong { color: white; }
.result-note { margin-top: 19px; padding: 17px; background: rgba(255,255,255,.07); border-left: 3px solid var(--orange); }
.result-note strong { font-family: "League Spartan", Arial, sans-serif; font-size: 15px; }
.result-note p, .legal-note { margin: 7px 0 0; color: #c5c3d4; font-size: 12px; line-height: 1.6; }
.legal-note { margin-top: 17px; }
.methodology-date { margin: 12px 0 0; color: #aaa8bf; font-size: 12px; line-height: 1.6; }
.calculator-actions { margin-top: 18px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.16); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.calculator-actions a, .calculator-actions button { min-height: 41px; padding: 0 10px; border: 1px solid #d7d4dc; display: inline-flex; align-items: center; justify-content: center; background: white; color: var(--navy); cursor: pointer; font-family: "League Spartan", Arial, sans-serif; font-size: 12px; font-weight: 700; }
.calculator-actions a { grid-column: 1 / -1; border-color: var(--orange); background: var(--orange); color: white; }
.comparison-results .calculator-actions { border-top-color: var(--line); }

@media print {
  .tool-header, .tool-footer, .calculator-form, .comparison-controls, .calculator-actions, .tool-hero, .tool-explanation { display: none !important; }
  .tool-page, .tool-workspace { padding: 0; background: white; }
  .calculator-layout, .comparison-layout { display: block; }
  .calculator-result, .comparison-results { position: static; border: 0; box-shadow: none; }
}
.tool-explanation { padding: 95px 0; background: white; }
.explanation-grid { display: grid; grid-template-columns: .8fr 1fr; gap: 140px; }
.explanation-grid > div:first-child span { color: var(--orange); text-transform: uppercase; letter-spacing: .15em; font-family: "League Spartan", Arial, sans-serif; font-size: 12px; font-weight: 800; }
.explanation-grid h2 { margin: 16px 0 0; font-size: clamp(42px, 4.4vw, 62px); line-height: .97; }
.explanation-grid h3 { margin: 0 0 10px; font-size: 24px; }
.explanation-grid h3:not(:first-child) { margin-top: 30px; }
.explanation-grid p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.tool-footer { padding: 38px 0; background: #020128; color: white; }
.tool-footer .tool-shell { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.tool-footer .tool-shell > div { display: grid; gap: 5px; }
.tool-footer .tool-shell > div:last-child { text-align: right; }
.tool-footer strong { font-family: "League Spartan", Arial, sans-serif; font-size: 18px; }
.tool-footer span, .tool-footer a { color: #aaa8bf; font-size: 13px; }

/* Comparison */
.comparison-layout { display: grid; gap: 22px; }
.comparison-controls { padding: 28px; }
.comparison-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.comparison-mode button { padding: 17px 18px; border: 1px solid #dedce3; display: grid; gap: 4px; background: white; color: var(--navy); text-align: left; cursor: pointer; }
.comparison-mode strong { font-family: "League Spartan", Arial, sans-serif; font-size: 17px; }
.comparison-mode span { color: var(--muted); font-size: 12px; }
.comparison-mode button.active { border-color: var(--navy); background: var(--navy-soft); box-shadow: inset 4px 0 0 var(--orange); }
.comparison-fields { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.comparison-advanced { margin-top: 24px; border-top: 1px solid var(--line); }
.comparison-advanced[open] summary span { transform: rotate(45deg); }
.comparison-results { padding: 28px; }
.comparison-caption { margin-bottom: 20px; display: flex; justify-content: space-between; gap: 20px; font-family: "League Spartan", Arial, sans-serif; }
.comparison-caption span { font-size: 21px; font-weight: 700; }
.comparison-caption strong { color: var(--orange); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.comparison-cards { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.comparison-card { min-width: 0; padding: 28px; border-right: 1px solid var(--line); background: #fdfdfd; }
.comparison-card:last-child { border-right: 0; }
.comparison-card > p { margin: 0; color: var(--orange); text-transform: uppercase; letter-spacing: .13em; font-family: "League Spartan", Arial, sans-serif; font-size: 11px; font-weight: 800; }
.comparison-card > h2 { margin: 7px 0 25px; font-size: 35px; }
.comparison-net { padding: 20px; display: grid; gap: 7px; background: var(--navy); color: white; }
.comparison-net span { color: #c1bfd2; font-size: 12px; }
.comparison-net strong { font-family: "League Spartan", Arial, sans-serif; font-size: 29px; }
.comparison-stat { padding: 15px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.comparison-stat span { color: var(--muted); font-size: 12px; }
.comparison-stat strong { font-family: "League Spartan", Arial, sans-serif; font-size: 16px; }
.comparison-card details { border-bottom: 1px solid var(--line); }
.comparison-card details summary { min-height: 49px; list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: "League Spartan", Arial, sans-serif; font-size: 13px; font-weight: 700; }
.comparison-card details summary::-webkit-details-marker { display: none; }
.comparison-card details > div { padding: 7px 0; display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12px; }
.comparison-card details > div strong { color: var(--navy); }
.comparison-card > small { min-height: 58px; margin-top: 17px; display: block; color: var(--muted); font-size: 12px; line-height: 1.55; }
.risk-banner { margin-top: 18px; padding: 20px 23px; border-left: 4px solid var(--orange); display: grid; grid-template-columns: .42fr 1fr; gap: 35px; background: var(--orange-soft); }
.risk-banner strong { font-family: "League Spartan", Arial, sans-serif; font-size: 19px; }
.risk-banner p { margin: 0; color: #5f4650; font-size: 12px; line-height: 1.65; }

/* Admin */
.admin-app { min-height: 100vh; display: grid; grid-template-columns: 265px 1fr; background: #f4f3f0; color: var(--navy); }
.admin-sidebar { height: 100vh; padding: 28px 20px; position: sticky; top: 0; display: flex; flex-direction: column; background: #020128; color: white; }
.admin-logo { display: flex; align-items: center; gap: 11px; padding: 0 9px 25px; border-bottom: 1px solid rgba(255,255,255,.12); }
.admin-logo > span { width: 40px; height: 40px; border-radius: 50%; background: white url('/primercont-icon.png') center/contain no-repeat; }
.admin-logo > div { display: grid; gap: 3px; }
.admin-logo strong { font-family: "League Spartan", Arial, sans-serif; font-size: 18px; }
.admin-logo small { color: #9997ae; font-family: "League Spartan", Arial, sans-serif; font-size: 8px; letter-spacing: .14em; }
.admin-sidebar nav { margin-top: 28px; display: grid; gap: 6px; }
.admin-sidebar nav button { min-height: 48px; padding: 0 13px; border: 0; border-radius: 6px; display: flex; align-items: center; gap: 12px; background: transparent; color: #b6b4ca; text-align: left; cursor: pointer; font-family: "League Spartan", Arial, sans-serif; font-size: 15px; font-weight: 650; }
.admin-sidebar nav button span { color: #706e89; font-size: 10px; }
.admin-sidebar nav button.active { background: rgba(255,255,255,.09); color: white; box-shadow: inset 3px 0 0 var(--orange); }
.admin-sidebar nav button.active span { color: var(--orange-light); }
.admin-user { margin-top: auto; padding: 18px 9px 0; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 5px; }
.admin-user small { color: #88869d; font-size: 10px; }
.admin-user strong { font-family: "League Spartan", Arial, sans-serif; font-size: 14px; overflow: hidden; text-overflow: ellipsis; }
.admin-user a { margin-top: 8px; color: #f2a277; font-size: 12px; }
.admin-main { width: min(1120px, calc(100% - 70px)); margin: 0 auto; padding: 42px 0 70px; }
.admin-top { margin-bottom: 30px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.admin-top p { margin: 0 0 5px; color: var(--orange); text-transform: uppercase; letter-spacing: .15em; font-family: "League Spartan", Arial, sans-serif; font-size: 10px; font-weight: 800; }
.admin-top h1 { margin: 0; font-size: 43px; letter-spacing: -.04em; }
.admin-top > div:last-child { display: flex; align-items: center; gap: 11px; }
.admin-top a, .admin-top button { min-height: 44px; padding: 0 17px; border: 1px solid #d8d6dd; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; background: white; color: var(--navy); cursor: pointer; font-family: "League Spartan", Arial, sans-serif; font-size: 13px; font-weight: 700; }
.admin-top button { border-color: var(--orange); background: var(--orange); color: white; }
.admin-top button:disabled { opacity: .6; }
.admin-alert { margin: -12px 0 22px; padding: 13px 16px; border-left: 3px solid #1c9a69; background: #e8f6f0; color: #176747; font-size: 13px; }
.admin-alert.error { border-color: #c44343; background: #fdeeee; color: #8b2525; }
.admin-card { margin-bottom: 18px; padding: 30px; border: 1px solid #dfdde3; background: white; box-shadow: 0 15px 40px rgba(5,2,68,.04); }
.admin-card-head { margin-bottom: 27px; padding-bottom: 20px; border-bottom: 1px solid var(--line); display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.admin-card-head span { color: var(--orange); text-transform: uppercase; letter-spacing: .13em; font-family: "League Spartan", Arial, sans-serif; font-size: 10px; font-weight: 800; }
.admin-card-head h2 { margin: 6px 0 0; font-size: 29px; }
.admin-card-head > p { max-width: 390px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; text-align: right; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; }
.admin-grid-three { grid-template-columns: repeat(3, 1fr); }
.admin-repeat { display: grid; }
.admin-repeat-item { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.admin-repeat-item > strong { margin-bottom: 15px; display: block; color: var(--orange); text-transform: uppercase; letter-spacing: .11em; font-family: "League Spartan", Arial, sans-serif; font-size: 11px; }
.admin-field { display: grid; gap: 8px; }
.admin-field > span { font-family: "League Spartan", Arial, sans-serif; font-size: 14px; font-weight: 700; }
.admin-field input, .admin-field textarea { width: 100%; min-height: 47px; padding: 11px 13px; outline: none; border: 1px solid #d9d7df; background: #fbfbfc; color: var(--navy); font-size: 14px; }
.admin-field textarea { min-height: 105px; resize: vertical; line-height: 1.55; }
.admin-field input:focus, .admin-field textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(5,2,68,.06); }
.admin-field small { color: var(--muted); font-size: 10px; }
.admin-number { position: relative; }
.admin-number b { position: absolute; right: 13px; top: 14px; color: var(--muted); font-size: 12px; }
.admin-number input { padding-right: 35px; }
.admin-warning { padding: 20px 24px; border-left: 4px solid var(--orange); background: var(--orange-soft); }
.admin-warning strong { font-family: "League Spartan", Arial, sans-serif; font-size: 17px; }
.admin-warning p { margin: 5px 0 0; color: #69545b; font-size: 12px; }
.admin-band-table { display: grid; }
.admin-band-table > div { min-height: 52px; padding: 0 10px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: .7fr 1fr 1fr; align-items: center; gap: 13px; }
.admin-band-table > div:first-child { min-height: 35px; background: var(--navy-soft); color: #66647a; text-transform: uppercase; letter-spacing: .08em; font-family: "League Spartan", Arial, sans-serif; font-size: 9px; font-weight: 800; }
.admin-band-table input { width: 100%; min-height: 36px; padding: 0 9px; border: 1px solid #dedce3; outline: none; background: #fbfbfc; color: var(--navy); }
.admin-band-table label { position: relative; }
.admin-band-table label span { position: absolute; right: 9px; top: 10px; color: var(--muted); font-size: 11px; }
.admin-band-irrf > div { grid-template-columns: .55fr 1fr .8fr 1fr; }
.admin-history { margin-top: 26px; padding: 24px 0; border-top: 1px solid #d8d6dc; display: grid; grid-template-columns: 1fr .7fr; gap: 80px; }
.admin-history > div > span { color: var(--orange); text-transform: uppercase; letter-spacing: .12em; font-family: "League Spartan", Arial, sans-serif; font-size: 10px; font-weight: 800; }
.admin-history > div p { margin: 10px 0 0; display: flex; align-items: center; flex-wrap: wrap; gap: 13px; color: var(--muted); font-size: 11px; }
.admin-history button { min-height: 29px; margin-left: auto; padding: 0 9px; border: 1px solid #d4d1d9; background: white; color: var(--navy); cursor: pointer; font-size: 10px; font-weight: 700; }
.admin-history > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.admin-denied { min-height: 100vh; display: grid; place-items: center; background: var(--navy); color: white; text-align: center; }
.admin-denied > div { max-width: 500px; padding: 50px; }
.admin-denied > div > strong { color: var(--orange-light); letter-spacing: .13em; }
.admin-denied h1 { font-size: 55px; }
.admin-denied p { color: #c2c0d3; }
.admin-denied a { margin-top: 20px; display: inline-block; color: #f2a277; }

@media (max-width: 980px) {
  .tool-nav nav { display: none; }
  .tool-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .calculator-layout { grid-template-columns: 1fr; }
  .calculator-result { position: static; }
  .comparison-fields { grid-template-columns: 1fr 1fr; }
  .comparison-cards { grid-template-columns: 1fr; }
  .comparison-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .comparison-card:last-child { border-bottom: 0; }
  .admin-app { grid-template-columns: 215px 1fr; }
  .admin-main { width: min(100% - 40px, 900px); }
  .admin-grid-three { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .tool-shell { width: calc(100% - 28px); }
  .tool-nav { min-height: 70px; }
  .tool-brand small { display: none; }
  .tool-contact { margin-left: auto; padding: 0 12px; font-size: 12px; }
  .tool-hero { padding: 60px 0; }
  .tool-hero h1 { font-size: 49px; }
  .tool-workspace { padding: 28px 0 60px; }
  .calculator-form, .comparison-controls, .comparison-results { padding: 20px; }
  .calc-field-grid, .regime-grid, .comparison-mode, .comparison-fields { grid-template-columns: 1fr; }
  .result-main strong { font-size: 38px; }
  .explanation-grid { grid-template-columns: 1fr; gap: 40px; }
  .tool-footer .tool-shell { align-items: flex-start; flex-direction: column; }
  .tool-footer .tool-shell > div:last-child { text-align: left; }
  .risk-banner { grid-template-columns: 1fr; gap: 8px; }
  .admin-app { display: block; }
  .admin-sidebar { height: auto; padding: 15px; position: static; }
  .admin-logo { padding-bottom: 14px; }
  .admin-sidebar nav { margin-top: 14px; grid-template-columns: 1fr 1fr; }
  .admin-sidebar nav button { min-height: 41px; }
  .admin-user { display: none; }
  .admin-main { width: calc(100% - 28px); padding: 28px 0 50px; }
  .admin-top { align-items: flex-start; flex-direction: column; }
  .admin-top > div:last-child { width: 100%; }
  .admin-top a, .admin-top button { flex: 1; }
  .admin-grid, .admin-grid-three { grid-template-columns: 1fr; }
  .admin-card { padding: 20px; }
  .admin-card-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .admin-card-head > p { text-align: left; }
  .admin-band-table { overflow-x: auto; }
  .admin-band-table > div { min-width: 620px; }
  .admin-history { grid-template-columns: 1fr; gap: 25px; }
}

/* Premium content, lead funnel and strategic pages */
.deliverable-list { margin-top: 22px; display: grid; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; overflow: hidden; }
.deliverable-list article { min-height: 104px; padding: 21px 20px; display: grid; grid-template-columns: 1fr 28px; align-items: center; gap: 14px; border-bottom: 1px solid rgba(255,255,255,.11); background: rgba(255,255,255,.045); }
.deliverable-list article:last-child { border-bottom: 0; }
.deliverable-list article div { display: grid; gap: 6px; }
.deliverable-list strong { color: white; font-size: 19px; }
.deliverable-list p { margin: 0; color: #bbb9cf; font-family: "Manrope", Arial, sans-serif; font-size: 14px; line-height: 1.5; }
.deliverable-list i { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: rgba(45,160,111,.15); color: #55cf9e; font-size: 12px; font-style: normal; }
.deliverable-scope { margin-top: 15px; padding: 20px; display: grid; gap: 7px; border-radius: 15px; background: linear-gradient(135deg, #fff, #f4f1ec); color: var(--navy); }
.deliverable-scope span { color: var(--orange); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 800; }
.deliverable-scope strong { font-size: 20px; }
.deliverable-scope p { margin: 2px 0 0; color: #656274; font-family: "Manrope", Arial, sans-serif; font-size: 13px; line-height: 1.55; }

.proof-section { background: white; }
.testimonial-grid, .case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.testimonial-grid blockquote { min-height: 310px; margin: 0; padding: 32px; border: 1px solid var(--line); display: flex; flex-direction: column; background: #fbfbfc; }
.testimonial-grid blockquote > p { margin: 0; color: var(--navy); font-size: 20px; line-height: 1.55; }
.testimonial-grid blockquote footer { margin-top: auto; padding: 24px 0 0; display: grid; gap: 4px; background: transparent; color: var(--navy); }
.testimonial-grid footer strong { font-size: 16px; }
.testimonial-grid footer span { color: var(--muted); font-size: 13px; }
.case-grid { margin-top: 16px; }
.case-grid article { padding: 30px; border: 1px solid rgba(255,255,255,.12); background: var(--navy); color: white; }
.case-grid article > strong { color: var(--orange-light); font-size: 31px; }
.case-grid h3 { margin: 22px 0 12px; font-size: 25px; }
.case-grid p { color: #c2c0d2; font-size: 14px; line-height: 1.6; }
.case-grid article > span { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.13); display: block; color: white; font-size: 15px; line-height: 1.55; }

.lead-section { position: relative; overflow: hidden; background: var(--cream); }
.lead-section:after { content: ""; width: 420px; height: 420px; position: absolute; left: -260px; bottom: -300px; border: 1px solid rgba(5,2,68,.07); border-radius: 50%; box-shadow: 0 0 0 70px rgba(5,2,68,.025); }
.lead-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; }
.lead-copy { position: sticky; top: 125px; }
.lead-copy h2 { max-width: 520px; margin: 0; color: var(--navy); font-size: clamp(47px, 4.5vw, 66px); line-height: .97; letter-spacing: -.048em; }
.lead-copy > p:not(.eyebrow) { max-width: 500px; margin: 25px 0 0; color: var(--muted); font-size: 17px; line-height: 1.68; }
.lead-steps { margin-top: 42px; border-top: 1px solid var(--navy); display: grid; }
.lead-steps span { min-height: 58px; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); color: var(--orange); font-size: 12px; font-weight: 800; }
.lead-steps strong { color: var(--navy); font-size: 17px; }
.lead-form { padding: 38px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; border: 1px solid #dedce3; background: white; box-shadow: 0 28px 70px rgba(5,2,68,.08); }
.lead-form > label { display: grid; gap: 8px; color: var(--navy); font-size: 14px; font-weight: 700; }
.lead-form input:not([type="checkbox"]), .lead-form select, .lead-form textarea { width: 100%; min-height: 52px; padding: 12px 13px; outline: none; border: 1px solid #d9d7df; background: #fbfbfc; color: var(--navy); border-radius: 0; font-size: 15px; }
.lead-form textarea { resize: vertical; line-height: 1.55; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(5,2,68,.07); }
.lead-wide { grid-column: 1 / -1; }
.lead-consent { display: flex !important; grid-template-columns: 18px 1fr; align-items: flex-start; gap: 11px !important; color: var(--muted) !important; font-family: "Manrope", Arial, sans-serif; font-size: 12px !important; font-weight: 500 !important; line-height: 1.6; }
.lead-consent input { margin: 3px 0 0; accent-color: var(--orange); }
.lead-consent a { color: var(--navy); text-decoration: underline; }
.lead-submit { display: flex; align-items: center; gap: 18px; }
.lead-submit p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.lead-submit p.success { color: #176747; }
.lead-submit p.error { color: #9a2929; }
.lead-honeypot { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.service-header { position: relative; }
.service-page { background: white; }
.service-hero { padding: 95px 0 108px; position: relative; overflow: hidden; background: linear-gradient(112deg, #f8f6f2 0%, #f8f6f2 71%, var(--navy) 71%); }
.service-hero:after { content: ""; width: 490px; height: 490px; position: absolute; right: -160px; top: -250px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 75px rgba(255,255,255,.025), 0 0 0 150px rgba(255,255,255,.015); }
.breadcrumbs { margin-bottom: 61px; display: flex; flex-wrap: wrap; gap: 9px; color: #777487; font-size: 12px; }
.breadcrumbs a { color: var(--orange); }
.service-hero h1 { max-width: 760px; margin: 0; color: var(--navy); font-size: clamp(58px, 5.5vw, 80px); line-height: .93; letter-spacing: -.052em; }
.service-hero > .shell > p:not(.eyebrow) { max-width: 690px; margin: 29px 0 0; color: #5e5b6f; font-size: 19px; line-height: 1.65; }
.service-hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 28px; }
.service-intro { background: white; }
.service-intro-grid { display: grid; grid-template-columns: .9fr 1fr; gap: 110px; }
.service-intro h2 { margin: 0; color: var(--navy); font-size: clamp(43px, 4.1vw, 61px); line-height: 1; letter-spacing: -.045em; }
.service-intro-grid > div { border-top: 1px solid var(--navy); }
.service-intro-grid p { margin: 0; padding: 24px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 17px; line-height: 1.75; }
.service-benefits { background: var(--cream); }
.service-benefit-grid { margin-top: 38px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--navy); }
.service-benefit-grid article { min-height: 290px; padding: 27px 25px; border-right: 1px solid #d9d6d2; }
.service-benefit-grid article:last-child { border: 0; }
.service-benefit-grid article:before { content: ""; width: 30px; height: 2px; display: block; background: var(--orange); }
.service-benefit-grid h2 { margin: 43px 0 15px; color: var(--navy); font-size: 27px; line-height: 1.05; }
.service-benefit-grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.service-process { background: var(--navy); color: white; }
.service-process-grid { display: grid; grid-template-columns: .82fr 1fr; gap: 100px; }
.service-process h2 { margin: 0; font-size: clamp(43px, 4.2vw, 61px); line-height: .98; letter-spacing: -.045em; }
.service-process ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.25); }
.service-process li { min-height: 139px; padding: 25px 0; display: grid; grid-template-columns: 52px 1fr; gap: 19px; border-bottom: 1px solid rgba(255,255,255,.13); }
.service-process li > span { color: var(--orange-light); font-size: 13px; font-weight: 800; }
.service-process h3 { margin: 0 0 7px; font-size: 25px; }
.service-process li p { margin: 0; color: #bfbdcf; font-family: "Manrope", Arial, sans-serif; font-size: 15px; line-height: 1.6; }
.service-faq { background: white; }
.service-related { background: var(--cream); }
.service-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--navy); }
.service-related-grid > a { min-height: 275px; padding: 28px 30px 30px; border-right: 1px solid #d9d6d2; background: rgba(255,255,255,.38); transition: background .22s ease, transform .22s ease; }
.service-related-grid > a:last-child { border-right: 0; }
.service-related-grid > a:hover { position: relative; z-index: 1; background: white; transform: translateY(-4px); }
.service-related-grid > a:before { content: ""; width: 30px; height: 2px; display: block; margin-bottom: 38px; background: var(--orange); }
.service-related-grid h3 { margin: 0 0 14px; color: var(--navy); font-size: 28px; line-height: 1.03; }
.service-related-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.service-related-grid strong { display: inline-block; margin-top: 24px; color: var(--orange); font-family: "League Spartan", Arial, sans-serif; font-size: 14px; }
.footer-compact { grid-template-columns: 1.4fr 1fr 1fr; }

.legal-page { min-height: 70vh; padding: 90px 0 110px; background: var(--cream); }
.legal-shell { max-width: 900px; }
.legal-page h1 { margin: 0; color: var(--navy); font-size: clamp(53px, 6vw, 80px); letter-spacing: -.05em; }
.legal-updated { margin: 20px 0 55px; color: var(--muted); font-size: 13px; }
.legal-page section { padding: 28px 0; border-top: 1px solid #d8d5d1; }
.legal-page h2 { margin: 0 0 12px; color: var(--navy); font-size: 25px; }
.legal-page section p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.legal-page section a { color: var(--orange); text-decoration: underline; }

.not-found-page { min-height: 100vh; padding: 80px 24px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 78% 22%, rgba(213,90,20,.18), transparent 24%), var(--navy); color: white; }
.not-found-page > div { width: min(760px, 100%); }
.not-found-page > div > span { display: block; color: var(--orange-light); font-family: "League Spartan", Arial, sans-serif; font-size: clamp(92px, 18vw, 190px); line-height: .72; letter-spacing: -.07em; font-weight: 800; opacity: .92; }
.not-found-page .eyebrow { margin-top: 58px; }
.not-found-page h1 { max-width: 680px; margin: 18px 0 20px; font-size: clamp(48px, 7vw, 76px); line-height: .95; letter-spacing: -.05em; }
.not-found-page > div > p:not(.eyebrow) { max-width: 620px; margin: 0 0 31px; color: #c6c4d4; font-size: 17px; line-height: 1.7; }

.admin-sidebar { overflow-y: auto; }
.admin-sidebar nav { margin-top: 20px; gap: 4px; }
.admin-sidebar nav button { min-height: 42px; }
.admin-toggle { margin: 16px 0; display: flex; align-items: flex-start; gap: 11px; cursor: pointer; }
.admin-toggle input { margin-top: 3px; accent-color: var(--orange); }
.admin-toggle span { display: grid; gap: 3px; }
.admin-toggle strong { font-size: 14px; }
.admin-toggle small { color: var(--muted); font-size: 11px; }
.admin-order-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 13px; }
.admin-order-list > div { min-height: 58px; padding: 7px 9px; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 7px; border: 1px solid var(--line); background: #fbfbfc; }
.admin-order-list > div > span { color: var(--orange); font-size: 11px; font-weight: 800; }
.admin-order-list .admin-toggle { margin: 0; }
.admin-order-list > div > div:last-child { display: flex; gap: 4px; }
.admin-order-list button { width: 30px; height: 30px; border: 1px solid #d6d3db; background: white; color: var(--navy); cursor: pointer; }
.admin-order-list button:disabled { opacity: .3; cursor: default; }
.admin-image-grid { margin-bottom: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-image-field { min-height: 185px; padding: 16px; display: grid; grid-template-columns: 118px 1fr; gap: 18px; border: 1px solid var(--line); background: #fbfbfc; }
.admin-image-preview { width: 118px; height: 150px; position: relative; overflow: hidden; background: var(--navy-soft); }
.admin-image-preview img { object-fit: cover; }
.admin-image-field > div:last-child { display: flex; align-items: flex-start; flex-direction: column; }
.admin-image-field strong { font-size: 17px; }
.admin-image-field p { margin: 7px 0 14px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.admin-image-field label { position: relative; min-height: 38px; padding: 0 13px; display: inline-flex; align-items: center; border: 1px solid var(--navy); color: var(--navy); cursor: pointer; font-size: 12px; font-weight: 700; }
.admin-image-field input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.admin-image-field small { margin-top: 7px; color: #9a2929; font-size: 10px; }
.admin-section-actions, .admin-repeat-head { margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.admin-section-actions { padding-top: 24px; border-top: 1px solid var(--line); }
.admin-section-actions strong, .admin-repeat-head strong { color: var(--navy); font-size: 17px; }
.admin-section-actions button, .admin-danger, .admin-lead-save { min-height: 38px; padding: 0 13px; border: 1px solid var(--navy); background: white; color: var(--navy); cursor: pointer; font-size: 12px; font-weight: 700; }
.admin-danger { border-color: #d5b6b6; color: #9a2929; }
.admin-metrics { margin-bottom: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.admin-metrics article { min-height: 125px; padding: 19px; display: flex; flex-direction: column; border: 1px solid #dfdde3; background: white; }
.admin-metrics span { color: var(--muted); font-size: 12px; }
.admin-metrics strong { margin-top: auto; font-size: 35px; }
.admin-metrics small { color: var(--orange); font-size: 10px; }
.admin-leads { display: grid; gap: 14px; }
.admin-leads > article { padding: 24px; border: 1px solid #dedce3; background: #fbfbfc; }
.admin-lead-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.admin-lead-head small { color: var(--orange); font-size: 10px; }
.admin-lead-head h3 { margin: 4px 0; font-size: 24px; }
.admin-lead-head p { margin: 0; color: var(--muted); font-size: 12px; }
.admin-lead-head select { min-height: 40px; padding: 0 10px; border: 1px solid #d8d6dd; background: white; color: var(--navy); }
.admin-lead-data { margin: 19px 0; display: flex; flex-wrap: wrap; gap: 9px 18px; color: var(--muted); font-size: 12px; }
.admin-lead-data a { color: var(--orange); }
.admin-lead-data strong { color: var(--navy); }
.admin-leads blockquote { margin: 18px 0; padding: 17px; border-left: 3px solid var(--orange); background: white; color: #4d4a5d; font-size: 13px; line-height: 1.6; }
.admin-lead-save { margin-top: 14px; background: var(--navy); color: white; }
.admin-notification-row { margin: 2px 0 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.admin-notification-row > small { margin-left: auto; color: var(--muted); font-size: 11px; }
.admin-notification-badge { min-height: 31px; padding: 5px 10px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #d8d6df; background: white; color: var(--muted); font-size: 11px; }
.admin-notification-badge strong { color: var(--navy); }
.admin-notification-badge.sent { border-color: #b9ddcf; background: #eff9f5; color: #176747; }
.admin-notification-badge.failed { border-color: #eac1c1; background: #fff3f3; color: #9a2929; }
.admin-notification-badge.not_configured { border-color: #edd7be; background: #fff8ef; color: #8b571e; }
.admin-notification-error { margin: -5px 0 16px; color: var(--muted); font-size: 11px; }
.admin-notification-error summary { cursor: pointer; color: var(--navy); font-weight: 700; }
.admin-notification-error p { padding: 11px; border-left: 2px solid var(--orange); background: white; line-height: 1.55; overflow-wrap: anywhere; }
.admin-lead-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-lead-actions button { margin-top: 14px; }
.admin-lead-notify { min-height: 38px; padding: 0 13px; border: 1px solid var(--orange); background: white; color: var(--orange); cursor: pointer; font-size: 12px; font-weight: 700; }
.admin-lead-notify:disabled, .admin-lead-save:disabled { cursor: wait; opacity: .65; }
.admin-empty { color: var(--muted); font-size: 14px; }

@media (max-width: 1060px) {
  .lead-grid, .service-intro-grid, .service-process-grid { gap: 55px; }
  .service-benefit-grid { grid-template-columns: 1fr 1fr; }
  .service-related-grid { grid-template-columns: 1fr 1fr; }
  .service-related-grid > a:last-child { grid-column: 1 / -1; border-top: 1px solid #d9d6d2; border-right: 0; }
  .service-benefit-grid article:nth-child(2) { border-right: 0; }
  .service-benefit-grid article { border-bottom: 1px solid #d9d6d2; }
  .service-benefit-grid article:nth-child(3), .service-benefit-grid article:nth-child(4) { border-bottom: 0; }
  .admin-metrics { grid-template-columns: 1fr 1fr; }
  .admin-image-grid { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .lead-grid, .service-intro-grid, .service-process-grid { grid-template-columns: 1fr; }
  .lead-copy { position: static; }
  .testimonial-grid, .case-grid { grid-template-columns: 1fr; }
  .service-hero { background: var(--cream); }
  .service-hero:after { display: none; }
  .service-benefit-grid { grid-template-columns: 1fr; }
  .service-related-grid { grid-template-columns: 1fr; }
  .service-related-grid > a, .service-related-grid > a:last-child { min-height: auto; grid-column: auto; border-right: 0; border-bottom: 1px solid #d9d6d2; }
  .service-related-grid h3 { margin-top: 30px; }
  .service-benefit-grid article, .service-benefit-grid article:nth-child(2), .service-benefit-grid article:nth-child(3) { min-height: auto; padding: 28px 0; border-right: 0; border-bottom: 1px solid #d9d6d2; }
  .service-benefit-grid h2 { margin-top: 33px; }
  .footer-compact { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .deliverable-list article { min-height: 116px; padding: 18px 14px; grid-template-columns: 1fr 24px; gap: 10px; }
  .lead-form { padding: 22px; grid-template-columns: 1fr; }
  .lead-wide { grid-column: auto; }
  .lead-submit { align-items: stretch; flex-direction: column; }
  .lead-submit .button { width: 100%; }
  .service-hero { padding: 65px 0 75px; }
  .breadcrumbs { margin-bottom: 43px; }
  .service-hero h1 { font-size: 49px; }
  .service-hero > .shell > p:not(.eyebrow) { font-size: 17px; }
  .service-hero-actions { align-items: stretch; flex-direction: column; }
  .service-hero-actions .button { width: 100%; }
  .service-intro h2, .service-process h2 { font-size: 41px; }
  .footer-compact { grid-template-columns: 1fr; }
  .admin-metrics { grid-template-columns: 1fr 1fr; }
  .admin-lead-head { flex-direction: column; }
  .admin-lead-head select { width: 100%; }
  .admin-order-list { grid-template-columns: 1fr; }
  .admin-image-field { grid-template-columns: 88px 1fr; }
  .admin-image-preview { width: 88px; height: 120px; }
}
