:root {
  --it-navy: #252841;
  --it-ink: #151728;
  --it-blue: #616ab1;
  --it-sky: #8092d4;
  --it-peach: #ffbc7d;
  --it-paper: #f7f8fc;
  --it-line: #dfe2ef;
  --it-white: #fff;
  --it-muted: #656a7f;
  --it-success: #25d366;
  --font-sans: Inter, "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --container: 1320px;
  --reading: 780px;
  --radius-sm: 12px;
  --radius: 24px;
  --radius-lg: 38px;
  --shadow: 0 24px 70px rgb(37 40 65 / 10%);
  --transition: 220ms ease;
  --hero-title-font-size: 4.375rem;
  --page-hero-title-font-size: 3rem;
  --page-hero-description-font-size: 1.125rem;
  --page-hero-min-height: 31.25rem;
  --page-hero-content-padding: 4.75rem;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--it-white);
  color: var(--it-navy);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.menu-open,
body.contact-modal-open {
  overflow: hidden;
}

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

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

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

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--it-ink);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3rem, 6.6vw, 6.25rem);
}

h2 {
  font-size: clamp(2.2rem, 4.2vw, 4.4rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

::selection {
  background: var(--it-peach);
  color: var(--it-ink);
}

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

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

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

.section {
  padding-block: clamp(76px, 10vw, 144px);
}

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

.section--dark {
  background: var(--it-navy);
  color: rgb(255 255 255 / 76%);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--it-white);
}

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

.screen-reader-text:focus {
  z-index: 9999;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 16px;
  background: var(--it-white);
  color: var(--it-ink);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--it-blue);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

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

.lead {
  color: var(--it-muted);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.5;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.button,
.wpforms-submit {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid var(--it-peach);
  border-radius: 999px;
  background: var(--it-peach);
  color: var(--it-ink);
  font-weight: 720;
  line-height: 1;
  text-decoration: none;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.button:hover,
.wpforms-submit:hover {
  transform: translateY(-2px);
  background: #ffc997;
  border-color: #ffc997;
}

.button--small {
  min-height: 44px;
  padding: 11px 19px;
  font-size: 0.9rem;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--it-blue);
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  transition: transform var(--transition);
}

.text-link:hover span {
  transform: translateX(4px);
}

.text-link--light {
  color: var(--it-white);
}

/* Persistent contact widget */
.contact-widget {
  position: relative;
  z-index: 900;
}

.contact-widget__trigger {
  position: fixed;
  top: 50%;
  left: 0;
  z-index: 901;
  display: grid;
  width: 58px;
  height: 62px;
  padding: 0;
  border: 0;
  border-radius: 0 6px 6px 0;
  background: var(--it-blue);
  color: var(--it-white);
  box-shadow: 0 14px 34px rgb(21 23 40 / 28%);
  cursor: pointer;
  place-items: center;
  transform: translateY(-50%);
  transition: background-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.contact-widget__trigger:hover,
.contact-widget__trigger:focus-visible {
  background: var(--it-navy);
  box-shadow: 0 18px 42px rgb(21 23 40 / 36%);
  transform: translateY(-50%) scale(1.06);
}

.contact-widget__label {
  position: absolute;
  top: 50%;
  left: calc(100% + 12px);
  padding: 7px 12px;
  border-radius: 4px;
  background: var(--it-ink);
  color: var(--it-white);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-8px, -50%);
  transition: opacity var(--transition), transform var(--transition);
  white-space: nowrap;
}

.contact-widget__trigger:hover .contact-widget__label,
.contact-widget__trigger:focus-visible .contact-widget__label {
  opacity: 1;
  transform: translate(0, -50%);
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  z-index: 10000;
  display: grid;
  padding: 24px;
  background: rgb(15 17 31 / 72%);
  inset: 0;
  opacity: 0;
  overflow-y: auto;
  place-items: center;
  transition: opacity var(--transition);
}

.contact-modal.is-open {
  opacity: 1;
}

.contact-modal__dialog {
  position: relative;
  width: min(100%, 650px);
  max-height: calc(100dvh - 48px);
  padding: clamp(30px, 5vw, 54px);
  border-radius: 8px;
  background: #f4f5f9;
  box-shadow: 0 30px 90px rgb(0 0 0 / 32%);
  overflow-y: auto;
  transform: translateY(18px) scale(0.98);
  transition: transform var(--transition);
}

.contact-modal.is-open .contact-modal__dialog {
  transform: none;
}

.contact-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0 0 3px;
  border: 1px solid rgb(37 40 65 / 13%);
  border-radius: 50%;
  background: var(--it-white);
  color: var(--it-navy);
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
  place-items: center;
  transition: background-color var(--transition), color var(--transition);
}

.contact-modal__close:hover {
  background: var(--it-navy);
  color: var(--it-white);
}

.contact-modal__heading {
  padding-right: 42px;
}

.contact-modal__heading > p {
  margin: 0 0 12px;
  color: var(--it-blue);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-modal__heading h2 {
  margin: 0 0 30px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
}

.contact-modal__form .wpforms-container {
  margin: 0;
}

.contact-modal__form .wpforms-field {
  padding: 0 0 14px !important;
}

.contact-modal__form .wpforms-field-label {
  margin-bottom: 7px !important;
  color: var(--it-navy) !important;
  font-size: 0.84rem !important;
  font-weight: 500 !important;
}

.contact-modal__form input[type="text"],
.contact-modal__form input[type="email"],
.contact-modal__form input[type="tel"],
.contact-modal__form input[type="url"],
.contact-modal__form input[type="number"],
.contact-modal__form select,
.contact-modal__form textarea {
  width: 100% !important;
  max-width: none !important;
  min-height: 54px !important;
  padding: 12px 15px !important;
  border: 1px solid rgb(37 40 65 / 13%) !important;
  border-radius: 6px !important;
  background: var(--it-white) !important;
  color: var(--it-navy) !important;
  box-shadow: none !important;
}

.contact-modal__form textarea {
  min-height: 125px !important;
  resize: vertical;
}

.contact-modal__form input:focus,
.contact-modal__form select:focus,
.contact-modal__form textarea:focus {
  border-color: var(--it-blue) !important;
}

.contact-modal__form .wpforms-submit-container {
  padding-top: 6px !important;
}

.contact-modal__form button[type="submit"] {
  width: 100% !important;
  min-height: 56px !important;
  border: 0 !important;
  border-radius: 5px !important;
  background: var(--it-blue) !important;
  color: var(--it-white) !important;
  font-weight: 600 !important;
}

.contact-modal__form button[type="submit"]:hover {
  background: var(--it-navy) !important;
}

/* Header */
.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--it-white);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.is-sticky {
  position: fixed;
  background: rgb(37 40 65 / 94%);
  box-shadow: 0 12px 36px rgb(0 0 0 / 14%);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.custom-logo-link img {
  width: auto;
  max-height: 52px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark__symbol {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  background: var(--it-peach);
  color: var(--it-ink);
  font-size: 0.86rem;
  font-weight: 850;
}

.brand-mark__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-mark__text strong {
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.brand-mark__text small {
  margin-top: 5px;
  opacity: 0.66;
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 34px;
}

.primary-menu,
.footer-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-menu a {
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.primary-menu a:hover {
  color: var(--it-peach);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 50%;
  background: transparent;
}

.menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--it-white);
}

/* Hero */
.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  padding-top: clamp(150px, 17vw, 210px);
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.12fr) minmax(400px, 0.88fr);
  gap: clamp(50px, 8vw, 120px);
}

.hero h1 {
  max-width: 850px;
  margin-bottom: 30px;
}

.hero__lead {
  max-width: 680px;
  margin-bottom: 40px;
  color: rgb(255 255 255 / 72%);
  font-size: clamp(1.15rem, 1.8vw, 1.42rem);
}

.hero__visual {
  position: relative;
  min-height: 480px;
}

.hero__image {
  width: 100%;
  height: 540px;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 90px rgb(0 0 0 / 28%);
  object-fit: cover;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.hero__glow--one {
  top: -20%;
  right: -10%;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgb(128 146 212 / 38%), transparent 68%);
}

.hero__glow--two {
  bottom: -50%;
  left: 5%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgb(255 188 125 / 15%), transparent 70%);
}

