:root {
  --forest: #1e4a3a;
  --sage: #6b8e7a;
  --gold: #c8a25b;
  --charcoal: #333333;
  --ink: #24332e;
  --muted: #63726c;
  --line: #e6e1d8;
  --cream: #fbf8f1;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(30, 74, 58, 0.1);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--forest);
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2rem, 3.2vw, 3.05rem);
}

h2 {
  font-size: clamp(1.55rem, 2.45vw, 2.25rem);
}

h3 {
  font-size: 1.12rem;
}

p {
  margin: 0;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--forest);
  color: var(--white);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.top-bar {
  border-bottom: 1px solid rgba(30, 74, 58, 0.1);
  background: var(--cream);
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 600;
}

.top-bar__inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.top-bar__links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.top-bar__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar__links span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-bar__links .contact-value {
  color: var(--forest);
  font-size: 0.86rem;
  letter-spacing: 0;
  text-transform: none;
}

.top-bar__mobile-text {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(30, 74, 58, 0.1);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  min-height: 86px;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #344b43;
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-menu a {
  padding: 12px 0;
}

.nav-menu a:hover,
.footer-grid a:hover {
  color: var(--gold);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid var(--forest);
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--white);
  font-weight: 700;
  line-height: 1.15;
  box-shadow: 0 10px 24px rgba(30, 74, 58, 0.16);
}

.button:hover {
  transform: translateY(-1px);
}

.button--secondary {
  background: var(--white);
  color: var(--forest);
  box-shadow: none;
}

.button--light {
  border-color: var(--white);
  background: var(--white);
  color: var(--forest);
}

.button--outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
  color: var(--white);
  box-shadow: none;
}

.button--header {
  white-space: nowrap;
}

.nav-toggle,
.nav-toggle-label {
  display: none;
}

.section {
  padding: 46px 0;
}

.hero + .section,
.service-hero + .section,
.article-hero + .section,
main > .section:first-child {
  padding-top: 24px;
}

[id] {
  scroll-margin-top: 64px;
}

.hero {
  overflow: hidden;
  padding: 26px 0;
  background:
    linear-gradient(90deg, rgba(251, 248, 241, 0.95), rgba(251, 248, 241, 0.6)),
    radial-gradient(circle at 84% 18%, rgba(200, 162, 91, 0.18), transparent 34%);
}

.service-hero.section {
  padding: 26px 0;
}

.callback-hero.section {
  padding: 22px 0 28px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  align-items: start;
  gap: 54px;
}

.service-hero {
  background: var(--cream);
}

.service-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  align-items: start;
  gap: 42px;
}

.service-hero__copy {
  display: grid;
  gap: 16px;
}

.service-hero__copy--compact h1 {
  font-size: clamp(2rem, 3.2vw, 3.05rem);
}

.quick-start {
  display: grid;
  gap: 0.8rem;
  margin-top: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.callback-layout {
  display: grid;
  gap: 22px;
}

.callback-layout .service-hero__copy {
  max-width: 960px;
}

.callback-layout .hero__lead {
  max-width: 820px;
}

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

.quick-start__links a {
  display: grid;
  gap: 0.2rem;
  min-height: 74px;
  align-content: center;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--forest);
  background: #fff;
}

.quick-start__links small {
  color: var(--muted);
  font-weight: 700;
}

