/* Rouchai Contabilidade — Design system */

:root {
  --white: #ffffff;
  --black: #0a0a0a;
  --gray-50: #fafafa;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-400: #a1a1aa;
  --gray-600: #52525b;
  --gray-800: #27272a;

  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: #eff6ff;

  --heading-color: #262b35;
  --text-muted: #868d98;

  --section-title-size: 2.813rem;
  --section-title-line: 3.125rem;
  --section-title-spacing: -1px;
  --section-lead-size: 17px;
  --section-lead-line: 32px;

  --font-sans: "Be Vietnam Pro", system-ui, sans-serif;
  --font-serif: "Sora", system-ui, sans-serif;

  --container: min(1200px, 92vw);
  --header-h: 80px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  font-size: var(--section-lead-size);
  line-height: var(--section-lead-line);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

/* Grid background */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--gray-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-100) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

/* Typography — Crafto "About business" / "Smart and effective…" */
.eyebrow {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 600;
  line-height: 2.5rem;
  letter-spacing: normal;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 100px;
  padding: 0 25px;
  margin: 0 0 25px;
}

.eyebrow--light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 1.3rem + 0.6vw, var(--section-title-size));
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--heading-color);
  max-width: none;
  margin: 0 0 20px;
}

.section__title em {
  font-style: normal;
  font-weight: 600;
  color: inherit;
}

.hero__line--accent {
  font-style: italic;
}

.section__title--light {
  color: var(--white);
}

.section__title--light em {
  color: inherit;
}

.section__lead {
  margin-top: 0;
  font-family: var(--font-sans);
  font-size: var(--section-lead-size);
  font-weight: 400;
  line-height: var(--section-lead-line);
  color: var(--text-muted);
  max-width: none;
  text-align: left;
}

.section__lead--light {
  color: rgba(255, 255, 255, 0.65);
}

.section__header {
  width: 100%;
  margin: 0 0 3.5rem;
  padding-bottom: 0;
  text-align: left;
}

.section__header .eyebrow + .section__title {
  margin-top: 0;
}

.section__header--center {
  max-width: none;
}

.section__header--row {
  max-width: none;
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.section__header--row .section__title,
.section__header--row .section__lead {
  margin-inline: 0;
  text-align: left;
}

@media (min-width: 992px) {
  .section__title {
    font-size: var(--section-title-size);
    line-height: var(--section-title-line);
    letter-spacing: var(--section-title-spacing);
  }
}

@media (max-width: 767px) {
  .eyebrow {
    line-height: 3.438rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 100px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

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

.btn--primary {
  background: var(--black);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--gray-800);
}

.btn--ghost {
  border: 1px solid var(--gray-200);
  color: var(--black);
}

.btn--ghost:hover {
  border-color: var(--black);
}

.btn--outline-light {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  padding: 0.875rem 1.5rem;
  border-radius: 100px;
  font-weight: 500;
  display: inline-flex;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--black);
}

.btn--light:hover {
  background: var(--gray-100);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

.link-arrow {
  font-weight: 500;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.link-arrow:hover {
  opacity: 0.6;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--gray-200);
}

.header:not(.is-scrolled) {
  background: transparent;
}

.header:not(.is-scrolled) .logo__img {
  filter: brightness(0) invert(1);
}

.header:not(.is-scrolled) .nav__list a {
  color: rgba(255, 255, 255, 0.78);
}

.header:not(.is-scrolled) .nav__list a:hover {
  color: var(--white);
}

.header:not(.is-scrolled) .header__actions .btn--primary {
  background: var(--white);
  color: var(--black);
}

.header:not(.is-scrolled) .header__actions .btn--primary:hover {
  background: var(--gray-100);
}

.header:not(.is-scrolled) .menu-toggle span {
  background: var(--white);
}

/* Páginas internas: cabeçalho sempre com fundo claro (como home ao rolar) */
body.blog-index-page .header,
body.article-page .header,
body.about-page .header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--gray-200);
}

body.blog-index-page .header .logo__img,
body.article-page .header .logo__img,
body.about-page .header .logo__img {
  filter: none;
}

body.blog-index-page .header .nav__list a,
body.article-page .header .nav__list a,
body.about-page .header .nav__list a {
  color: var(--gray-600);
}

body.blog-index-page .header .nav__list a:hover,
body.article-page .header .nav__list a:hover,
body.about-page .header .nav__list a:hover {
  color: var(--black);
}

body.blog-index-page .header .header__actions .btn--primary,
body.article-page .header .header__actions .btn--primary,
body.about-page .header .header__actions .btn--primary {
  background: var(--black);
  color: var(--white);
}

body.blog-index-page .header .header__actions .btn--primary:hover,
body.article-page .header .header__actions .btn--primary:hover,
body.about-page .header .header__actions .btn--primary:hover {
  background: var(--gray-800);
}