.hero-system {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1;
  margin-inline: auto;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 50%;
}

.hero-system::before,
.hero-system::after {
  content: "";
  position: absolute;
  inset: 13%;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 50%;
}

.hero-system::after {
  inset: 29%;
}

.hero-system__core {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 180px;
  height: 180px;
  place-content: center;
  padding: 20px;
  border-radius: 50%;
  background: var(--it-peach);
  color: var(--it-ink);
  text-align: center;
  transform: translate(-50%, -50%);
}

.hero-system__core span {
  font-size: 3.8rem;
  font-weight: 750;
  letter-spacing: -0.07em;
  line-height: 1;
}

.hero-system__core small {
  font-weight: 650;
  line-height: 1.25;
}

.hero-system__node {
  position: absolute;
  display: grid;
  min-width: 92px;
  min-height: 92px;
  place-items: center;
  padding: 12px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 50%;
  background: rgb(255 255 255 / 8%);
  color: var(--it-white);
  font-size: 0.8rem;
  font-weight: 720;
  backdrop-filter: blur(8px);
}

.hero-system__node--one { top: -1%; left: 37%; }
.hero-system__node--two { top: 40%; right: -4%; }
.hero-system__node--three { bottom: -2%; left: 34%; }
.hero-system__node--four { top: 40%; left: -4%; }

/* Sections */
.split-heading,
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
  gap: clamp(50px, 9vw, 140px);
}

.split-heading h2,
.section-heading h2 {
  margin-bottom: 0;
}

.section-heading {
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-heading > p {
  margin-bottom: 6px;
  color: var(--it-muted);
  font-size: 1.12rem;
}

.section-heading--compact {
  grid-template-columns: minmax(0, 800px);
}

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

.service-card {
  min-width: 0;
}

.service-card__link {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--it-line);
  border-radius: var(--radius);
  background: var(--it-white);
  color: var(--it-navy);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.service-card__number {
  margin-bottom: auto;
  color: var(--it-blue);
  font-size: 0.75rem;
  font-weight: 780;
}

.service-card h3 {
  max-width: 260px;
  margin-bottom: 18px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--it-muted);
  font-size: 0.96rem;
}

.service-card__arrow {
  position: absolute;
  top: 28px;
  right: 28px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--it-line);
  border-radius: 50%;
  transition: transform var(--transition), background var(--transition);
}

.service-card__link:hover {
  background: var(--it-navy);
  box-shadow: var(--shadow);
  color: var(--it-white);
  transform: translateY(-6px);
}

.service-card__link:hover h3,
.service-card__link:hover p {
  color: var(--it-white);
}

.service-card__link:hover .service-card__arrow {
  border-color: var(--it-peach);
  background: var(--it-peach);
  color: var(--it-ink);
  transform: rotate(12deg);
}

.impact-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(50px, 9vw, 140px);
}

.impact-copy p:last-child {
  max-width: 540px;
}

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

.metric {
  display: flex;
  min-height: 200px;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border-top: 1px solid rgb(255 255 255 / 15%);
  border-left: 1px solid rgb(255 255 255 / 15%);
}

.metric strong {
  color: var(--it-peach);
  font-size: clamp(3rem, 5vw, 5rem);
  letter-spacing: -0.07em;
  line-height: 1;
}

.metric span {
  color: var(--it-white);
  font-size: 0.92rem;
  font-weight: 650;
}

.process-list {
  padding: 0;
  margin: 70px 0 0;
  list-style: none;
}

.process-list li {
  display: grid;
  align-items: start;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  padding: 38px 0;
  border-top: 1px solid var(--it-line);
}

.process-list li:last-child {
  border-bottom: 1px solid var(--it-line);
}

.process-list > li > span {
  color: var(--it-blue);
  font-size: 0.78rem;
  font-weight: 760;
}

.process-list h3 {
  margin-bottom: 10px;
}

.process-list p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--it-muted);
}

.business-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.business-card,
.value-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--it-line);
  border-radius: var(--radius);
  background: var(--it-white);
}

.business-card--primary {
  background: var(--it-blue);
  color: var(--it-white);
}

.business-card--primary h3,
.business-card--primary a {
  color: var(--it-white);
}

.business-card > span,
.value-card > span {
  margin-bottom: auto;
  color: var(--it-blue);
  font-size: 0.74rem;
  font-weight: 780;
}

.business-card--primary > span {
  color: var(--it-peach);
}

.business-card p,
.value-card p {
  color: var(--it-muted);
}

