:root {
  --primary: #2f7df6;
  --primary-dark: #063f9f;
  --ink: #071c3d;
  --muted: #5b6780;
  --soft: #eef5ff;
  --line: #c9daf6;
  --white: #ffffff;
  --dark: #021331;
  --navy: #05245a;
  --shadow: 0 18px 42px rgba(5, 36, 90, 0.16);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
p,
li,
address {
  overflow-wrap: break-word;
}

.container {
  width: calc(100% - 32px);
  max-width: 1180px;
  margin: 0 auto;
}

main,
header,
footer,
section,
.hero-content,
.promo-copy,
.section-title,
.split-copy,
.detail-copy,
.contact-form,
.quick-form,
.quick-form-intro,
.cta-card > div {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
}

.contact-bar {
  color: var(--white);
  background: linear-gradient(90deg, var(--dark), var(--navy));
  font-size: 13px;
}

.contact-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 42px;
}

.contact-links {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.contact-links a,
.site-footer a {
  text-decoration: none;
}

.contact-links a:hover,
.site-footer a:hover,
nav a:hover {
  color: var(--primary);
}

.nav-wrap {
  border-bottom: 1px solid var(--line);
  background: rgba(248, 251, 255, 0.98);
  box-shadow: 0 3px 14px rgba(5, 36, 90, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--ink);
  text-decoration: none;
}

.brand-badge {
  display: block;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border: 2px solid rgba(47, 125, 246, 0.55);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy), var(--primary-dark));
  object-fit: cover;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(9, 26, 63, 0.14);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--ink);
  font-size: 18px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

nav a {
  border-radius: 7px;
  padding: 9px 11px;
  text-decoration: none;
}

nav a:hover {
  color: var(--primary-dark);
  background: var(--soft);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.nav-cta,
.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--primary-dark));
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(5, 36, 90, 0.18);
}

.button-primary:hover,
.nav-cta:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--navy));
  border-color: var(--primary);
}

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

.button-outline {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.82);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(520px, 78vh, 760px);
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 11vw, 140px) 0;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(0, 10, 35, 0.82), rgba(0, 25, 76, 0.52)),
    url("assets/fmx-accountants-hero.png");
  background-position: center, right center;
  background-size: cover, cover;
  background-repeat: no-repeat;
}

.page-hero p {
  margin: 0 0 12px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: clamp(30px, 5vw, 58px);
  align-items: start;
}

.detail-copy {
  display: grid;
  gap: 22px;
}

.detail-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.16;
}

.detail-copy h3 {
  margin: 0 0 8px;
  font-size: 23px;
}

.detail-copy p,
.detail-copy li {
  color: var(--muted);
}

.detail-copy ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
}

.side-panel {
  display: grid;
  gap: 16px;
  border-radius: 12px;
  padding: 24px;
  background: var(--soft);
}

.side-panel h3 {
  margin: 0;
}

.side-image {
  margin: 0 0 8px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--dark);
}

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

.side-panel a {
  color: var(--primary-dark);
  font-weight: 800;
  text-decoration: none;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image:
    linear-gradient(0deg, rgba(3, 22, 56, 0.34), rgba(3, 22, 56, 0.34)),
    url("assets/fmx-accountants-hero.png");
  background-position: center, right center;
  background-size: cover, cover;
  background-repeat: no-repeat;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(0, 10, 35, 0.8), rgba(0, 25, 76, 0.52));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  padding: 54px 0;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 66px);
  line-height: 1.08;
}

.hero p {
  max-width: 760px;
  margin: 0 auto 34px;
  font-size: clamp(18px, 2.4vw, 25px);
}

.hero-kicker {
  margin: 0 auto 14px;
  color: #bfdbfe;
  font-size: 13px !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.hero-actions-left {
  justify-content: flex-start;
}

.button-outline-blue {
  color: var(--primary-dark);
  background: var(--white);
  border-color: var(--primary);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  margin-top: 26px;
}

.hero-points span {
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 800;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 2;
  display: flex;
  width: 26px;
  height: 42px;
  justify-content: center;
  border: 2px solid var(--white);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 5px;
  height: 5px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--white);
}

