:root {
  --font-body: "Manrope";
  --font-display: "Plus Jakarta Sans";
  --navy: #06284a;
  --navy-deep: #031c35;
  --blue: #0b73b9;
  --cyan: #11a7d8;
  --green: #5fb62b;
  --green-dark: #438e1d;
  --ink: #152338;
  --muted: #5c6876;
  --line: #dfe5eb;
  --soft: #f4f7f8;
  --white: #fff;
  --shadow: 0 22px 60px rgba(7, 35, 63, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body,
button,
input,
select,
textarea {
  font-family: var(--font-body), Arial, sans-serif;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy-deep);
  font-family: var(--font-display), Arial, sans-serif;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.7rem, 5vw, 4.75rem);
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.25rem);
}

h3 {
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

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

.skip-link {
  left: 12px;
  position: fixed;
  top: -80px;
  z-index: 1000;
  border-radius: 4px;
  background: #fff;
  padding: 10px 18px;
  box-shadow: var(--shadow);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(223, 229, 235, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
}

.brand {
  flex: 0 0 auto;
  width: 184px;
}

.brand img {
  width: 100%;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.site-header nav,
.primary-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #334256;
  font-size: 0.84rem;
  font-weight: 700;
}

.primary-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header nav a,
.primary-menu a {
  position: relative;
  padding: 28px 0;
}

.site-header nav a::after,
.primary-menu a::after {
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 2px;
  background: var(--green);
  content: "";
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  padding: 9px;
}

.menu-toggle > span:not(.screen-reader-text) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--navy);
}

.screen-reader-text {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.screen-reader-text:focus {
  z-index: 100000;
  display: block;
  top: 5px;
  left: 5px;
  width: auto;
  height: auto;
  clip: auto;
  background: #fff;
  padding: 12px;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-header .current-menu-item > a::after,
.site-header .current_page_item > a::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 0 24px;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--green-dark);
  box-shadow: 0 12px 26px rgba(95, 182, 43, 0.24);
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  white-space: nowrap;
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: transparent;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: #fff;
  color: var(--navy);
}

.button-dark {
  background: var(--navy);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--navy-deep);
}

.button-light {
  background: #fff;
  color: var(--navy);
}

.eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--green-dark);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #9ee36e;
}

.home-hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 28, 53, 0.98) 0%, rgba(3, 28, 53, 0.91) 38%, rgba(3, 28, 53, 0.25) 75%),
    url("../images/hero-consultoria.webp") center/cover no-repeat;
}

.home-hero::after {
  position: absolute;
  right: 7%;
  bottom: -120px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(105, 221, 60, 0.25);
  border-radius: 50%;
  content: "";
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 650px;
  align-items: center;
  margin: 0 auto;
  padding: 74px 0 100px;
}

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

.hero-copy h1 {
  color: #fff;
  font-size: clamp(2.75rem, 5.3vw, 4.9rem);
  line-height: 1.04;
}

.hero-copy p {
  max-width: 615px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.12rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.proof-strip {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(1080px, calc(100% - 40px));
  grid-template-columns: repeat(4, 1fr);
  margin: -56px auto 0;
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.proof-strip div {
  display: flex;
  min-height: 118px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  text-align: center;
}

.proof-strip div:last-child {
  border: 0;
}

.proof-strip strong {
  color: var(--navy);
  font-family: var(--font-display), Arial, sans-serif;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.proof-strip span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 112px 0;
}

.section-soft {
  width: 100%;
  max-width: none;
  background: var(--soft);
  padding-right: max(20px, calc((100% - 1180px) / 2));
  padding-left: max(20px, calc((100% - 1180px) / 2));
}

.intro-grid,
.section-heading,
.services-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: end;
  gap: 80px;
}

.intro-copy {
  padding-bottom: 4px;
}

.intro-copy p,
.services-intro > p {
  font-size: 1.07rem;
  line-height: 1.82;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--navy);
  font-weight: 800;
}