body.blog-index-page .header .menu-toggle span,
body.article-page .header .menu-toggle span,
body.about-page .header .menu-toggle span {
  background: var(--black);
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.75rem);
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  justify-self: start;
}

.logo__img {
  display: block;
  height: clamp(28px, 4vw, 36px);
  width: auto;
  object-fit: contain;
}

.header .logo__img {
  height: clamp(26px, 3.6vw, 32px);
}

.nav {
  justify-self: center;
  min-width: 0;
}

.nav__list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(1rem, 1.6vw, 1.5rem);
}

.nav__list a {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--gray-600);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav__list a:hover {
  color: var(--black);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-self: end;
  flex-shrink: 0;
}

.header .btn--sm {
  padding: 0.65rem 1.35rem;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.menu-toggle.is-active span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.is-active span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero — fullscreen slide (estilo Crafto) */
.hero--fullscreen {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  color: var(--white);
  overflow: hidden;
}

.hero__cover {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(22%) contrast(1.05);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    -150deg,
    rgba(10, 10, 10, 0.78) 0%,
    rgba(10, 10, 10, 0.48) 48%,
    rgba(10, 10, 10, 0.24) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: var(--container);
  max-width: 1220px;
  min-height: 100vh;
  margin-inline: auto;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 52rem;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.875rem;
  max-width: 13ch;
  text-shadow: 0 0 80px rgba(0, 0, 0, 0.45);
}

.hero__highlight {
  font-weight: 700;
}

.hero__lead {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  max-width: 44ch;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.65;
  letter-spacing: 0.01em;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.4rem 0.4rem 0.4rem 1.35rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  background: var(--accent);
  border-radius: 100px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.hero__btn:hover {
  background: var(--accent-hover);
  transform: translateX(2px);
}

.hero__btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}

.hero__btn:hover .hero__btn-icon {
  transform: translateX(3px);
}

.hero__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 100px;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.2s;
}

.hero__link:hover {
  color: var(--white);
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero--fullscreen .reveal {
  transform: translate3d(40px, 0, 0);
}

.hero--fullscreen .reveal.is-visible {
  transform: translate3d(0, 0, 0);
}

.hero__title.reveal {
  transition-delay: 0.08s;
}

.hero__lead.reveal {
  transition-delay: 0.18s;
}

.hero__cta.reveal {
  transition-delay: 0.28s;
}

/* Service explorer (interactive) */
.service-explorer {
  position: relative;
  background: var(--gray-50);
  overflow: hidden;
}

.service-explorer .container {
  position: relative;
  z-index: 1;
}

.service-explorer .section__header {
  width: 100%;
  padding-bottom: 0;
  border-bottom: none;
  text-align: center;
}

.service-explorer .section__header .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.service-explorer .section__title,
.service-explorer .section__lead {
  width: 100%;
  max-width: none;
  text-align: center;
}

.service-explorer__shell {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow:
    0 1px 2px rgba(38, 43, 53, 0.04),
    0 24px 64px -32px rgba(38, 43, 53, 0.18);
  overflow: hidden;
}

.service-explorer__layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  align-items: stretch;
  min-height: min(440px, 72vh);
}

.service-explorer__nav-col {
  display: flex;
  flex-direction: column;
  padding: clamp(1.15rem, 2vw, 1.5rem);
  background: var(--gray-50);
  border-right: 1px solid var(--gray-200);
}

.service-explorer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.service-explorer__tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 1.15rem;
  text-align: left;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--heading-color);
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.service-explorer__tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 0 2px 2px 0;
  background: var(--accent);
  transform: translateY(-50%);
  transition: height 0.25s var(--ease);
}

.service-explorer__tab:hover {
  background: rgba(255, 255, 255, 0.7);
}

.service-explorer__tab.is-active {
  background: var(--white);
  box-shadow: 0 4px 20px -8px rgba(38, 43, 53, 0.12);
}

.service-explorer__tab.is-active::before {
  height: 60%;
}

.service-explorer__tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.service-explorer__tab-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: var(--gray-100);
  color: var(--gray-500);
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease);
}

.service-explorer__tab-icon svg {
  display: block;
}

.service-explorer__tab.is-active .service-explorer__tab-icon {
  background: var(--accent-soft);
  color: var(--accent);
}

.service-explorer__tab:hover .service-explorer__tab-icon {
  color: var(--heading-color);
}

.service-explorer__tab-label {
  flex: 1;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.35;
}

.service-explorer__tab.is-active .service-explorer__tab-label {
  font-weight: 600;
}

.service-explorer__tab-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  opacity: 0;
  transform: scale(0.85);
  transition:
    opacity 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.service-explorer__tab.is-active .service-explorer__tab-arrow {
  opacity: 1;
  transform: scale(1);
}

.service-explorer__panels {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--white);
}

.service-explorer__panel {
  animation: servicePanelIn 0.45s var(--ease);
}