.promo-section {
  padding: clamp(42px, 7vw, 76px) 0;
  background: var(--soft);
}

.promo-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.promo-panel > * {
  min-width: 0;
}

.promo-kicker {
  margin: 0 0 12px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}

.promo-copy p:not(.promo-kicker) {
  color: var(--muted);
  font-size: 18px;
}

.promo-media {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(47, 125, 246, 0.35);
  border-radius: 18px;
  background: var(--dark);
  box-shadow: var(--shadow);
}

.promo-media img,
.promo-media video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--dark);
}

.section {
  padding: clamp(54px, 8vw, 88px) 0;
}

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

.section-title {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-title h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
}

.section-title span {
  display: block;
  width: 78px;
  height: 4px;
  margin: 16px auto 0;
  background: var(--primary);
}

.section-title p {
  margin: 22px 0 0;
  color: var(--muted);
}

.home-choice-grid,
.consult-options,
.reason-grid,
.software-grid,
.mini-testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-choice-card,
.consult-card,
.reason-grid article,
.software-grid article,
.mini-testimonials article {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.home-choice-card {
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: hidden;
}

.home-choice-card h3,
.consult-card h3,
.reason-grid h3,
.software-grid h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.2;
}

.home-choice-card p:not(.promo-kicker),
.consult-card p,
.reason-grid p,
.software-grid p,
.mini-testimonials p {
  color: var(--muted);
}

.link-list {
  display: grid;
  gap: 9px;
  margin-top: 8px;
}

.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  color: var(--primary-dark);
  font-weight: 800;
  text-decoration: none;
}

.link-list a::after {
  content: ">";
  color: var(--primary);
}

.card-photo {
  margin: -28px -28px 6px;
  overflow: hidden;
  background: var(--soft);
}

.card-photo img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.consult-card span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--primary-dark));
  font-weight: 800;
}

.consult-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--primary-dark);
  font-weight: 800;
  text-decoration: none;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  gap: clamp(24px, 5vw, 52px);
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(26px, 5vw, 46px);
  background: var(--soft);
  box-shadow: var(--shadow);
}

.feature-band h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.12;
}

.feature-band p:not(.promo-kicker) {
  color: var(--muted);
}

.feature-band-list {
  display: grid;
  gap: 14px;
}

.feature-band-media {
  margin: 0 0 6px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--dark);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
}

.feature-band-media img {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
}

.feature-band-list article {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: var(--white);
}

.feature-band-list strong,
.feature-band-list span {
  display: block;
}

.feature-band-list strong {
  color: var(--ink);
}

.feature-band-list span {
  margin-top: 5px;
  color: var(--muted);
}

.reason-grid article,
.software-grid article {
  min-height: 210px;
}

.mini-testimonials article {
  min-height: 210px;
}

.mini-testimonials p {
  margin-top: 0;
  font-size: 17px;
}

.mini-testimonials strong,
.mini-testimonials span {
  display: block;
}

.mini-testimonials strong {
  margin-top: 18px;
  color: var(--ink);
}

.mini-testimonials span {
  margin-top: 4px;
  color: var(--primary-dark);
  font-weight: 800;
}

.contact-prompt h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.6vw, 36px);
  line-height: 1.12;
}

.contact-prompt p:not(.promo-kicker) {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: clamp(34px, 6vw, 70px);
  align-items: center;
}

.split-copy h3,
.contact-details h3 {
  margin: 0 0 16px;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.2;
}

.split-copy p,
.contact-details p,
.contact-details address {
  color: var(--muted);
}

.image-panel {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: contain;
}

.card-grid,
.testimonial-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card,
.testimonial-grid article,
.resource-grid article {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

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

.service-card:hover {
  border-color: rgba(47, 125, 246, 0.52);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.icon-box {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 10px;
  color: var(--primary-dark);
  background: rgba(47, 125, 246, 0.12);
  font-weight: 800;
}

.service-card h3,
.resource-grid h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 21px;
}

.service-card p,
.resource-grid p,
.testimonial-grid p {
  color: var(--muted);
}

.service-card a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--primary-dark);
  font-weight: 800;
  text-decoration: none;
}