.business-card--primary p {
  color: rgb(255 255 255 / 78%);
}

.business-card a {
  margin-top: 20px;
  color: var(--it-blue);
  font-weight: 720;
  text-decoration: none;
}

.client-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--it-line);
  border-left: 1px solid var(--it-line);
}

.client-list span {
  display: grid;
  min-height: 130px;
  place-items: center;
  padding: 20px;
  border-right: 1px solid var(--it-line);
  border-bottom: 1px solid var(--it-line);
  color: var(--it-muted);
  font-size: 0.91rem;
  font-weight: 760;
  text-align: center;
}

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

.post-grid--archive {
  row-gap: 60px;
}

.post-card {
  overflow: hidden;
  border: 1px solid var(--it-line);
  border-radius: var(--radius);
  background: var(--it-white);
}

.post-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.post-card:hover .post-card__image img {
  transform: scale(1.04);
}

.post-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--it-navy), var(--it-blue));
}

.post-card__body {
  padding: 28px;
}

.post-card__meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 20px;
  color: var(--it-muted);
  font-size: 0.76rem;
  font-weight: 680;
  text-transform: uppercase;
}

.post-card h3 {
  margin-bottom: 16px;
}

.post-card h3 a {
  text-decoration: none;
}

.post-card p {
  color: var(--it-muted);
  font-size: 0.95rem;
}

.cta-section {
  padding-top: clamp(70px, 8vw, 110px);
  padding-bottom: 0;
}

.cta-panel {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr auto;
  gap: 50px;
  padding: clamp(42px, 7vw, 86px);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(130deg, var(--it-blue), var(--it-navy));
  color: var(--it-white);
}

.cta-panel h2 {
  max-width: 850px;
  margin-bottom: 0;
  color: var(--it-white);
}

/* Interior pages */
.page-hero,
.article-header {
  padding: clamp(170px, 19vw, 250px) 0 clamp(78px, 10vw, 130px);
}

.page-hero__inner {
  max-width: 980px;
  margin-left: max(20px, calc((100vw - var(--container)) / 2));
}

.page-hero h1 {
  margin-bottom: 24px;
  font-size: var(--hero-title-font-size);
}

.page-hero p:last-child {
  max-width: 720px;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.page-intro {
  margin-bottom: 70px;
}

.entry-content {
  color: #44495f;
}

.entry-content > * + * {
  margin-top: 1.4em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 1.8em;
}

.entry-content a {
  color: var(--it-blue);
}

.entry-content img {
  border-radius: var(--radius-sm);
}

.entry-content blockquote {
  padding: 24px 30px;
  border-left: 4px solid var(--it-peach);
  margin-inline: 0;
  background: var(--it-paper);
  color: var(--it-navy);
  font-size: 1.2rem;
}

.service-detail__grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(50px, 9vw, 130px);
}

.service-detail__aside {
  position: sticky;
  top: 120px;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--it-paper);
}

.service-detail__aside h2 {
  font-size: 2rem;
}

.contact-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(50px, 9vw, 130px);
}

.contact-details h2 {
  margin-bottom: 50px;
}

.contact-item {
  padding: 22px 0;
  border-top: 1px solid var(--it-line);
}

.contact-item > span {
  display: block;
  margin-bottom: 5px;
  color: var(--it-muted);
  font-size: 0.72rem;
  font-weight: 720;
  text-transform: uppercase;
}

.contact-item a,
.contact-item p {
  margin: 0;
  color: var(--it-navy);
  font-size: 1.1rem;
  font-weight: 650;
  text-decoration: none;
}

.contact-form-panel {
  padding: clamp(30px, 5vw, 58px);
  border-radius: var(--radius);
  background: var(--it-paper);
}