.service-explorer__panel[hidden] {
  display: none;
}

@keyframes servicePanelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-explorer__panel-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--heading-color);
  margin-bottom: 0.85rem;
}

.service-explorer__panel-desc {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 0;
  max-width: 58ch;
}

.service-explorer__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-200);
}

.service-explorer__list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--gray-600);
}

.service-explorer__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.85;
}

/* Diagnostic */
.diagnostic {
  position: relative;
  background: var(--gray-50);
  color: var(--black);
  overflow: hidden;
}

.diagnostic__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 0, 0, 0.03) 0%, transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(0, 0, 0, 0.02) 0%, transparent 40%);
  pointer-events: none;
}

.diagnostic__container {
  position: relative;
  z-index: 1;
}

.diagnostic .section__header {
  width: 100%;
  padding-bottom: 0;
  border-bottom: none;
  text-align: center;
}

.diagnostic .section__title,
.diagnostic .section__lead {
  width: 100%;
  max-width: none;
  text-align: center;
}

.diagnostic .section__lead em {
  font-style: normal;
  font-weight: 600;
  color: var(--heading-color);
}

.diagnostic__flow {
  position: relative;
}

.diagnostic__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.diagnostic__step {
  position: relative;
  min-width: 0;
}

.diagnostic__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2.25rem;
  left: calc(100% + 0.35rem);
  width: calc(1.25rem - 0.7rem);
  height: 1px;
  background: linear-gradient(90deg, var(--gray-200), var(--gray-100));
  pointer-events: none;
}

.diagnostic__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.diagnostic__card:hover {
  background: var(--white);
  border-color: var(--black);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.1);
}

.diagnostic__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.diagnostic__num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--heading-color);
}

.diagnostic__pill {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 100px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  white-space: nowrap;
}

.diagnostic__name {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.diagnostic__label {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 0.65rem;
  color: var(--heading-color);
}

.diagnostic__text {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-top: auto;
}

.diagnostic__cta {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.diagnostic__cta .btn {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Clients marquee */
.clients-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.clients-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.clients-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.clients-marquee-wrapper::before,
.clients-marquee-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(2.5rem, 8vw, 5rem);
  z-index: 2;
  pointer-events: none;
}

.clients-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--gray-50) 0%, transparent 100%);
}

.clients-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--gray-50) 0%, transparent 100%);
}

.clients-marquee {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.clients-track {
  display: flex;
  gap: 1.5rem;
  padding: 0 0.75rem;
  flex-shrink: 0;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
  background: transparent;
  border: none;
  min-width: auto;
  flex-shrink: 0;
}

.client-logo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.client-logo-img {
  max-width: 140px;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.35);
  opacity: 0.85;
  transition: opacity 0.3s var(--ease), filter 0.3s var(--ease);
}

.client-logo:hover .client-logo-img {
  opacity: 1;
  filter: grayscale(100%) brightness(0.45);
}

/* Testimonials */
.testimonials {
  background: var(--gray-50);
  color: var(--heading-color);
}

.testimonials .section__header--center {
  margin-bottom: 3rem;
}

.testimonials__clients {
  margin-top: clamp(3rem, 5vw, 4rem);
}

.testimonials__clients .clients-header {
  margin-bottom: 1.75rem;
  text-align: left;
}

.testimonials__clients .clients-label {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--heading-color);
}

.testimonials__clients .clients-marquee-wrapper::before {
  background: linear-gradient(to right, var(--gray-50) 0%, transparent 100%);
}

.testimonials__clients .clients-marquee-wrapper::after {
  background: linear-gradient(to left, var(--gray-50) 0%, transparent 100%);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.testimonial {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(38, 43, 53, 0.04);
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.testimonial:hover {
  border-color: var(--gray-400);
  box-shadow: 0 12px 32px -24px rgba(38, 43, 53, 0.12);
}

.testimonial__stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.testimonial__stars svg {
  width: 1rem;
  height: 1rem;
  fill: var(--accent);
  opacity: 0.9;
}

.testimonial__text {
  flex: 1;
  margin: 0 0 1.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  font-style: italic;
  line-height: 1.7;
  color: var(--heading-color);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: auto;
}

.testimonial__avatar {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.testimonial__cite {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-style: normal;
}

.testimonial__cite strong {
  font-size: 0.9375rem;
  font-weight: 600;
}

.testimonial__cite span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section--alt {
  background: var(--gray-50);
}

.section--dark {
  background: var(--black);
  color: var(--white);
}

/* Cards */
.cards {
  display: grid;
  gap: 1.5rem;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.card:hover {
  border-color: var(--black);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.1);
}

.card__num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.1em;
}

.card__title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  margin: 1rem 0 0.75rem;
}

.card__text {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.card__link {
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.25s var(--ease);
}

.card:hover .card__link {
  gap: 0.6rem;
}

/* Services */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service {
  background: var(--white);
  padding: 2rem;
  transition: background 0.25s;
}

.service:hover {
  background: var(--gray-50);
}

.service h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service p {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* Blog */
.section.blog {
  padding: clamp(4rem, 6vw, 5rem) 0;
}

.blog {
  position: relative;
  background: var(--gray-50);
  overflow: hidden;
}

.blog::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--gray-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-200) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black 0%, transparent 85%);
  opacity: 0.35;
  pointer-events: none;
}