.resource-grid article {
  min-height: 190px;
}

.testimonial-grid article {
  min-height: 210px;
}

.testimonial-grid p {
  font-size: 17px;
}

.testimonial-grid strong,
.testimonial-grid span {
  display: block;
}

.testimonial-grid span {
  margin-top: 3px;
  color: var(--primary-dark);
  font-weight: 700;
}

.testimonial-grid strong {
  margin-top: 18px;
  color: var(--ink);
}

.consultancy-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: stretch;
}

.consultancy-copy,
.consultancy-points article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.consultancy-copy {
  padding: clamp(26px, 4vw, 40px);
}

.consultancy-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.16;
}

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

.consultancy-points {
  display: grid;
  gap: 16px;
}

.consultancy-points article {
  padding: 22px;
}

.consultancy-points strong,
.consultancy-points span {
  display: block;
}

.consultancy-points strong {
  color: var(--ink);
  font-size: 18px;
}

.consultancy-points span {
  margin-top: 6px;
  color: var(--muted);
}

.cta-section {
  padding: clamp(44px, 7vw, 76px) 0;
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  overflow: hidden;
  border-radius: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--dark));
  box-shadow: var(--shadow);
}

.cta-card > div:first-child {
  padding: clamp(28px, 5vw, 54px);
}

.cta-card h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 38px);
}

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

.cta-card ul {
  display: grid;
  gap: 10px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.cta-card li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border: 2px solid var(--white);
  border-radius: 50%;
}

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

.cta-image {
  min-height: 380px;
  background: url("assets/fmx-home-growth.jpg") center / cover no-repeat;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
}

.contact-details {
  padding: 30px;
  border-left: 5px solid var(--primary);
  background: var(--soft);
}

address {
  font-style: normal;
}

.contact-details a {
  color: var(--primary-dark);
  font-weight: 800;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.social-icon {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: #1877f2;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.social-link-light {
  color: var(--primary-dark);
}

.footer-social {
  margin-top: 12px;
}

.hours {
  margin-top: 24px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.contact-form .button {
  width: 100%;
}

.quick-form-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: start;
}

.quick-form-intro {
  border-left: 5px solid var(--primary);
  padding: 28px;
  background: var(--soft);
}

.quick-form-intro h3 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.18;
}

.quick-form-intro p,
.quick-form-intro li {
  color: var(--muted);
}

.quick-form-intro ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding-left: 20px;
}

.quick-form {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-progress {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.form-progress span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

.form-progress span.is-active {
  color: var(--white);
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--navy), var(--primary-dark));
}

.form-step {
  display: none;
  margin: 0;
  border: 0;
  padding: 0;
}

.form-step.is-active {
  display: block;
}

.form-step legend {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.form-step > p {
  margin: 0 0 18px;
  color: var(--muted);
}

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

.choice-grid-compact {
  margin-bottom: 18px;
}

.choice-card {
  position: relative;
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  background: var(--white);
  cursor: pointer;
}

.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card span,
.choice-card small {
  display: block;
}

.choice-card span {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.choice-card small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.choice-card:has(input:checked) {
  border-color: var(--primary);
  background: var(--soft);
  box-shadow: 0 10px 24px rgba(5, 36, 90, 0.12);
}

.choice-card input:checked + span {
  color: var(--primary-dark);
}

.full-field {
  margin-top: 18px;
}

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

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.quick-form .button-outline {
  color: var(--primary-dark);
  background: var(--white);
  border-color: var(--primary);
}

.quick-link-panel .button-outline {
  color: var(--primary-dark);
  background: var(--white);
  border-color: var(--primary);
}

.quick-link-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--soft);
  box-shadow: var(--shadow);
}

.quick-link-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.8vw, 36px);
  line-height: 1.14;
}

.quick-link-panel p:not(.promo-kicker),
.quick-link-panel li {
  color: var(--muted);
}

.quick-link-panel ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.quick-link-panel li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.quick-link-actions {
  display: grid;
  gap: 12px;
  min-width: 220px;
}