.text-link span {
  color: var(--green);
  font-size: 1.2rem;
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading > p {
  max-width: 500px;
  justify-self: end;
  font-size: 1rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  border: 1px solid #dbe3e9;
  border-radius: 6px;
  background: #fff;
  padding: 32px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.service-card:hover {
  border-color: rgba(95, 182, 43, 0.6);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.service-code {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(11, 115, 185, 0.18);
  border-radius: 50%;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
}

.service-card h3 {
  margin-top: 46px;
  font-size: 1.28rem;
}

.service-card p {
  margin-top: 16px;
  font-size: 0.9rem;
}

.service-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 800;
  padding-top: 18px;
}

.service-card a span {
  color: var(--green);
}

.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: center;
}

.feature-image {
  position: relative;
}

.feature-image::before {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 42%;
  height: 58%;
  background: var(--green);
  content: "";
}

.feature-image img {
  position: relative;
  z-index: 1;
  min-height: 470px;
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
}

.feature-copy > p {
  margin-top: 22px;
  font-size: 1rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  color: #2d3e52;
  font-weight: 700;
  padding-left: 30px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(95, 182, 43, 0.14);
  color: var(--green-dark);
  content: "✓";
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 19px;
  text-align: center;
}

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

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.values-grid article {
  min-height: 205px;
  border-left: 1px solid var(--line);
  padding: 6px 25px 20px;
}

.values-grid article:first-child {
  border-left: 0;
  padding-left: 0;
}

.values-grid article > span {
  display: block;
  margin-bottom: 34px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
}

.values-grid article p {
  margin-top: 12px;
  font-size: 0.86rem;
}

.method {
  display: grid;
  width: min(1260px, calc(100% - 40px));
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  border-radius: 8px;
  background: var(--navy);
  padding: 72px 76px;
}

.method-copy h2 {
  color: #fff;
}

.method-copy p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
}

.method ol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.method li {
  display: flex;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px;
}

.method li > span {
  color: #9ee36e;
  font-size: 0.72rem;
  font-weight: 800;
}

.method h3 {
  color: #fff;
}

.method li p {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.83rem;
}

.cta-band {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin: 112px auto;
  border-radius: 8px;
  background:
    linear-gradient(110deg, rgba(3, 28, 53, 0.98), rgba(6, 40, 74, 0.92)),
    url("../images/transformacion-digital.webp") center/cover;
  padding: 60px 68px;
}

.cta-band h2 {
  max-width: 760px;
  color: #fff;
}

.cta-band p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 30%, rgba(17, 167, 216, 0.18), transparent 29%),
    linear-gradient(125deg, var(--soft), #fff);
}

.page-hero::after {
  position: absolute;
  top: -100px;
  right: 5%;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(11, 115, 185, 0.1);
  border-radius: 50%;
  content: "";
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1000px, calc(100% - 40px));
  margin: 0 auto;
  padding: 116px 0 122px;
  text-align: center;
}

.page-hero-inner h1 {
  max-width: 960px;
  margin: 0 auto;
}

.page-hero-inner p {
  max-width: 810px;
  margin: 24px auto 0;
  font-size: 1.08rem;
}

.about-story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 84px;
}

.about-story div p {
  margin-top: 22px;
}

.about-story img {
  min-height: 470px;
  border-radius: 6px;
  object-fit: cover;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
}

.mission-grid article {
  min-height: 390px;
  background: var(--soft);
  padding: 64px;
}

.mission-grid article > span {
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

.mission-grid h2 {
  margin-top: 44px;
}

.mission-grid p {
  margin-top: 20px;
}

.mission-grid .mission-dark {
  background: var(--navy);
}

.mission-grid .mission-dark h2 {
  color: #fff;
}

.mission-grid .mission-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  border-radius: 8px;
  background: var(--navy-deep);
  padding: 72px;
}

.why-grid h2 {
  color: #fff;
}

.why-grid > div:last-child {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.why-grid article {
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 25px;
}

.why-grid strong {
  color: #fff;
}

.why-grid article p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.85rem;
}

.service-groups {
  display: grid;
  gap: 0;
  padding-top: 0;
}