.blog .container {
  position: relative;
  z-index: 1;
}

.blog__header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 0;
}

.blog__header .section__header {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.blog__header-intro {
  width: 100%;
}

.blog__header-aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  width: 100%;
  text-align: left;
}

.blog__count {
  font-size: 0.8125rem;
  color: var(--gray-600);
  letter-spacing: 0.02em;
}

.blog__count span {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1;
  color: var(--black);
  margin-bottom: 0.35rem;
}

.blog__cta {
  white-space: nowrap;
}

.blog__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1.125rem;
  align-items: stretch;
  min-height: clamp(22rem, 38vw, 28rem);
}

.blog-card {
  margin: 0;
  min-height: 100%;
}

.blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.blog-card__link:hover {
  border-color: var(--black);
  box-shadow: 0 28px 56px -32px rgba(0, 0, 0, 0.16);
  transform: translateY(-5px);
}

.blog-card__link:hover .blog-card__action-icon {
  transform: translateX(3px);
  background: var(--black);
  color: var(--white);
}

.blog-card__link:hover .blog-card__media::after {
  opacity: 1;
}

.blog-card--featured {
  grid-column: 1;
  grid-row: 1 / 3;
}

.blog-card--featured .blog-card__link {
  display: flex;
  flex-direction: column;
}

.blog-card:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.blog-card:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.blog__grid > .blog-card:not(.blog-card--featured) .blog-card__link {
  display: grid;
  grid-template-columns: minmax(6.5rem, 34%) minmax(0, 1fr);
  align-items: stretch;
}

.blog__grid > .blog-card:not(.blog-card--featured) .blog-card__media {
  aspect-ratio: auto;
  height: 100%;
  min-height: 100%;
}

.blog__grid > .blog-card:not(.blog-card--featured) .blog-card__body {
  padding: 0.9rem 1rem 0.9rem 0.85rem;
  min-width: 0;
}

.blog__grid > .blog-card:not(.blog-card--featured) .blog-card__meta {
  margin-bottom: 0.5rem;
  gap: 0.45rem;
  font-size: 0.6875rem;
}

.blog__grid > .blog-card:not(.blog-card--featured) .blog-card__title {
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.blog__grid > .blog-card:not(.blog-card--featured) .blog-card__excerpt {
  margin-bottom: 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.blog__grid > .blog-card:not(.blog-card--featured) .blog-card__action {
  padding-top: 0;
  border-top: none;
  gap: 0.5rem;
}

.blog__grid > .blog-card:not(.blog-card--featured) .blog-card__action-text {
  font-size: 0.8125rem;
}

.blog__grid > .blog-card:not(.blog-card--featured) .blog-card__action-icon {
  width: 1.85rem;
  height: 1.85rem;
  font-size: 0.875rem;
}

.blog__grid > .blog-card:not(.blog-card--featured) .blog-card__index {
  font-size: clamp(1.5rem, 3vw, 2rem);
  right: 0.35rem;
  bottom: 0.35rem;
}

.blog-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
  background: var(--gray-100);
}

.blog-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s var(--ease);
}

.blog-card__link:hover .blog-card__img {
  transform: scale(1.04);
}

.blog-card__media:has(.blog-card__img) {
  background: var(--gray-200);
}

.blog-card__media:has(.blog-card__img).blog-card__media--featured,
.blog-card__media:has(.blog-card__img).blog-card__media--alt,
.blog-card__media:has(.blog-card__img).blog-card__media--news {
  background: none;
}

.blog-card__media--featured:has(.blog-card__img)::before {
  display: none;
}

.blog-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.35) 100%);
  opacity: 0.6;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.blog-card--featured .blog-card__media {
  flex: 1 1 auto;
  aspect-ratio: auto;
  min-height: 9rem;
  max-height: 14rem;
}

.blog-card__media--featured {
  background:
    radial-gradient(ellipse 80% 70% at 70% 30%, rgba(255, 255, 255, 0.12) 0%, transparent 55%),
    linear-gradient(145deg, #1a1a1a 0%, var(--black) 45%, var(--gray-800) 100%);
}

.blog-card__media--featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 20%, transparent 75%);
}

.blog-card__media--alt {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 45%),
    linear-gradient(165deg, var(--black) 0%, var(--gray-800) 100%);
}