.topic-hub {
  display: grid;
  gap: 18px;
}

.topic-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.topic-tab {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  color: var(--primary-dark);
  background: var(--white);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.topic-tab.is-active {
  color: var(--white);
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--navy), var(--primary-dark));
  box-shadow: 0 10px 22px rgba(5, 36, 90, 0.16);
}

.topic-panel {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.topic-panel.is-active {
  display: grid;
}

.topic-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(25px, 3.5vw, 36px);
  line-height: 1.14;
}

.topic-copy p:not(.promo-kicker),
.topic-actions li {
  color: var(--muted);
}

.topic-actions {
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 22px;
  background: var(--soft);
}

.topic-actions h4 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 18px;
}

.topic-actions ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
}

.news-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  background: var(--soft);
}

.news-toolbar p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.source-list a {
  border: 1px solid var(--primary);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--primary-dark);
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

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

.news-card {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.news-source {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--primary-dark));
  font-size: 12px;
  font-weight: 800;
}

.news-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
}

.news-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.news-card h3 a:hover {
  color: var(--primary-dark);
}

.news-card p {
  margin: 0;
  color: var(--muted);
}

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

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

.guide-grid article,
.deadline-grid article {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.guide-grid span,
.deadline-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--primary-dark);
  background: var(--soft);
  font-size: 12px;
  font-weight: 800;
}

.guide-grid h3,
.deadline-grid h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.guide-grid p,
.deadline-grid p {
  color: var(--muted);
}

.guide-grid a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--primary-dark);
  font-weight: 800;
  text-decoration: none;
}

.insight-panel,
.calculator-card,
.process-band {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.insight-panel {
  padding: clamp(24px, 4vw, 34px);
}

.insight-panel h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 22px;
}

.insight-panel ul,
.process-list article p {
  color: var(--muted);
}

.insight-panel li + li {
  margin-top: 10px;
}

.fca-service-grid,
.calculator-grid,
.process-list {
  display: grid;
  gap: 22px;
}

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

.fca-service-grid article {
  min-height: 235px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.fca-service-grid span,
.process-list strong {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--primary-dark));
  font-size: 13px;
  font-weight: 900;
}

.fca-service-grid h3 {
  margin: 16px 0 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.fca-service-grid p {
  color: var(--muted);
}

.process-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 42px);
  padding: clamp(26px, 5vw, 44px);
}

.process-band h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.8vw, 40px);
  line-height: 1.12;
}

.process-band p:not(.promo-kicker) {
  color: var(--muted);
}

.process-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-list article {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  background: var(--soft);
}

.process-list span {
  display: block;
  margin: 14px 0 8px;
  color: var(--ink);
  font-weight: 900;
}

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

.calculator-card {
  padding: clamp(22px, 4vw, 32px);
}

.calculator-heading h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 30px);
}

.calculator-heading p:not(.promo-kicker) {
  color: var(--muted);
}

.calculator-form {
  display: grid;
  gap: 15px;
  margin: 22px 0;
}

.calculator-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.calculator-form small {
  color: var(--muted);
  font-weight: 600;
}

.calculator-result {
  border-radius: 12px;
  padding: 20px;
  background: var(--soft);
}

.calculator-result h4 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 18px;
}

.calculator-result dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.calculator-result div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(14, 74, 140, 0.12);
  padding-bottom: 10px;
}

.calculator-result div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.calculator-result dt {
  color: var(--muted);
  font-weight: 800;
}

.calculator-result dd {
  margin: 0;
  color: var(--primary-dark);
  font-weight: 900;
  text-align: right;
}

.source-note {
  max-width: 850px;
  margin: 24px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.newsletter-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(26px, 5vw, 46px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.newsletter-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.8vw, 40px);
  line-height: 1.12;
}

.newsletter-panel p:not(.promo-kicker) {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.newsletter-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: var(--soft);
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
}

.check-field input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-success {
  color: var(--primary-dark);
  font-weight: 800;
}