.contact-form-panel h2 {
  margin-bottom: 34px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.wpforms-container .wpforms-field {
  padding-block: 10px !important;
}

.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container textarea,
.wpforms-container select {
  width: 100% !important;
  max-width: none !important;
  min-height: 54px;
  padding: 13px 16px !important;
  border: 1px solid var(--it-line) !important;
  border-radius: 10px !important;
  background: var(--it-white) !important;
  box-shadow: none !important;
}

.wpforms-container textarea {
  min-height: 150px;
}

.article-header h1 {
  font-size: var(--hero-title-font-size);
}

.article-header .article-meta {
  color: rgb(255 255 255 / 64%);
}

.article-image {
  margin-top: -50px;
}

.article-image img {
  width: 100%;
  max-height: 700px;
  border-radius: var(--radius);
  object-fit: cover;
}

.navigation.pagination {
  margin-top: 60px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-numbers {
  display: grid;
  min-width: 44px;
  height: 44px;
  place-items: center;
  padding-inline: 12px;
  border: 1px solid var(--it-line);
  border-radius: 99px;
  text-decoration: none;
}

.page-numbers.current {
  border-color: var(--it-navy);
  background: var(--it-navy);
  color: var(--it-white);
}

.not-found {
  min-height: 80vh;
  padding-top: 220px;
}

/* Footer */
.site-footer {
  padding-top: clamp(72px, 7vw, 108px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgb(98 111 191 / 10%) 0 23%, transparent 23% 100%),
    var(--it-ink);
  color: rgb(255 255 255 / 68%);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 0.9fr 1.2fr;
  gap: clamp(32px, 4.5vw, 72px);
  padding-bottom: clamp(58px, 6vw, 86px);
}

.site-footer__logo {
  display: inline-block;
  width: min(218px, 100%);
  margin-bottom: 28px;
}

.site-footer__logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.site-footer__description {
  max-width: 390px;
  font-size: 0.96rem;
  line-height: 1.75;
}

.site-footer__description p {
  margin: 0;
}

.site-footer__certifications {
  display: flex;
  min-height: 58px;
  margin-top: 30px;
  align-items: center;
  gap: 14px;
}

.site-footer__certification {
  display: grid;
  width: 72px;
  height: 52px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
}

.site-footer__certification img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-footer__certification:first-child {
  width: 60px;
  height: 37px;
}

.site-footer__title {
  margin: 4px 0 28px;
  color: var(--it-white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__links,
.site-footer__contacts {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: flex-start;
  flex-direction: column;
  gap: 13px;
  list-style: none;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible,
.site-footer__contacts a:hover,
.site-footer__contacts a:focus-visible,
.site-footer__bottom a:hover,
.site-footer__bottom a:focus-visible {
  color: var(--it-white);
}

.site-footer__contacts li {
  display: grid;
  grid-template-columns: minmax(76px, auto) 1fr;
  gap: 10px;
  font-size: 0.87rem;
  line-height: 1.45;
}

.site-footer__contacts span {
  color: rgb(255 255 255 / 42%);
}

.site-footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding-block: 25px;
  border-top: 1px solid rgb(255 255 255 / 10%);
  font-size: 0.88rem;
}

.site-footer__bottom p {
  margin: 0;
  text-align: center;
  color: rgb(255 255 255 / 82%);
  font-size: 1rem;
}

.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer__bottom .site-footer__socials {
  gap: 11px;
}

.site-footer__social {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  color: var(--it-white) !important;
  background: transparent !important;
  transition: transform 180ms ease, opacity 180ms ease !important;
}

.site-footer__social:hover,
.site-footer__social:focus-visible {
  opacity: 0.72;
  transform: translateY(-2px);
}

.site-footer__social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}


/* Reveal enhancement */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.js .reveal--delay {
  transition-delay: 120ms;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .hero .reveal,
.js .page-hero .reveal,
.js .article-header .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1050px) {
  .primary-navigation { gap: 20px; }
  .primary-menu { gap: 18px; }
  .hero__grid { grid-template-columns: 1fr 0.8fr; gap: 50px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .client-list { grid-template-columns: repeat(4, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .site-header__inner { min-height: 76px; }
  .menu-toggle { display: block; }
  .primary-navigation {
    position: fixed;
    top: 0;
    right: 0;
    width: min(88vw, 390px);
    height: 100dvh;
    align-items: stretch;
    flex-direction: column;
    justify-content: center;
    padding: 90px 38px 40px;
    background: var(--it-ink);
    box-shadow: -20px 0 70px rgb(0 0 0 / 25%);
    transform: translateX(105%);
    transition: transform 300ms ease;
  }
  .primary-navigation.is-open { transform: translateX(0); }
  .primary-menu { align-items: flex-start; flex-direction: column; gap: 18px; }
  .primary-menu a { font-size: 1.3rem; }
  .menu-toggle { position: relative; z-index: 2; }
  .hero { min-height: auto; }
  .hero__grid,
  .split-heading,
  .section-heading,
  .impact-grid,
  .service-detail__grid,
  .contact-grid,
  .cta-panel { grid-template-columns: 1fr; }
  .hero__grid { gap: 80px; }
  .hero__content { max-width: 700px; }
  .hero__visual { min-height: 400px; }
  .hero-system { max-width: 410px; }
  .business-grid,
  .value-grid { grid-template-columns: 1fr; }
  .business-card,
  .value-card { min-height: 320px; }
  .client-list { grid-template-columns: repeat(3, 1fr); }
  .cta-panel { align-items: start; }
  .service-detail__aside { position: static; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__intro { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .section { padding-block: 76px; }
  .button-group { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero { padding-top: 130px; padding-bottom: 80px; }
  .hero__visual { min-height: 315px; }
  .hero-system__core { width: 130px; height: 130px; }
  .hero-system__core span { font-size: 2.8rem; }
  .hero-system__node { min-width: 70px; min-height: 70px; font-size: 0.67rem; }
  .service-grid,
  .metric-grid,
  .post-grid { grid-template-columns: 1fr; }
  .service-card__link { min-height: 330px; }
  .process-list li { grid-template-columns: 45px 1fr; gap: 18px; }
  .client-list { grid-template-columns: repeat(2, 1fr); }
  .client-list span { min-height: 100px; }
  .page-hero,
  .article-header { padding-top: 150px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__intro { grid-column: auto; }
  .site-footer__bottom { grid-template-columns: 1fr; justify-items: center; }
  .site-footer__bottom p { text-align: center; }
  .site-footer__bottom-spacer { display: none; }
}

/* --------------------------------------------------------------------------
   Consora index-5 fidelity layer: header and accounting hero
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "TT Hoves Intertron";
  src: url("../../theme/assets/fonts/TT%20Hoves%20Pro%20Trial%20Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "TT Hoves Intertron";
  src: url("../../theme/assets/fonts/TT%20Hoves%20Pro%20Trial%20Medium.woff") format("woff");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

body {
  font-family: "TT Hoves Intertron", var(--font-sans);
}

.site-header {
  position: relative;
  background: var(--it-white);
  color: var(--it-navy);
}

.site-header.is-sticky {
  position: fixed;
  background: rgb(255 255 255 / 96%);
  color: var(--it-navy);
  box-shadow: 0 10px 30px rgb(21 23 40 / 8%);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: grid;
  width: min(calc(100% - 40px), var(--container));
  min-height: 70px;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  gap: 40px;
}

.site-branding {
  justify-self: start;
}

.site-header .brand-mark__symbol {
  border-radius: 4px;
  background: var(--it-blue);
  color: var(--it-white);
}

.site-header .brand-mark__text strong {
  color: var(--it-navy);
}

.site-header .brand-mark__text small {
  color: var(--it-muted);
  opacity: 1;
}

.site-header .custom-logo-link img {
  display: block;
  width: auto;
  max-width: 190px;
  height: 70px;
  max-height: 70px;
  object-fit: contain;
  /* El logo cargado es monocromo blanco: lo llevamos al azul institucional. */
  filter: brightness(0) saturate(100%) invert(44%) sepia(24%) saturate(1275%) hue-rotate(195deg) brightness(94%) contrast(88%);
}

.site-header .primary-navigation {
  display: contents;
}

.site-header .primary-menu {
  justify-self: center;
  gap: clamp(24px, 2.3vw, 44px);
}

.site-header .primary-menu a {
  color: var(--it-ink);
  font-size: 1rem;
  font-weight: 500;
}

.site-header .primary-menu a:hover,
.site-header .primary-menu .current-menu-item > a {
  color: var(--it-blue);
}

.site-header .primary-menu > li {
  position: relative;
}

.site-header .primary-menu .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transform-origin: center;
  transition: transform var(--transition);
}

.site-header .primary-menu .menu-item-has-children:hover > a::after,
.site-header .primary-menu .menu-item-has-children:focus-within > a::after {
  transform: translateY(1px) rotate(225deg);
}

.site-header .primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 24px);
  left: 50%;
  z-index: 10;
  width: 285px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--it-line);
  border-radius: 4px;
  background: var(--it-white);
  box-shadow: 0 22px 55px rgb(21 23 40 / 14%);
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity var(--transition), transform var(--transition);
}

.site-header .primary-menu .sub-menu::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 25px;
}

.site-header .primary-menu .sub-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  color: var(--it-navy);
  font-size: 0.9rem;
}

.site-header .primary-menu .sub-menu a:hover {
  background: var(--it-paper);
  color: var(--it-blue);
}

.site-header .primary-menu .menu-item-has-children:hover > .sub-menu,
.site-header .primary-menu .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.site-header .primary-navigation > .button {
  min-width: 190px;
  min-height: 50px;
  justify-self: end;
  padding: 13px 26px;
  border-color: var(--it-blue);
  border-radius: 7px;
  background: var(--it-blue);
  color: var(--it-white);
  font-size: 0.96rem;
  font-weight: 500;
}

.site-header .primary-navigation > .button::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-radius: 2px;
  background: currentColor;
}

.hero-consora {
  --hero-image: url("../../theme/assets/img/accounting/hero/thumb-1.jpg");
  position: relative;
  min-height: 750px;
  overflow: hidden;
  background: var(--it-ink);
  color: var(--it-white);
}

.hero-consora__media,
.hero-consora__grid {
  position: absolute;
  inset: 0;
}

.hero-consora__media {
  z-index: 0;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
}

.hero-consora__media::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgb(21 23 40 / 55%) 0%, rgb(21 23 40 / 18%) 58%, rgb(21 23 40 / 4%) 100%);
}