.blog-card__media--news {
  background:
    radial-gradient(circle at 20% 80%, rgba(0, 0, 0, 0.06) 0%, transparent 50%),
    linear-gradient(135deg, var(--gray-100) 0%, var(--white) 45%, var(--gray-200) 100%);
}

.blog-card__media--news::after {
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.08) 100%);
  opacity: 1;
}

.blog-card__index {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
  user-select: none;
}

.blog-card__media-label {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 1;
  padding: 0.4rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.1rem, 2vw, 1.5rem);
}

.blog-card--featured .blog-card__body {
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  color: var(--gray-600);
}

.blog-card__meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gray-400);
  flex-shrink: 0;
}

.blog-card__category {
  padding: 0;
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  text-transform: none;
  letter-spacing: normal;
}

.blog-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  transition: color 0.25s var(--ease);
}

.blog-card__link:hover .blog-card__title {
  color: var(--gray-800);
}

.blog-card--featured .blog-card__title {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.blog-card__excerpt {
  flex: 1;
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--gray-600);
}

.blog-card--featured .blog-card__excerpt {
  font-size: 0.9375rem;
  max-width: 52ch;
  margin-bottom: 1rem;
}

.blog-card__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.blog-card__action-text {
  font-size: 0.875rem;
  font-weight: 600;
}

.blog-card__action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 1rem;
  line-height: 1;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  transition:
    transform 0.3s var(--ease),
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

/* CTA band */
.cta-band {
  padding: 5rem 0;
  text-align: center;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.cta-band__inner {
  max-width: 640px;
}

.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-band p {
  color: var(--gray-600);
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}

/* Contact */
.contact {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 9vw, 7rem);
  background:
    linear-gradient(165deg, #243347 0%, #1c2838 38%, #161d2a 100%);
  color: rgba(255, 255, 255, 0.92);
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black 0%, transparent 85%);
}

.contact__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 8% 15%, rgba(37, 99, 235, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 35% 30% at 95% 75%, rgba(37, 99, 235, 0.12) 0%, transparent 50%);
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 480px);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.contact__header {
  margin: 0 0 clamp(2rem, 3.5vw, 2.75rem);
  padding: 0;
  border: none;
  text-align: left;
}

.contact__header .section__title {
  margin-bottom: 1rem;
}

.contact__header .section__title,
.contact__header .section__lead {
  text-align: left;
  max-width: 36ch;
}

.contact__header .section__lead--light {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.contact__media {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.3);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 20px 40px -24px rgba(0, 0, 0, 0.5);
  aspect-ratio: 21 / 9;
  min-height: 168px;
}

.contact__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.85) contrast(1.08) brightness(0.92);
}

.contact__map-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--heading-color);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.35);
}

.contact__map-label svg {
  color: var(--accent);
  flex-shrink: 0;
}

.contact__details {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
}

.contact__card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0;
  background: none;
  border: none;
}

.contact__card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.55);
}

.contact__card-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.contact__card-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.contact__card-value {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.96);
  word-break: break-word;
}

a.contact__card-value {
  transition: color 0.2s var(--ease);
}

a.contact__card-value:hover {
  color: #93c5fd;
}

.contact__form {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: calc(var(--radius-lg) + 4px);
  padding: clamp(1.85rem, 3vw, 2.35rem);
  box-shadow: 0 32px 64px -28px rgba(0, 0, 0, 0.45);
}

.contact__form-head {
  margin-bottom: 1.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.contact__form-title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.625rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--heading-color);
  margin-bottom: 0;
}

.contact__form-fields {
  position: relative;
  flex: 1;
}

.contact__form-row--half {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1rem;
}

.contact__form .form-row {
  margin-bottom: 1.1rem;
}