.service-groups article {
  display: grid;
  grid-template-columns: 74px 0.85fr 1.1fr 190px;
  gap: 36px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 48px 0;
  scroll-margin-top: 100px;
}

.group-number {
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.group-copy h2 {
  font-size: 1.75rem;
}

.group-copy p {
  margin-top: 13px;
  font-size: 0.9rem;
}

.service-groups ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-groups li {
  position: relative;
  color: #455365;
  font-size: 0.9rem;
  padding-left: 20px;
}

.service-groups li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "•";
}

.service-groups article > a {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
}

.result-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  border-radius: 8px;
  background: var(--navy);
  padding: 64px 70px;
}

.result-banner h2 {
  color: #fff;
}

.result-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  gap: 12px;
}

.result-points span {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.86rem;
  padding: 16px;
}

.location-layout {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  grid-template-columns: 1.25fr 0.75fr;
  align-items: stretch;
  margin: 112px auto 0;
  box-shadow: var(--shadow);
}

.map-frame {
  min-height: 560px;
  background: var(--soft);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
}

.location-card {
  background: var(--navy);
  padding: 66px 54px;
}

.location-card h2 {
  color: #fff;
}

.location-card dl {
  margin: 42px 0;
}

.location-card dl div {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding: 18px 0;
}

.location-card dt {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.location-card dd {
  margin: 4px 0 0;
  color: #fff;
}

.coverage-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.coverage-grid > div:last-child {
  display: grid;
  gap: 14px;
}

.coverage-grid article {
  border: 1px solid var(--line);
  padding: 28px;
}

.coverage-grid article p {
  margin-top: 8px;
}

.contact-layout {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  margin: 112px auto 0;
}

.contact-copy > p {
  margin-top: 20px;
  font-size: 1.02rem;
}

.contact-details {
  display: grid;
  gap: 0;
  margin-top: 45px;
}

.contact-details > * {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.contact-details strong {
  color: var(--navy);
  font-size: 0.78rem;
}

.contact-details span {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 44px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #34465a;
  font-size: 0.76rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d2dbe3;
  border-radius: 4px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 14px 15px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 115, 185, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form .button {
  justify-self: start;
}

.contact-form small {
  color: #778391;
}

.next-steps {
  border-top: 1px solid var(--line);
}

.next-steps ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.next-steps li {
  min-height: 220px;
  border: 1px solid var(--line);
  padding: 30px;
}

.next-steps li > span {
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.next-steps h3 {
  margin-top: 35px;
}

.next-steps p {
  margin-top: 10px;
}

.site-footer {
  background: var(--navy-deep);
  color: #fff;
  padding: 72px max(20px, calc((100% - 1180px) / 2)) 0;
}

.admin-bar .site-header {
  top: 32px;
}

.elementor-page .hcbc-elementor-content > .elementor {
  overflow: hidden;
}

.hcbc-flash {
  width: min(1180px, calc(100% - 40px));
  margin: 24px auto 0;
  border-left: 4px solid var(--green);
  background: #edf8e8;
  color: #28541a;
  padding: 15px 18px;
}

.hcbc-flash-error {
  border-color: #c94545;
  background: #fff0f0;
  color: #7a2424;
}

.hcbc-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 12px 30px rgba(15, 58, 36, 0.25);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 900;
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 1fr 0.85fr;
  gap: 70px;
  padding-bottom: 62px;
}

.footer-shell > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-brand img {
  width: 205px;
  height: 60px;
  object-fit: contain;
  object-position: left;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 310px;
  color: rgba(255, 255, 255, 0.62);
}

.footer-shell h2 {
  margin-bottom: 9px;
  color: #fff;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-shell a,
.footer-shell span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

.footer-shell a:hover {
  color: #fff;
}

.footer-shell .whatsapp-link {
  margin-top: 10px;
  border: 1px solid rgba(158, 227, 110, 0.35);
  border-radius: 4px;
  color: #b5ee91;
  padding: 9px 13px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.73rem;
  padding: 22px 0;
}

@media (max-width: 1040px) {
  .site-header nav {
    gap: 14px;
  }

  .site-header nav a {
    font-size: 0.74rem;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card {
    min-height: 285px;
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 32px;
  }

  .service-groups article {
    grid-template-columns: 50px 0.85fr 1.15fr;
  }

  .service-groups article > a {
    grid-column: 2;
  }

  .footer-shell {
    grid-template-columns: 1.3fr 0.7fr 1fr;
  }

  .footer-shell > div:last-child {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  .admin-bar .site-header {
    top: 46px;
  }
  .nav-shell {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
    order: 2;
  }

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

  .brand {
    order: 0;
  }

  .site-header .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    border-top: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 18px 36px rgba(3, 28, 53, 0.1);
    padding: 12px 20px 22px;
  }

  .site-header .primary-nav.is-open {
    display: block;
  }

  .primary-menu {
    display: grid;
    gap: 0;
  }

  .primary-menu li {
    border-bottom: 1px solid var(--line);
  }

  .primary-menu a {
    display: block;
    padding: 14px 4px;
  }

  .primary-menu a::after {
    display: none;
  }

  .brand {
    width: 150px;
  }

  .home-hero {
    min-height: 620px;
    background-position: 62% center;
  }

  .home-hero::before {
    position: absolute;
    inset: 0;
    background: rgba(3, 28, 53, 0.3);
    content: "";
  }

  .hero-shell {
    min-height: 620px;
  }

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

  .proof-strip {
    grid-template-columns: 1fr 1fr;
  }

  .proof-strip div:nth-child(2) {
    border-right: 0;
  }

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

  .intro-grid,
  .section-heading,
  .services-intro,
  .split-feature,
  .about-story,
  .coverage-grid,
  .contact-layout,
  .result-banner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .section-heading > p {
    justify-self: start;
  }

  .method,
  .why-grid {
    grid-template-columns: 1fr;
    padding: 50px 42px;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .service-groups article {
    grid-template-columns: 42px 1fr;
  }

  .service-groups article ul {
    grid-column: 2;
  }

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

  .map-frame,
  .map-frame iframe {
    min-height: 410px;
  }

  .contact-layout {
    gap: 48px;
  }

  .next-steps ol {
    grid-template-columns: 1fr;
  }

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

  .footer-shell > div:last-child {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 2rem;
  }

  .nav-shell,
  .hero-shell,
  .section,
  .proof-strip,
  .cta-band,
  .location-layout,
  .contact-layout {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    width: 126px;
  }

  .button-small {
    min-height: 38px;
    font-size: 0.69rem;
    padding: 0 12px;
  }

  .header-cta {
    display: none;
  }

  .home-hero,
  .hero-shell {
    min-height: 650px;
  }

  .hero-shell {
    padding-top: 50px;
  }

  .hero-copy h1 {
    font-size: 2.6rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .proof-strip {
    margin-top: -34px;
  }

  .proof-strip div {
    min-height: 102px;
  }

  .proof-strip strong {
    font-size: 1.55rem;
  }

  .section {
    padding: 78px 0;
  }

  .section-soft {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  .service-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .values-grid article,
  .values-grid article:first-child {
    min-height: auto;
    border-top: 1px solid var(--line);
    border-left: 0;
    padding: 24px 0;
  }

  .feature-image img {
    min-height: 340px;
  }

  .method {
    width: 100%;
    border-radius: 0;
    padding: 52px 24px;
  }

  .method ol,
  .why-grid > div:last-child,
  .result-points,
  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    margin: 78px auto;
    padding: 44px 28px;
  }

  .page-hero-inner {
    padding: 88px 0;
  }

  .about-story img {
    min-height: 330px;
  }

  .mission-grid {
    width: 100%;
  }

  .mission-grid article {
    min-height: auto;
    padding: 45px 28px;
  }

  .why-grid {
    width: 100%;
    border-radius: 0;
    padding: 50px 24px;
  }

  .service-groups article {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-groups article ul,
  .service-groups article > a {
    grid-column: 1;
  }

  .result-banner {
    width: 100%;
    border-radius: 0;
    padding: 50px 24px;
  }

  .location-card {
    padding: 46px 28px;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 7px;
  }
}