.hero-consora__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-consora__video--youtube {
  inset: auto;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  min-width: 100%;
  height: 56.25vw;
  min-height: 100%;
  border: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-slider__track {
  position: absolute;
  inset: 0;
}

.hero-consora__slide {
  position: absolute;
  inset: 0;
  min-height: 750px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 650ms ease, visibility 650ms ease;
}

.hero-consora__slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-consora__grid {
  z-index: 1;
  background-image: url("../../theme/assets/img/accounting/hero/bg-shape.png");
  background-position: center;
  background-size: cover;
  opacity: 0.86;
}

.hero-consora__inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--container));
  min-height: 750px;
}

.hero-consora__content {
  max-width: 1000px;
  padding-top: 165px;
}

.hero-consora h1,
.hero-consora__content h2 {
  margin-bottom: 36px;
  color: var(--it-white);
  font-size: var(--hero-title-font-size);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

.hero-consora__content h2 {
  max-width: 1000px;
}

.consora-button {
  display: inline-flex;
  min-width: 190px;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 15px 22px;
  border-radius: 6px;
  background: var(--it-blue);
  color: var(--it-white);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}

.consora-button:hover {
  background: var(--it-navy);
  transform: translateY(-2px);
}

.consora-button i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: currentColor;
}

.hero-consora__statement {
  position: absolute;
  bottom: 62px;
  left: 0;
  display: flex;
  max-width: 600px;
  align-items: flex-start;
  gap: 24px;
  color: var(--it-white);
}

.hero-consora__statement > span {
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1;
}

.hero-consora__statement p {
  max-width: 480px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
}

.hero-consora__metrics {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 58px;
  display: flex;
  gap: 10px;
}

.hero-consora__metric {
  display: flex;
  width: 260px;
  min-height: 230px;
  flex-direction: column;
  padding: 38px 40px;
  border-radius: 6px;
  background: linear-gradient(252deg, rgb(21 23 40 / 66%), rgb(21 23 40 / 32%));
  color: var(--it-white);
  backdrop-filter: blur(20px);
}

.hero-consora__metric--light {
  background: rgb(233 236 247 / 92%);
  color: var(--it-navy);
}