.contact__form .form-row label {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.contact__form .form-row input,
.contact__form .form-row textarea {
  padding: 0.95rem 1rem;
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.42);
  border-radius: 10px;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.contact__form .form-row input::placeholder,
.contact__form .form-row textarea::placeholder {
  color: var(--gray-400);
}

.contact__form .form-row input:focus,
.contact__form .form-row textarea:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.contact__submit {
  margin-top: 0.5rem;
  gap: 0.65rem;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  padding: 1.05rem 1.5rem;
  border-radius: 999px;
  box-shadow: 0 12px 28px -10px rgba(37, 99, 235, 0.55);
}

.contact__submit:hover {
  background: var(--accent-hover);
  box-shadow: 0 16px 32px -10px rgba(37, 99, 235, 0.65);
}

.contact__form .form-note {
  margin-top: 1rem;
  text-align: center;
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font: inherit;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  min-height: 1.25rem;
}

.form-note.is-success {
  color: var(--black);
  font-weight: 500;
}

.form-note.is-error {
  color: #b42318;
  font-weight: 500;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact__submit:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.contact__submit.is-loading {
  pointer-events: none;
}

/* Footer */
.footer {
  background: #212121;
  color: var(--white);
  padding: clamp(3.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 2.5rem);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 2.75rem);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto auto;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  column-gap: clamp(0.75rem, 1.5vw, 1.25rem);
  align-items: start;
}

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

.footer__logo {
  display: inline-flex;
  margin-bottom: 1rem;
}

.footer__logo-img {
  display: block;
  height: clamp(22px, 2.8vw, 28px);
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer__tagline {
  margin: 0 0 1.25rem;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.625rem;
  height: 2.625rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: var(--white);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.footer__social svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer__social:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.footer__contact-col {
  display: flex;
  align-items: flex-start;
}

.footer__contact,
.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__contact a {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s var(--ease);
}

.footer__contact a:hover {
  color: var(--white);
}

.footer__nav {
  justify-self: start;
  width: auto;
  min-width: 10.5rem;
  padding-left: clamp(0.85rem, 1.75vw, 1.5rem);
}

.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s var(--ease);
}

.footer__link:hover {
  color: var(--white);
}

.footer__link-arrow {
  flex-shrink: 0;
  opacity: 0.9;
}

.footer__bottom {
  padding-top: clamp(1.75rem, 3vw, 2.25rem);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
}

.footer__bottom p {
  margin: 0;
}

.footer__cnpj {
  color: rgba(255, 255, 255, 0.45);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* Responsive */
@media (max-width: 1024px) {
  .hero__title {
    max-width: 15ch;
  }

  .hero__lead {
    max-width: 47ch;
  }

  .service-explorer__layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .service-explorer__nav-col {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem;
  }

  .service-explorer__nav {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .service-explorer__nav::-webkit-scrollbar {
    display: none;
  }

  .service-explorer__tab {
    flex: 0 0 auto;
    min-width: max(11rem, 42vw);
    padding: 0.75rem 1rem;
  }

  .service-explorer__tab::before {
    top: auto;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    transform: translateX(-50%);
    border-radius: 2px 2px 0 0;
  }

  .service-explorer__tab.is-active::before {
    width: 40%;
    height: 3px;
  }

  .service-explorer__tab-arrow {
    display: none;
  }

  .service-explorer__panels {
    padding: 1.25rem 1rem 1.5rem;
  }

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

  .testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 36rem;
    margin-inline: auto;
  }

  .diagnostic__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .diagnostic__step:nth-child(2)::after {
    display: none;
  }

  .cards--3,
  .services__grid {
    grid-template-columns: 1fr;
  }

  .blog__header {
    gap: 1.5rem;
  }

  .blog__header-aside {
    align-items: center;
    text-align: center;
  }

  .blog__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .blog-card--featured,
  .blog-card:nth-child(2),
  .blog-card:nth-child(3) {
    grid-column: 1;
    grid-row: auto;
  }

  .blog-card--featured .blog-card__media {
    flex: none;
    aspect-ratio: 16 / 9;
    min-height: auto;
  }

  .blog__grid > .blog-card:not(.blog-card--featured) .blog-card__link {
    grid-template-columns: 1fr;
  }

  .blog__grid > .blog-card:not(.blog-card--featured) .blog-card__media {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
  }

  .blog__grid > .blog-card:not(.blog-card--featured) .blog-card__body {
    padding: 1rem 1.15rem;
  }

  .blog__grid > .blog-card:not(.blog-card--featured) .blog-card__excerpt {
    display: block;
    -webkit-line-clamp: unset;
  }

  .blog__grid > .blog-card:not(.blog-card--featured) .blog-card__action {
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-200);
  }

  .contact__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact__form {
    position: static;
  }

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

  .contact__map {
    aspect-ratio: 21 / 9;
    min-height: 150px;
  }

  .contact__form-row--half {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

@media (max-width: 1200px) and (min-width: 993px) {
  .nav__list {
    gap: 0.85rem;
  }

  .nav__list a {
    font-size: 0.875rem;
  }

  .header .btn--sm {
    padding: 0.6rem 1.1rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 992px) {
  .header__inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
  }

  .nav {
    position: fixed;
    inset: 0;
    top: var(--header-h);
    background: var(--white);
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    justify-self: auto;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .nav__list a {
    font-size: 1.125rem;
    white-space: normal;
  }

  .menu-toggle {
    display: flex;
  }

  .header__actions .btn--primary {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav__list {
    gap: 1.5rem;
  }

  .nav__list a {
    color: var(--black);
    font-size: 1.25rem;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__nav {
    justify-self: start;
    min-width: 0;
  }

  .testimonials__clients {
    padding: 2.5rem 0;
  }

  .clients-marquee-wrapper::before,
  .clients-marquee-wrapper::after {
    width: 2.5rem;
  }

  .clients-track {
    gap: 1rem;
  }

  .client-logo {
    padding: 0 0.25rem;
  }

  .section {
    padding: 4rem 0;
  }

  .diagnostic__steps {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 400px;
    margin-inline: auto;
  }

  .diagnostic__step:not(:last-child)::after {
    display: none;
  }

  .hero--fullscreen {
    height: auto;
    min-height: 100svh;
  }

  .hero__inner {
    padding-bottom: 3rem;
  }

  .hero__title {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero--fullscreen .reveal {
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .clients-marquee {
    animation-duration: 60s;
  }

  .service-explorer__panel {
    animation: none;
  }
}

/* Blog — listagem completa (vários cards) */
.blog--index .blog__grid--index {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  grid-template-rows: none;
  gap: 1.25rem;
  min-height: 0;
  align-items: stretch;
}

.blog--index .blog-card {
  min-height: 0;
}

.blog--index .blog-card--featured {
  grid-column: auto;
  grid-row: auto;
}

.blog--index .blog-card:nth-child(n) {
  grid-column: auto;
  grid-row: auto;
}

.blog--index .blog__grid > .blog-card .blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog--index .blog__grid > .blog-card:not(.blog-card--featured) .blog-card__link {
  display: flex;
  flex-direction: column;
}

.blog--index .blog__grid > .blog-card:not(.blog-card--featured) .blog-card__media {
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 10rem;
  max-height: 14rem;
}

.blog--index .blog__grid > .blog-card .blog-card__excerpt {
  -webkit-line-clamp: 4;
}

.blog-index-page .grid-bg {
  opacity: 0.5;
}

.section.blog.blog--index {
  padding-top: calc(var(--header-h) + clamp(1.75rem, 4vw, 2.75rem));
}

/* Artigos (blog) */
body.article-page {
  padding-top: var(--header-h);
  background: var(--white);
}

.article-layout {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.article-hero {
  position: relative;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.article-hero__intro {
  padding: clamp(0.5rem, 2vw, 1rem) 0 clamp(1.25rem, 3vw, 2rem);
}

.article-hero__headline {
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
}

.article-hero__headline .article__eyebrow {
  display: inline-block;
  margin-bottom: 0.65rem;
}

.article-hero__headline .article__title {
  margin-bottom: 0.65rem;
}

.article-hero__headline .article__date {
  margin-bottom: 0;
}

.article-hero__cover {
  position: relative;
  width: 90%;
  max-width: 100%;
  margin-inline: auto;
  max-height: min(75vh, 640px);
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.article-hero__img {
  width: 100%;
  height: min(75vh, 640px);
  object-fit: cover;
  display: block;
}

.article-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.25) 0%, rgba(10, 10, 10, 0.55) 100%);
  pointer-events: none;
}

.article-wrap {
  max-width: 720px;
}

.article-prose {
  color: var(--heading-color);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.article__eyebrow {
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.article__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: var(--heading-color);
}

.article__date {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.article-prose p {
  margin: 0 0 1.25rem;
  color: var(--gray-800);
}

.article-prose strong {
  color: var(--heading-color);
}

.article__h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 600;
  margin: 2.25rem 0 1rem;
  letter-spacing: -0.02em;
  color: var(--heading-color);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.article__h2--minor {
  font-size: 1.35rem;
}

.article__h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.75rem 0 0.65rem;
  color: var(--heading-color);
}

.article__h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: var(--heading-color);
}

.article-prose ul,
.article-prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.75rem;
  color: var(--gray-800);
  list-style-position: outside;
}

.article-prose ul {
  list-style-type: disc;
}

.article-prose ol {
  list-style-type: decimal;
}

.article-prose ul > li,
.article-prose ol > li {
  display: list-item;
  margin-bottom: 0.35rem;
  padding-left: 0.25rem;
}

.article-prose .article__list--tab {
  margin-left: 1.75rem;
  padding-left: 1.5rem;
}

.article__tip,
.article__warn {
  margin: 1.75rem 0;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
}

.article__warn {
  border-left-color: #f59e0b;
  background: #fffbeb;
}

.article__tip p:last-child,
.article__warn p:last-child {
  margin-bottom: 0;
}

.article__callout {
  margin: 1.25rem 0;
  font-size: 0.9375rem;
}

.article__faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-200);
}

.article__faq-q {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--heading-color);
}

.article__faq-a {
  margin: 0;
  color: var(--gray-800);
}

.article__toc {
  margin: 0 0 2rem 1.25rem;
  padding: 0;
  color: var(--gray-800);
}

.article__toc li {
  margin-bottom: 0.35rem;
}

.article__pager {
  margin: 3rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.article__pager--prev-only {
  display: flex;
  justify-content: flex-start;
}

/* Páginas legais */
body.legal-page .article-hero--legal {
  margin-bottom: 0;
}

body.legal-page .article-hero__intro {
  padding: clamp(1.5rem, 4vw, 2.75rem) 0 clamp(1rem, 2.5vw, 1.5rem);
}

body.legal-page .legal-prose {
  max-width: 46rem;
}

body.legal-page .article__h2 {
  font-size: clamp(1.125rem, 2.2vw, 1.35rem);
  margin-top: 2.25rem;
}

.legal-pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.article__pager-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.article__pager-link:hover {
  color: var(--accent-dark, #0d6b4d);
}

.article__pager-link--next {
  margin-left: auto;
}

@media (max-width: 768px) {
  .article-hero__img,
  .article-hero__cover {
    max-height: min(52vh, 420px);
    height: min(50vh, 400px);
  }
}

/* Botão flutuante WhatsApp */
.whatsapp-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.18),
    0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow:
    0 8px 24px rgba(37, 211, 102, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.12);
}

.whatsapp-float:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.whatsapp-float img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sobre nós */
body.about-page {
  background: var(--white);
}

.about-hero {
  position: relative;
  min-height: clamp(28rem, 72vh, 40rem);
  color: var(--white);
  overflow: hidden;
}

.about-hero__cover {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-hero__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(18%) contrast(1.05);
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    -150deg,
    rgba(10, 10, 10, 0.82) 0%,
    rgba(10, 10, 10, 0.52) 50%,
    rgba(10, 10, 10, 0.28) 100%
  );
}

.about-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: clamp(28rem, 72vh, 40rem);
  padding: calc(var(--header-h) + 2.5rem) 0 5rem;
}

.about-hero__content {
  max-width: 44rem;
}

.about-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  text-shadow: 0 0 80px rgba(0, 0, 0, 0.45);
}

.about-hero__lead {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.75rem;
  max-width: 52ch;
}

.about-stats {
  position: relative;
  z-index: 2;
  margin-top: -3rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.12);
}

.about-stat {
  text-align: center;
  padding: 0.75rem 0.5rem;
  border-right: 1px solid var(--gray-200);
}

.about-stat:last-child {
  border-right: none;
}

.about-stat__value {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1;
  color: var(--heading-color);
  margin-bottom: 0.35rem;
}

.about-stat__unit {
  font-size: 0.65em;
  font-weight: 600;
}

.about-stat__label {
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.35;
  margin: 0;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.about-split--reverse .about-split__content {
  order: 2;
}

.about-split--reverse .about-split__media {
  order: 1;
}

.about-split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.12);
}