.form-error {
  min-height: 22px;
  margin: 18px 0 0;
  color: #b91c1c;
  font-size: 14px;
  font-weight: 800;
}

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

.site-footer {
  color: var(--white);
  background: linear-gradient(135deg, var(--dark), var(--navy));
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.6fr) minmax(240px, 0.8fr);
  gap: 46px;
  padding-top: 48px;
  padding-bottom: 42px;
}

.footer-brand,
.footer-brand strong,
.footer-brand small {
  color: var(--white);
}

.footer-brand .brand-badge {
  border-color: rgba(255, 255, 255, 0.45);
  background: var(--navy);
}

.site-footer p,
.site-footer address,
.site-footer li {
  color: #d1d5db;
}

.site-footer h3 {
  margin: 0 0 16px;
}

.site-footer ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li a::before {
  content: ">";
  margin-right: 8px;
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 16px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
}

.footer-bottom .company-info {
  margin-top: 8px;
  font-size: 13px;
  color: #dbeafe;
}

.mobile-action {
  display: none;
}

.enquiry-page .mobile-action {
  display: none !important;
}

@media (max-width: 980px) {
  .nav-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .nav-cta {
    width: 100%;
  }

  .split,
  .promo-panel,
  .cta-card,
  .contact-grid,
  .detail-layout,
  .consultancy-panel,
  .quick-form-shell,
  .quick-link-panel,
  .topic-panel,
  .feature-band,
  .newsletter-panel,
  .process-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .testimonial-grid,
  .resource-grid,
  .news-grid,
  .guide-grid,
  .deadline-grid,
  .fca-service-grid,
  .calculator-grid,
  .process-list,
  .home-choice-grid,
  .consult-options,
  .reason-grid,
  .software-grid,
  .mini-testimonials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-image {
    min-height: 260px;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .nav-wrap {
    overflow: hidden;
  }

  .contact-bar {
    font-size: 12px;
  }

  .contact-bar-inner {
    min-height: auto;
    padding: 7px 0;
  }

  .contact-bar-inner > span {
    display: none;
  }

  .contact-links {
    justify-content: center;
    gap: 12px;
    width: 100%;
  }

  .contact-links a[href^="mailto"] {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-inner {
    align-items: center;
    gap: 10px;
    min-height: auto;
    padding: 10px 0 12px;
  }

  .brand {
    align-self: flex-start;
    max-width: 100%;
  }

  .brand > span:last-child {
    min-width: 0;
  }

  .brand-badge {
    width: 46px;
    height: 46px;
    font-size: 15px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small {
    font-size: 11px;
  }

  nav {
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 4px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  nav a {
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    background: var(--soft);
    font-size: 13px;
    line-height: 1.1;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .nav-cta {
    width: 100%;
    min-height: 42px;
  }

  .hero {
    min-height: 390px;
  }

  .hero-content {
    padding: 38px 0 44px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    min-width: min(100%, 240px);
  }

  .scroll-cue {
    display: none;
  }

  .page-hero {
    padding: 48px 0;
  }

  .page-hero h1 {
    font-size: 32px;
  }

  .promo-section,
  .section,
  .cta-section {
    padding: 38px 0;
  }

  .promo-panel {
    gap: 22px;
  }

  .promo-copy h2 {
    font-size: 28px;
  }

  .promo-copy p:not(.promo-kicker) {
    font-size: 16px;
  }

  .promo-media {
    justify-self: center;
    width: min(100%, 560px);
    border-radius: 12px;
  }

  .promo-media video {
    width: 100%;
    max-width: 100%;
  }

  .section-title {
    margin-bottom: 26px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .section-title p {
    margin-top: 16px;
  }

  .split {
    gap: 24px;
  }

  .image-panel,
  .image-panel img {
    min-height: 240px;
  }

  .image-panel img {
    object-fit: contain;
  }

  .service-card,
  .testimonial-grid article,
  .resource-grid article,
  .news-card {
    min-height: auto;
  }

  .cta-card {
    border-radius: 12px;
  }

  .cta-actions .button {
    width: 100%;
  }

  .contact-form,
  .contact-details,
  .quick-form,
  .quick-form-intro {
    border-radius: 12px;
  }

  .news-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-details a {
    overflow-wrap: anywhere;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .footer-grid {
    gap: 28px;
    padding-top: 36px;
    padding-bottom: 34px;
  }

  .choice-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .quick-link-actions {
    min-width: 0;
  }

  .quick-link-actions .button {
    width: 100%;
  }

  .feature-band {
    border-radius: 12px;
  }

  .choice-card {
    min-height: auto;
  }

  .form-step legend {
    font-size: 22px;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 72px;
  }

  .container {
    width: calc(100% - 28px);
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  nav {
    margin-right: -14px;
    margin-left: -14px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero {
    min-height: 360px;
  }

  .page-hero {
    padding: 42px 0;
  }

  .card-grid,
  .testimonial-grid,
  .resource-grid,
  .news-grid,
  .guide-grid,
  .deadline-grid,
  .fca-service-grid,
  .calculator-grid,
  .process-list,
  .home-choice-grid,
  .consult-options,
  .reason-grid,
  .software-grid,
  .mini-testimonials {
    grid-template-columns: 1fr;
  }

  .service-card,
  .testimonial-grid article,
  .resource-grid article,
  .news-card,
  .guide-grid article,
  .deadline-grid article,
  .home-choice-card,
  .consult-card,
  .reason-grid article,
  .software-grid article,
  .mini-testimonials article,
  .fca-service-grid article,
  .calculator-card,
  .insight-panel,
  .process-band,
  .process-list article,
  .consultancy-copy,
  .consultancy-points article,
  .quick-link-panel,
  .feature-band,
  .feature-band-list article,
  .newsletter-panel,
  .newsletter-form,
  .contact-form,
  .contact-details,
  .quick-form,
  .quick-form-intro {
    padding: 22px;
  }

  .card-photo {
    margin: -22px -22px 4px;
  }

  .card-photo img {
    height: 175px;
  }

  .detail-copy h3 {
    font-size: 20px;
  }

  .cta-card > div:first-child {
    padding: 24px;
  }

  .cta-image {
    min-height: 210px;
  }

  .form-actions .button {
    width: 100%;
  }

  .mobile-action {
    position: fixed;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 80;
    display: block;
  }

  .mobile-action a {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy), var(--primary-dark));
    box-shadow: 0 14px 34px rgba(3, 22, 56, 0.24);
    font-weight: 800;
    text-decoration: none;
  }
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 24px);
  }

  .contact-links {
    font-size: 11px;
    gap: 8px;
  }

  .contact-links a[href^="mailto"] {
    max-width: 150px;
  }

  .brand-badge {
    width: 42px;
    height: 42px;
    font-size: 14px;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    font-size: 10px;
  }

  nav a {
    padding: 8px 10px;
    font-size: 12px;
  }

  .hero {
    min-height: 340px;
  }

  .hero-content {
    padding: 32px 0 38px;
  }

  .hero h1 {
    font-size: 29px;
  }

  .hero p,
  .promo-copy p:not(.promo-kicker) {
    font-size: 16px;
  }

  .page-hero h1,
  .promo-copy h2,
  .section-title h2 {
    font-size: 26px;
  }

  .page-hero {
    padding: 36px 0;
  }

  .service-card,
  .testimonial-grid article,
  .resource-grid article,
  .news-card,
  .guide-grid article,
  .deadline-grid article,
  .home-choice-card,
  .consult-card,
  .reason-grid article,
  .software-grid article,
  .mini-testimonials article,
  .fca-service-grid article,
  .calculator-card,
  .insight-panel,
  .process-band,
  .process-list article,
  .consultancy-copy,
  .consultancy-points article,
  .newsletter-panel,
  .newsletter-form,
  .contact-form,
  .contact-details,
  .quick-form,
  .quick-form-intro {
    padding: 20px;
  }

  .card-photo {
    margin: -20px -20px 4px;
  }

  .card-photo img {
    height: 160px;
  }

  .section-title p {
    font-size: 15px;
  }

  .button,
  .nav-cta {
    width: 100%;
  }
}