.hero-consora__metric strong {
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-consora__metric > span {
  margin-top: 8px;
  font-size: 1.2rem;
}

.hero-consora__metric p {
  margin: auto 0 0;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.2;
}

@media (max-width: 1280px) {
  .site-header__inner {
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    gap: 24px;
  }

  .site-header .primary-menu {
    gap: 22px;
  }

  .site-header .primary-navigation > .button {
    min-width: 160px;
  }

  .hero-consora__metric {
    width: 230px;
  }
}

@media (max-width: 1050px) {
  .site-header__inner {
    display: flex;
  }

  .site-header .primary-navigation {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1;
    display: flex;
    width: min(88vw, 410px);
    height: 100dvh;
    align-items: stretch;
    flex-direction: column;
    justify-content: center;
    padding: 100px 38px 40px;
    background: var(--it-white);
    color: var(--it-navy);
    box-shadow: -20px 0 70px rgb(0 0 0 / 18%);
    transform: translateX(105%);
    transition: transform 300ms ease;
  }

  .site-header .primary-navigation.is-open {
    transform: translateX(0);
  }

  .site-header .primary-menu {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header .primary-navigation {
    justify-content: flex-start;
    overflow-y: auto;
  }

  .site-header .primary-menu .sub-menu {
    position: static;
    width: auto;
    margin: 8px 0 0 14px;
    padding: 0 0 0 14px;
    border: 0;
    border-left: 1px solid var(--it-line);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-header .primary-navigation > .button {
    width: 100%;
    margin-top: 18px;
  }

  .site-header .menu-toggle {
    display: block;
    margin-left: auto;
    border-color: rgb(37 40 65 / 20%);
  }

  .site-header .menu-toggle span:not(.screen-reader-text) {
    background: var(--it-navy);
  }

  .hero-consora,
  .hero-consora__inner {
    min-height: 790px;
  }

  .hero-consora__content {
    padding-top: 110px;
  }

  .hero-consora h1,
  .hero-consora__content h2 {
    max-width: 780px;
    font-size: var(--hero-title-font-size);
  }

  .hero-consora__statement {
    display: none;
  }

  .hero-consora__metrics {
    right: 0;
    bottom: 30px;
  }
}

@media (max-width: 650px) {
  .contact-widget__trigger {
    top: auto;
    left: 0;
    bottom: 92px;
    width: 50px;
    height: 54px;
    border-radius: 0 5px 5px 0;
    transform: none;
  }

  .contact-widget__trigger:hover,
  .contact-widget__trigger:focus-visible {
    transform: scale(1.04);
  }

  .contact-widget__label {
    display: none;
  }

  .contact-modal {
    padding: 12px;
  }

  .contact-modal__dialog {
    max-height: calc(100dvh - 24px);
    padding: 34px 20px 24px;
  }

  .contact-modal__close {
    top: 12px;
    right: 12px;
  }

  .contact-modal__heading {
    padding-right: 38px;
  }

  .site-header__inner {
    min-height: 82px;
  }

  .hero-consora,
  .hero-consora__inner {
    min-height: 810px;
  }

  .hero-consora__inner {
    width: min(calc(100% - 30px), var(--container));
  }

  .hero-consora__media {
    background-position: 63% center;
  }

  .hero-consora__media::after {
    background: linear-gradient(90deg, rgb(21 23 40 / 75%), rgb(21 23 40 / 34%));
  }

  .hero-consora__content {
    padding-top: 82px;
  }

  .hero-consora h1,
  .hero-consora__content h2 {
    max-width: 100%;
    margin-bottom: 30px;
    font-size: var(--hero-title-font-size);
  }

  .hero-consora h1 br,
  .hero-consora__content h2 br {
    display: none;
  }

  .consora-button {
    min-width: 0;
    width: 100%;
  }

  .hero-consora__metrics {
    right: 0;
    bottom: 20px;
    left: 0;
  }

  .hero-consora__metric {
    width: 50%;
    min-height: 190px;
    padding: 25px 22px;
  }

  .hero-consora__metric strong {
    font-size: 2.5rem;
  }

  .hero-consora__metric p {
    font-size: 0.94rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-consora__slide {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Consora index-5 fidelity layer: remaining home sections
   -------------------------------------------------------------------------- */
.consora-kicker {
  margin-bottom: 18px;
  color: var(--it-blue);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.home-section-heading h2,
.home-vision__heading h2,
.home-impact h2,
.home-ecosystem h2 {
  margin-bottom: 0;
  color: var(--it-navy);
  font-size: clamp(2.65rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.home-section-heading--center {
  width: min(100%, 900px);
  margin-inline: auto;
  text-align: center;
}

.consora-button--dark {
  flex: 0 0 auto;
  min-width: 180px;
  background: var(--it-navy);
}

.consora-button--dark:hover {
  background: var(--it-blue);
}

.home-vision {
  padding: 130px 0 105px;
  background: var(--it-white);
}

.home-vision__heading {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 70px;
  padding-bottom: 62px;
  border-bottom: 1px solid var(--it-line);
}

.home-vision__heading > div {
  max-width: 850px;
}

.home-vision__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  padding-top: 52px;
}

.vision-feature {
  display: grid;
  min-width: 0;
  align-items: start;
  grid-template-columns: 60px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 28px;
}

.vision-feature__icon {
  display: grid;
  width: 60px;
  height: 60px;
  grid-row: 1 / 3;
  place-items: center;
  border: 1px solid rgb(97 106 177 / 32%);
  border-radius: 6px;
  color: var(--it-blue);
  font-size: 0.76rem;
  font-weight: 500;
}

.vision-feature__icon--image img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.vision-feature h3 {
  margin: 1px 0 10px;
  color: var(--it-navy);
  font-size: 1.25rem;
  font-weight: 500;
}

.vision-feature p {
  max-width: 355px;
  margin-bottom: 0;
  grid-column: 2;
  color: var(--it-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.home-services,
.home-ecosystem {
  background-color: #f3f4fb;
  background-image: var(--section-pattern);
  background-position: center;
  background-size: cover;
}

.home-services {
  padding: 130px 0 110px;
}

.home-services__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.85fr);
  gap: clamp(70px, 9vw, 140px);
}

.home-services__visual {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
}

.home-services__visual .home-section-heading {
  max-width: 750px;
  margin-bottom: 125px;
}

.home-services__photos {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.75fr);
  gap: 16px;
}

.home-services__photos img {
  width: 100%;
  height: 360px;
  border-radius: 6px;
  object-fit: cover;
}

.home-services__photos img:last-child {
  height: 285px;
}

.home-services__content {
  padding-top: 8px;
}

.home-services__copy {
  margin-bottom: 64px;
  color: #4e5369;
  font-size: 0.98rem;
  line-height: 1.65;
}

.home-services__copy p:last-child {
  margin-bottom: 0;
}

.home-services__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgb(37 40 65 / 20%);
}

.home-services__list li {
  border-bottom: 1px solid rgb(37 40 65 / 20%);
}

.home-services__list a {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--it-navy);
  font-size: 1rem;
  line-height: 1.25;
  text-decoration: none;
  transition: color var(--transition), padding var(--transition);
}

.home-services__list a span:last-child {
  color: var(--it-blue);
  font-size: 1.25rem;
}

.home-services__list a:hover {
  padding-left: 8px;
  color: var(--it-blue);
}

.home-impact {
  padding: 68px 0 72px;
  background: var(--it-white);
}

.home-impact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(60px, 8vw, 110px);
}

.home-impact__intro h2 {
  max-width: 680px;
}

.home-impact__facts {
  padding-top: 0;
}

.impact-fact {
  padding: 0 0 17px;
  border-bottom: 1px solid var(--it-line);
}

.impact-fact + .impact-fact {
  padding-top: 17px;
}

.impact-fact strong {
  display: block;
  margin-bottom: 4px;
  color: var(--it-navy);
  font-size: clamp(2rem, 2.7vw, 2.65rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.impact-fact h3 {
  margin-bottom: 4px;
  color: var(--it-navy);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.impact-fact p {
  max-width: 530px;
  margin-bottom: 0;
  color: var(--it-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.home-award {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--it-ink);
}

.home-award::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(21 23 40 / 30%), rgb(37 40 65 / 6%));
}

.home-award__image,
.home-award__shape {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-award__shape {
  z-index: 1;
  opacity: 0.72;
}

.home-award__badge {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  width: 220px;
  height: 220px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgb(255 255 255 / 68%);
  border-radius: 50%;
  background: rgb(97 106 177 / 85%);
  color: var(--it-white);
  text-align: center;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(4px);
}

.home-award__badge strong {
  margin: 5px 0;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.home-award__badge span {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
}

.home-process {
  padding: 130px 0 110px;
  background: var(--it-white);
}

.home-process .home-section-heading {
  margin-bottom: 65px;
}

.home-process__steps {
  position: relative;
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  list-style: none;
}

.home-process__steps::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 16.5%;
  left: 16.5%;
  height: 1px;
  background: var(--it-line);
}

.process-step {
  position: relative;
}

.process-step__number {
  position: relative;
  z-index: 1;
  display: table;
  margin: 0 auto 34px;
  padding: 0 18px;
  background: var(--it-white);
  color: var(--it-blue);
  font-size: 0.82rem;
  font-weight: 500;
}

.process-step > div {
  min-height: 300px;
  padding: 42px 38px;
  border-radius: 6px;
  background: var(--it-paper);
}

.process-step h3 {
  min-height: 65px;
  margin-bottom: 30px;
  color: var(--it-navy);
  font-size: 1.55rem;
  font-weight: 500;
}

.process-step ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-step li {
  position: relative;
  padding: 10px 0 10px 25px;
  border-top: 1px solid var(--it-line);
  color: var(--it-muted);
  font-size: 0.91rem;
  line-height: 1.4;
}

.process-step li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--it-blue);
}

.home-ecosystem {
  padding: 120px 0;
}

.home-ecosystem__top {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(55px, 7vw, 100px);
}

.home-ecosystem__intro {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.home-ecosystem__intro h2 {
  max-width: 580px;
}

.home-ecosystem__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: auto;
  padding-top: 70px;
}

.home-inline-link {
  color: var(--it-navy);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.home-inline-link span {
  margin-left: 8px;
  color: var(--it-blue);
}

.home-units-slider {
  min-width: 0;
  overflow: hidden;
}

.home-units-slider__track {
  display: flex;
  gap: 18px;
  transition: transform 650ms ease;
  will-change: transform;
}

.home-units-slider .ecosystem-card {
  position: relative;
  flex: 0 0 calc((100% - 18px) / 2);
  overflow: hidden;
  min-height: 390px;
  border-radius: 6px;
  background: var(--it-navy);
}

.home-units-slider .ecosystem-card--image::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgb(21 23 40 / 88%));
}

.home-units-slider .ecosystem-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.home-units-slider .ecosystem-card:hover img {
  transform: scale(1.035);
}

.home-units-slider .ecosystem-card--solid {
  background: var(--unit-card-color, var(--it-navy));
}

.ecosystem-card__content {
  position: absolute;
  right: 30px;
  bottom: 30px;
  left: 30px;
  z-index: 1;
  color: var(--it-white);
}

.ecosystem-card--solid .ecosystem-card__content {
  top: 38px;
  bottom: auto;
}

.ecosystem-card h3 {
  margin-bottom: 8px;
  color: var(--it-white);
  font-size: 1.6rem;
  font-weight: 500;
}

.ecosystem-card p {
  margin-bottom: 0;
  color: rgb(255 255 255 / 75%);
  font-size: 0.9rem;
  line-height: 1.45;
}

.home-ecosystem__intro > p:not(.consora-kicker) {
  max-width: 520px;
  margin-top: 28px;
  color: var(--it-muted);
}

.ecosystem-card__link {
  position: absolute;
  right: 25px;
  bottom: 25px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--it-white);
  color: var(--it-navy);
  text-decoration: none;
  place-items: center;
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.ecosystem-card__link:hover {
  background: var(--it-blue);
  color: var(--it-white);
  transform: rotate(90deg);
}

.ecosystem-card--image .ecosystem-card__content {
  padding-right: 48px;
}

.home-certifications {
  padding: 100px 0 120px;
  background: var(--it-white);
}

.home-certifications .home-section-heading {
  margin-bottom: 62px;
}

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

.certification-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  justify-content: flex-start;
  padding: 42px;
  border: 1px solid var(--it-line);
  border-radius: 6px;
  background: var(--it-paper);
}

.certification-card > div:last-child {
  margin-top: 28px;
}

.certification-card--primary {
  border-color: var(--it-navy);
  background: var(--it-navy);
  color: var(--it-white);
}

.certification-card__mark {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid var(--it-line);
  border-radius: 6px;
  background: var(--it-white);
}

.certification-card__mark img {
  width: 34px;
  max-height: 42px;
  object-fit: contain;
}

.certification-card__mark--large img {
  width: 58px;
  max-height: 58px;
}

.certification-card__mark--iso {
  width: 92px;
}

.certification-card__mark--iso img {
  width: 75px;
  max-height: 58px;
}

.certification-card__monogram {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 50%;
  color: var(--it-white);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.certification-card h3 {
  margin-bottom: 0;
  color: var(--it-navy);
  font-size: clamp(1.55rem, 2vw, 1rem);
  font-weight: 500;
  line-height: 1.15;
}

.certification-card__title {
  margin: 20px 0 14px;
  padding-top: 20px;
  border-top: 1px solid var(--it-line);
  color: var(--it-navy);
  font-size: clamp(1.35rem, 1.8vw, 1rem);
  font-weight: 500;
  line-height: 1.18;
}

.certification-card--primary h3 {
  color: var(--it-white);
}

.certification-card--primary .certification-card__title {
  border-color: rgb(255 255 255 / 24%);
  color: var(--it-white);
}

.certification-card p:last-child {
  margin-bottom: 0;
  color: var(--it-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.certification-card--primary p:last-child {
  color: rgb(255 255 255 / 68%);
}

.certification-card--competencies {
  justify-content: flex-start;
}

.certification-card__items {
  display: grid;
  margin: 20px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--it-line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 18px;
  list-style: none;
}

.certification-card__items li {
  position: relative;
  padding-left: 13px;
  color: var(--it-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.certification-card__items li::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--it-blue);
}

.home-customers {
  overflow: hidden;
  padding: 100px 0 85px;
  background-color: #f3f4fb;
  background-image: var(--section-pattern);
  background-position: center;
  background-size: cover;
}

.home-customers__heading {
  display: grid;
  align-items: end;
  margin-bottom: 55px;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 80px;
}

.home-customers__heading h2 {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--it-navy);
  font-size: clamp(2.65rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.home-customers__heading > p {
  max-width: 500px;
  margin-bottom: 4px;
  color: var(--it-muted);
  font-size: 0.98rem;
}

.clients-carousel {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.clients-carousel__track {
  display: flex;
  width: max-content;
  animation: clients-marquee 34s linear infinite;
  will-change: transform;
}

.clients-carousel:hover .clients-carousel__track {
  animation-play-state: paused;
}

.clients-carousel__set {
  display: flex;
  align-items: center;
}

.customer-logo {
  display: grid;
  width: clamp(210px, 20vw, 300px);
  min-height: 115px;
  padding: 24px 38px;
  place-items: center;
}

.customer-logo img {
  width: auto;
  max-width: 155px;
  max-height: 62px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.62;
  transition: filter var(--transition), opacity var(--transition), transform var(--transition);
}

@keyframes clients-marquee {
  to {
    transform: translateX(-50%);
  }
}

.customer-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.04);
}

@media (max-width: 1050px) {
  .home-services__grid,
  .home-impact__grid,
  .home-ecosystem__top {
    grid-template-columns: 1fr;
  }

  .home-services__visual .home-section-heading {
    margin-bottom: 65px;
  }

  .home-services__content {
    padding-top: 0;
  }

  .home-ecosystem__actions {
    margin-top: 55px;
    padding-top: 0;
  }

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


}

@media (max-width: 760px) {
  .home-vision,
  .home-services,
  .home-impact,
  .home-process {
    padding-block: 82px;
  }

  .home-impact {
    padding-block: 60px;
  }

  .home-ecosystem {
    padding-top: 82px;
  }

  .home-certifications,
  .home-customers {
    padding-block: 82px;
  }

  .home-section-heading h2,
  .home-vision__heading h2,
  .home-impact h2,
  .home-ecosystem h2 {
    font-size: clamp(2.35rem, 10vw, 3.2rem);
  }

  .home-vision__heading,
  .home-vision__features,
  .home-process__steps {
    grid-template-columns: 1fr;
  }

  .home-vision__heading {
    align-items: start;
    gap: 35px;
  }

  .home-vision__features {
    gap: 48px;
  }

  .home-services__grid {
    gap: 65px;
  }

  .home-services__photos img {
    height: 300px;
  }

  .home-services__photos img:last-child {
    height: 230px;
  }

  .home-services__copy {
    margin-bottom: 45px;
  }

  .home-impact__grid {
    gap: 42px;
  }

  .home-award {
    min-height: 450px;
  }

  .home-award__badge {
    width: 175px;
    height: 175px;
  }

  .home-process__steps {
    gap: 24px;
  }

  .home-process__steps::before {
    display: none;
  }

  .process-step__number {
    margin-left: 0;
    padding-left: 0;
  }

  .process-step > div {
    min-height: 0;
  }

  .home-ecosystem__top {
    padding-bottom: 65px;
  }

  .home-units-slider .ecosystem-card {
    flex-basis: 100%;
    min-height: 380px;
  }

  .home-certifications__grid,
  .home-customers__heading {
    grid-template-columns: 1fr;
  }

  .home-customers__heading {
    align-items: start;
    gap: 25px;
  }

  .home-customers__heading h2 {
    font-size: clamp(2.35rem, 10vw, 3.2rem);
  }

  .certification-card {
    min-height: 340px;
    padding: 34px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .clients-carousel {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .clients-carousel__track {
    animation: none;
  }
}

@media (max-width: 480px) {
  .home-services__photos {
    grid-template-columns: 1fr;
  }

  .home-services__photos img,
  .home-services__photos img:last-child {
    height: 260px;
  }

  .home-services__photos img:last-child {
    display: none;
  }

  .process-step > div {
    padding: 30px 24px;
  }
}

.home-latest {
  padding: 130px 0 110px;
  background-color: #f3f4fb;
  background-image: url("../../theme/assets/img/accounting/service/service-bg.png");
  background-position: center;
  background-size: cover;
}

.home-latest .section-heading {
  align-items: end;
  margin-bottom: 58px;
}

.home-latest .section-heading > div {
  max-width: 820px;
}

.home-latest .section-heading .consora-button {
  width: 230px;
  min-width: 230px;
  justify-self: end;
}

.home-latest .section-heading h2 {
  margin-bottom: 0;
  color: var(--it-navy);
  font-size: clamp(2.65rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.home-latest .post-grid {
  gap: 18px;
}

.home-latest .post-card {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: var(--it-navy);
}

.home-latest .post-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 30% 0 0;
  background: linear-gradient(transparent, rgb(21 23 40 / 88%));
  pointer-events: none;
}

.home-latest .post-card__image {
  overflow: hidden;
  aspect-ratio: 1 / 1.04;
  border-radius: 0;
}

.home-latest .post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-latest .post-card__body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 38px 40px;
}

.home-latest .post-card__meta {
  margin-bottom: 20px;
  color: var(--it-navy);
  font-size: 0.75rem;
  font-weight: 500;
}

.home-latest .post-card__meta time,
.home-latest .post-card__reading {
  display: none;
}

.home-latest .post-card__category {
  display: inline-flex;
  width: fit-content;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--it-white);
  color: var(--it-navy);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1;
  text-transform: none;
}

.home-latest .post-card:nth-child(2) .post-card__category {
  background: var(--it-blue);
  color: var(--it-white);
}

.home-latest .post-card h3 {
  margin-bottom: 0;
  color: var(--it-white);
  font-size: clamp(1.35rem, 1.7vw, 1.65rem);
  font-weight: 500;
  line-height: 1.2;
}

.home-latest .post-card h3 a {
  color: inherit;
}

.home-latest .post-card p,
.home-latest .post-card .text-link {
  display: none;
}

.cta-section {
  padding-top: 110px;
}

.cta-panel {
  border-radius: 6px 6px 0 0;
}

@media (max-width: 760px) {
  .home-latest {
    padding-block: 82px;
  }

  .home-latest .section-heading {
    align-items: flex-start;
    gap: 35px;
  }

  .home-latest .section-heading h2 {
    font-size: clamp(2.35rem, 10vw, 3.2rem);
  }

  .home-latest .section-heading .consora-button {
    width: 210px;
    min-width: 210px;
    justify-self: start;
  }

  .home-latest .post-card__body {
    padding: 30px 28px;
  }
}

/* Keep large feature heroes responsive without changing the quieter inner-page scale. */
@media (max-width: 1399px) {
  :root {
    --hero-title-font-size: 3.875rem;
  }
}

@media (max-width: 991px) {
  :root {
    --hero-title-font-size: 3.25rem;
  }
}

@media (max-width: 767px) {
  :root {
    --hero-title-font-size: 2.625rem;
    --page-hero-title-font-size: 2.625rem;
    --page-hero-description-font-size: 1rem;
    --page-hero-min-height: 27.5rem;
    --page-hero-content-padding: 3.75rem;
  }
}