.about-split__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-prose {
  display: grid;
  gap: 1rem;
}

.about-prose p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-600);
}

.about-history .section__title,
.about-location .section__title {
  margin-bottom: 1.25rem;
}

.about-specialties .section__header {
  margin-bottom: 2rem;
}

.about-specialties__banner {
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.about-specialties__banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 22rem;
  object-fit: cover;
}

.about-cards {
  margin-top: 0.5rem;
}

.about-card__title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--heading-color);
  margin-bottom: 0.65rem;
}

.about-card .card__text {
  margin-bottom: 0;
}

.about-testimonials .section__header {
  margin-bottom: 2.5rem;
}

.about-clients-note {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.about-segments__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.about-segment {
  padding: 0.85rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--heading-color);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.about-segment:hover {
  background: var(--white);
  border-color: var(--black);
}

.about-segments__note {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-600);
}

.about-segments__cta {
  margin-top: 2rem;
  text-align: center;
}

.about-location {
  background: var(--gray-50);
}

.about-location__sub {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem;
  color: var(--heading-color);
}

.about-cta-band {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  background: var(--black);
  color: var(--white);
}

.about-cta-band__inner {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.about-cta-band__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.about-cta-band__lead {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.75rem;
}

.about-page .contact__layout {
  grid-template-columns: 1fr 1fr;
}

.about-page .contact__details {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.about-page .contact__card-body {
  gap: 0.35rem;
}

.about-page .contact__card-label {
  font-size: 0.6875rem;
}

.about-page .contact__card-value {
  font-size: 1rem;
}

@media (max-width: 992px) {
  .about-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stat:nth-child(2) {
    border-right: none;
  }

  .about-stat:nth-child(1),
  .about-stat:nth-child(2) {
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 1rem;
  }

  .about-stat:nth-child(3),
  .about-stat:nth-child(4) {
    padding-top: 0.5rem;
  }

  .about-split,
  .about-split--reverse .about-split__content,
  .about-split--reverse .about-split__media {
    grid-template-columns: 1fr;
    order: unset;
  }

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

@media (max-width: 768px) {
  .about-stats {
    margin-top: -2rem;
  }

  .about-stats__grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0.5rem;
  }

  .about-stat {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem;
  }

  .about-stat:last-child {
    border-bottom: none;
  }

  .about-stat:nth-child(1),
  .about-stat:nth-child(2),
  .about-stat:nth-child(3),
  .about-stat:nth-child(4) {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .about-segments__grid {
    grid-template-columns: 1fr;
  }

  .about-page .contact__layout {
    grid-template-columns: 1fr;
  }
}