.service-summary {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(30, 74, 58, 0.14);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-summary ul,
.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-summary li,
.check-list span,
.check-list a {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-weight: 700;
}

.service-summary li::before,
.check-list span::before,
.check-list a::before {
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.contact-summary {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(30, 74, 58, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, rgba(251, 248, 241, 0.72));
  box-shadow: 0 18px 42px rgba(30, 74, 58, 0.09);
}

.contact-summary .card-kicker {
  margin-bottom: 4px;
}

.contact-summary__row,
.contact-summary__note {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(30, 74, 58, 0.1);
  color: var(--forest);
}

.contact-summary__row {
  transition: color 160ms ease, transform 160ms ease;
}

.contact-summary__row:hover {
  color: var(--gold);
  transform: translateX(2px);
}

.contact-summary__row small,
.contact-summary__note small {
  display: block;
  margin-bottom: 3px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-summary__row strong,
.contact-summary__note strong {
  display: block;
  color: #53665f;
  font-size: 1.05rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-summary__row[href^="mailto"] strong {
  font-size: 0.94rem;
  white-space: nowrap;
  overflow-wrap: normal;
}

.contact-summary__icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(107, 142, 122, 0.12);
  color: var(--forest);
}

.contact-summary__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-summary__icon--text {
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
}

.hero__copy {
  display: grid;
  gap: 18px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#who-we-help .eyebrow {
  color: var(--gold);
}

.hero__lead {
  max-width: 690px;
  color: #495c55;
  font-size: 1rem;
}

.article-hero .hero__lead {
  max-width: 1080px;
}

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

.fee-note {
  max-width: 720px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  color: #394b45;
  font-weight: 600;
}

.trust-list li {
  position: relative;
  padding-left: 22px;
}

.trust-list li::before {
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.hero__visual {
  display: grid;
  gap: 18px;
  align-content: center;
}

.dashboard-card {
  border: 1px solid rgba(30, 74, 58, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.dashboard-card--main {
  display: grid;
  gap: 14px;
  padding: 28px;
}

.dashboard-card--main strong {
  color: var(--forest);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.48rem;
  line-height: 1.15;
}

.dashboard-card--side {
  width: min(420px, 100%);
  justify-self: end;
  padding: 20px;
  border-left: 4px solid var(--gold);
  color: var(--charcoal);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.dashboard-card--side:hover {
  border-color: var(--forest);
  box-shadow: 0 20px 44px rgba(30, 74, 58, 0.14);
  transform: translateY(-2px);
}

.card-kicker {
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.progress-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.progress-row b {
  color: var(--forest);
}

.partner-bar {
  padding: 18px 0;
  border-block: 1px solid var(--line);
  background: var(--white);
}

.partner-bar__inner {
  display: grid;
  grid-template-columns: 1.1fr repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.partner-bar img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.partner-bar__label {
  color: var(--forest);
}

.partner-logo-card {
  display: inline-flex;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border: 1px solid rgba(30, 74, 58, 0.14);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--forest);
  gap: 10px;
  box-shadow: 0 8px 22px rgba(30, 74, 58, 0.045);
  text-align: center;
}

.partner-logo-card span {
  color: var(--muted);
  font-size: 0.84rem;
}

.xero-wordmark {
  color: #13b5ea;
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

.freeagent-wordmark {
  color: #123f71;
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.section-heading {
  display: grid;
  max-width: 760px;
  gap: 10px;
  margin-bottom: 28px;
}

#services {
  padding-top: 42px;
}

#services .section-heading {
  gap: 10px;
  margin-bottom: 26px;
}

.section-heading--wide {
  max-width: 980px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.98rem;
}

.service-grid,
.package-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.package-grid,
.resource-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-grid--hub {
  align-items: stretch;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.resource-card .card-kicker {
  color: var(--gold);
}

.card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(30, 74, 58, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(30, 74, 58, 0.06);
}

.card h3 {
  line-height: 1.16;
}

.card p,
.package li,
.steps p,
.reason-grid p {
  color: var(--muted);
}

.card a {
  margin-top: auto;
  color: var(--forest);
  font-weight: 800;
}

.service-card-link {
  color: inherit;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.service-card-link:hover,
.service-card-link:focus-visible {
  border-color: rgba(30, 74, 58, 0.28);
  box-shadow: 0 16px 34px rgba(30, 74, 58, 0.1);
  transform: translateY(-2px);
}

.text-link {
  margin-top: auto;
  color: var(--forest);
  font-weight: 800;
}

.icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: rgba(200, 162, 91, 0.14);
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 800;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  align-items: start;
  gap: 64px;
}

.split > div:first-child {
  display: grid;
  gap: 16px;
}

.split p {
  color: var(--muted);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(190px, 0.28fr) minmax(0, 0.72fr);
  align-items: start;
  gap: 56px;
}

.article-sidebar {
  position: sticky;
  top: 160px;
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(30, 74, 58, 0.12);
  border-radius: var(--radius);
  background: var(--cream);
}

.article-sidebar a {
  color: var(--forest);
  font-size: 0.94rem;
  font-weight: 700;
}

.article-content {
  max-width: 780px;
}

.article-content h2 {
  margin-top: 44px;
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 2.7vw, 2.45rem);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  margin-top: 28px;
  margin-bottom: 10px;
}

.article-content p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.article-intro {
  color: var(--charcoal) !important;
  font-size: 1.18rem !important;
}

.article-note,
.article-source-box {
  margin: 30px 0;
  padding: 22px;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--muted);
}

.article-source-box {
  display: grid;
  gap: 10px;
}

.article-source-box h2 {
  margin: 0 0 6px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-source-box p {
  margin-bottom: 4px;
  font-size: 0.96rem;
}

.article-source-box a {
  color: var(--forest);
  font-weight: 800;
}

.article-table-wrap {
  margin: 26px 0;
  overflow-x: auto;
  border: 1px solid rgba(30, 74, 58, 0.12);
  border-radius: var(--radius);
  background: var(--white);
}

.article-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.article-table caption {
  padding: 14px 18px;
  color: var(--forest);
  font-weight: 800;
  text-align: left;
}

.article-table th,
.article-table td {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.article-table th {
  background: var(--cream);
  color: var(--forest);
  font-weight: 800;
}

.article-table td {
  color: var(--muted);
}

.article-checks {
  margin: 24px 0 34px;
  padding: 22px;
  border: 1px solid rgba(30, 74, 58, 0.1);
  border-radius: var(--radius);
  background: var(--white);
}

.help-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.help-list a,
.industry-tags span {
  padding: 14px 16px;
  border: 1px solid rgba(30, 74, 58, 0.14);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--forest);
  font-weight: 700;
}

.package ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.package--featured {
  border-color: rgba(200, 162, 91, 0.5);
  box-shadow: 0 20px 44px rgba(30, 74, 58, 0.12);
}

.badge {
  width: fit-content;
  padding: 6px 10px;
  border-radius: var(--radius);
  background: rgba(200, 162, 91, 0.14);
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 800;
}

.section--green {
  background: var(--forest);
  color: var(--white);
}

.section--green h2,
.section--green h3,
.section--green .eyebrow,
.final-cta h2,
.final-cta .eyebrow {
  color: var(--white);
}

.section--green p,
.final-cta p {
  color: rgba(255, 255, 255, 0.82);
}

.cta-panel {
  display: grid;
  gap: 18px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.reason-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.reason-grid > div,
.steps article,
.step-link {
  padding-top: 22px;
  border-top: 2px solid var(--gold);
}

.step-link {
  display: block;
  color: inherit;
  transition: transform 160ms ease, border-color 160ms ease;
}

.step-link:hover {
  border-color: var(--forest);
  transform: translateY(-2px);
}

.reason-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--forest);
  font-size: 1.05rem;
}

.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 800;
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.faq-wrap {
  max-width: 900px;
}

details {
  border-top: 1px solid var(--line);
  background: transparent;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 22px 0;
  color: var(--forest);
  font-weight: 800;
}

details p {
  max-width: 760px;
  padding: 0 0 22px;
  color: var(--muted);
}

.final-cta {
  padding: 82px 0;
  background: var(--forest);
}

.final-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.final-cta__inner > div {
  display: grid;
  max-width: 720px;
  gap: 14px;
}

.site-footer {
  padding: 42px 0 24px;
  background: var(--cream);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(190px, 0.95fr) minmax(135px, 0.62fr) minmax(145px, 0.65fr) minmax(155px, 0.72fr) minmax(300px, 1.18fr);
  gap: 24px;
}

.footer-logo {
  width: 168px;
  display: block;
  margin: 0 auto 16px;
}

.footer-brand {
  max-width: 330px;
  text-align: center;
}

.footer-brand p {
  max-width: 280px;
  margin: 0 auto;
  color: var(--muted);
}

.footer-grid h2 {
  margin-bottom: 14px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  font-weight: 600;
}

.footer-contact {
  display: grid;
  max-width: 460px;
  gap: 7px;
}

.footer-contact-card {
  display: grid;
  max-width: 360px;
  gap: 0;
  padding: 10px 14px;
  border: 1px solid rgba(30, 74, 58, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, rgba(251, 248, 241, 0.72));
  box-shadow: 0 14px 30px rgba(30, 74, 58, 0.07);
}

.footer-contact-card .contact-summary__row {
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  margin: 0 !important;
  color: var(--forest) !important;
}

.footer-contact-card .contact-summary__row > span {
  display: block;
  margin: 0 !important;
}

.footer-contact-card .contact-summary__row > span:last-child {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.footer-contact-card .contact-summary__row:first-child {
  border-top: 0;
}

.footer-contact-card .contact-summary__icon {
  display: inline-grid !important;
  width: 36px;
  height: 36px;
  margin: 0 !important;
  place-items: center;
  border-radius: 50%;
  background: rgba(107, 142, 122, 0.12);
  color: var(--forest);
}

.footer-contact-card .contact-summary__icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.footer-contact-card .contact-summary__icon--text {
  font-size: 0.7rem;
  font-weight: 900;
}

.footer-contact-card .contact-summary__row small {
  margin: 0;
  color: var(--gold);
  font-size: 0.68rem;
  line-height: 1.1;
  letter-spacing: 0.09em;
}

.footer-contact-card .contact-summary__row strong {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.32;
}

.footer-contact-card .contact-summary__row[href^="mailto"] strong {
  white-space: normal;
  overflow-wrap: anywhere;
}

.contact-row {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--forest) !important;
  font-weight: 700;
  min-width: 0;
}

.contact-row > span:last-child {
  display: grid;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-row small {
  display: block;
  margin-bottom: 1px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-icon {
  display: inline-grid !important;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin: 0 !important;
  align-self: center;
  place-items: center;
  border-radius: 50%;
  background: rgba(30, 74, 58, 0.08);
  color: var(--forest);
}

.contact-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.footer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.footer-cta-link {
  display: inline-flex !important;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 !important;
  padding: 10px 12px;
  border: 1px solid var(--forest);
  border-radius: var(--radius);
  color: var(--forest) !important;
  font-weight: 800 !important;
  line-height: 1.2;
}

.footer-cta-link .contact-icon {
  width: 34px;
  height: 34px;
}

.footer-cta-link .contact-icon svg {
  width: 18px;
  height: 18px;
}

.footer-whatsapp {
  display: inline-flex !important;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 !important;
  padding: 10px 12px;
  border: 1px solid rgba(30, 74, 58, 0.22);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--forest) !important;
  font-weight: 800 !important;
  line-height: 1.2;
}

.whatsapp-mark {
  display: inline-grid !important;
  width: 34px;
  height: 34px;
  margin: 0 !important;
  align-self: center;
  place-items: center;
  border-radius: 50%;
  background: rgba(30, 74, 58, 0.08);
  color: var(--forest);
  font-size: 0.68rem;
  font-weight: 900;
}

.footer-note {
  max-width: 360px;
  margin-top: 10px !important;
  line-height: 1.55;
}

.site-form {
  display: grid;
  gap: 0.85rem;
  padding: clamp(1.1rem, 2.4vw, 1.65rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.callback-layout .site-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.callback-layout .form-heading,
.callback-layout .checkbox-group,
.callback-layout label:has(textarea),
.callback-layout .site-form > .button,
.callback-layout .form-note {
  grid-column: 1 / -1;
}

.form-fields {
  display: grid;
  gap: 0.85rem;
}

.form-fields--three {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--forest);
  font-weight: 700;
}

.form-heading {
  display: grid;
  gap: 0.45rem;
  padding-bottom: 0.25rem;
}

.form-heading h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.form-heading p {
  margin: 0;
  color: var(--muted);
}

.form-heading a {
  color: var(--forest);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.site-form input,
.site-form select,
.site-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.72rem 0.85rem;
  color: var(--charcoal);
  background: #fff;
  font: inherit;
}

.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus {
  outline: 2px solid rgba(200, 162, 91, 0.35);
  border-color: var(--gold);
}

.site-form textarea {
  resize: vertical;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem 0.9rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.checkbox-group legend {
  grid-column: 1 / -1;
  margin-bottom: 0.15rem;
  color: var(--forest);
  font-weight: 800;
}

.checkbox-group label {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 0.65rem;
  color: var(--charcoal);
  font-weight: 600;
}

.checkbox-group input {
  width: 18px;
  height: 18px;
  margin-top: 0.12rem;
  accent-color: var(--forest);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 8px;
}

.footer-legal a {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.footer-legal a:hover {
  color: var(--gold);
}

@media (max-width: 980px) {
  html {
    scroll-padding-top: 78px;
  }

  [id] {
    scroll-margin-top: 78px;
  }

  .top-bar {
    display: block;
  }

  .top-bar__inner {
    min-height: 36px;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    padding: 0;
  }

  .top-bar__links {
    margin-left: auto;
    gap: 8px;
    font-size: 0.78rem;
  }

  .top-bar__desktop-text,
  .contact-value {
    display: none;
  }

  .top-bar__mobile-text {
    display: inline;
  }

  .top-bar__links a {
    min-height: 28px;
    padding: 4px 8px;
    border: 1px solid rgba(30, 74, 58, 0.14);
    border-radius: var(--radius);
    background: var(--white);
  }

  .top-bar__links span {
    color: var(--forest);
    font-size: 0.68rem;
  }

  .nav-shell {
    grid-template-columns: 162px auto;
    min-height: 68px;
  }

  .brand img {
    width: 134px;
  }

  .nav-toggle-label {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    justify-self: end;
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--forest);
    content: "";
  }

  .nav-toggle-label span {
    position: relative;
  }

  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    position: absolute;
    left: 0;
  }

  .nav-toggle-label span::before {
    top: -7px;
  }

  .nav-toggle-label span::after {
    top: 7px;
  }

  .nav-menu,
  .button--header {
    display: none;
  }

  .nav-toggle:checked ~ .nav-menu {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    padding: 10px 0 20px;
  }

  .nav-toggle:checked ~ .nav-menu a {
    padding: 13px 0;
    border-top: 1px solid var(--line);
  }

  .hero__grid,
  .service-hero__grid,
  .article-layout,
  .split {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .callback-layout .site-form,
  .form-fields--three,
  .checkbox-group {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .service-grid,
  .service-grid--three,
  .package-grid,
  .resource-grid,
  .reason-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-bar__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .final-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section,
  .hero {
    padding: 30px 0;
  }

  .service-hero.section {
    padding: 30px 0;
  }

  .callback-hero.section {
    padding: 24px 0 30px;
  }

  h1 {
    font-size: 1.82rem;
  }

  .trust-list,
  .service-grid,
  .service-grid--three,
  .package-grid,
  .resource-grid,
  .reason-grid,
  .steps,
  .help-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .quick-start__links {
    grid-template-columns: 1fr;
  }

  .dashboard-card--side {
    width: 100%;
    margin-top: 14px;
  }

  .dashboard-card--main {
    padding: 20px;
  }

  .dashboard-card--main strong {
    font-size: 1.3rem;
  }

  .partner-bar img {
    max-height: 40px;
  }

  .footer-grid {
    gap: 28px;
  }

  .footer-actions {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 4px;
  }

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

  .contact-summary__row[href^="mailto"] strong {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .footer-cta-link,
  .footer-whatsapp {
    justify-content: flex-start;
    min-height: 46px;
    padding: 10px 14px;
    text-align: left;
  }

  .footer-cta-link .contact-icon,
  .footer-whatsapp .whatsapp-mark {
    margin-right: 2px !important;
  }
}
