:root {
  --res-ink: #10213f;
  --res-ink-soft: #425268;
  --res-teal: #0d244c;
  --res-teal-2: #16656c;
  --res-moss: #42b05e;
  --res-coral: #42b05e;
  --res-gold: #c9973f;
  --res-sky: #e7f3ef;
  --res-surface: #f7f8f5;
  --res-white: #ffffff;
  --res-line: rgba(23, 32, 38, 0.12);
  --res-shadow: 0 22px 60px rgba(18, 63, 70, 0.14);
  --res-radius: 8px;
  --res-header-height: 78px;
}

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

body {
  background: var(--res-surface);
  color: var(--res-ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  text-rendering: optimizeLegibility;
}

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

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

p {
  color: var(--res-ink-soft);
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
  color: var(--res-ink);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: 4.75rem;
  max-width: 850px;
}

h2 {
  font-size: 2.75rem;
}

h3 {
  font-size: 1.25rem;
}

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

.container {
  margin-inline: auto;
  max-width: 1180px;
  padding-inline: 24px;
  width: 100%;
}

.narrow-content {
  max-width: 820px;
}

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

.skip-link:focus {
  background: var(--res-white);
  clip: auto;
  height: auto;
  left: 16px;
  padding: 10px 14px;
  top: 16px;
  width: auto;
  z-index: 1000;
}

.res-icon {
  display: inline-grid;
  flex: 0 0 auto;
  height: 1.05em;
  place-items: center;
  width: 1.05em;
}

.res-icon svg {
  display: block;
  height: 100%;
  width: 100%;
}

.btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.96rem;
  font-weight: 760;
  gap: 10px;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

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

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

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #369a51;
}

.btn--light {
  background: rgba(255, 255, 255, 0.92);
  color: var(--res-teal);
}

.btn--outline {
  border-color: var(--res-line);
  color: var(--res-teal);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--res-white);
}

.btn--small {
  min-height: 42px;
  padding: 10px 16px;
}

.text-link {
  align-items: center;
  color: var(--res-teal);
  display: inline-flex;
  font-weight: 780;
  gap: 8px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--res-coral);
}

.eyebrow {
  color: var(--res-coral);
  font-size: 0.8rem;
  font-weight: 840;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.site-header {
  background: rgba(246, 247, 244, 0.9);
  border-bottom: 1px solid rgba(23, 32, 38, 0.08);
  left: 0;
  position: sticky;
  right: 0;
  top: 0;
  transition: box-shadow 180ms ease, background 180ms ease;
  z-index: 100;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(23, 32, 38, 0.08);
}

.header__inner {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: auto 1fr auto;
  min-height: var(--res-header-height);
}

.site-brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  max-width: 220px;
  min-width: 0;
}

.site-brand .custom-logo {
  height: auto;
  max-height: 52px;
  max-width: 210px;
  object-fit: contain;
  width: auto;
}

.site-brand__mark {
  align-items: center;
  background: var(--res-teal);
  border-radius: 8px;
  color: var(--res-white);
  display: inline-flex;
  font-weight: 860;
  height: 44px;
  justify-content: center;
  min-width: 54px;
  padding-inline: 10px;
}

.site-brand__text {
  display: grid;
  line-height: 1.1;
  min-width: 0;
}

.site-brand__name {
  font-size: 1rem;
  font-weight: 840;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-brand__tagline {
  color: var(--res-ink-soft);
  font-size: 0.75rem;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  justify-self: end;
}

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

.primary-menu {
  align-items: center;
  display: flex;
  gap: 4px;
}

.primary-menu a {
  border-radius: 999px;
  color: var(--res-ink-soft);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 720;
  padding: 10px 13px;
}

.primary-menu a:hover,
.primary-menu a:focus-visible {
  background: rgba(18, 63, 70, 0.08);
  color: var(--res-teal);
}

.nav-toggle {
  align-items: center;
  background: var(--res-white);
  border: 1px solid var(--res-line);
  border-radius: 999px;
  color: var(--res-teal);
  cursor: pointer;
  display: none;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.nav-toggle__close {
  display: none;
}

.hero {
  background-image: linear-gradient(90deg, rgba(13, 36, 76, 0.94) 0%, rgba(13, 36, 76, 0.84) 38%, rgba(13, 36, 76, 0.18) 70%, rgba(13, 36, 76, 0.02) 100%), var(--hero-image);
  background-position: center;
  background-size: cover;
  min-height: 700px;
  overflow: hidden;
  position: relative;
}

.hero__content {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 700px;
  padding-bottom: 82px;
  padding-top: 94px;
}

.hero .eyebrow,
.hero h1,
.hero p {
  color: var(--res-white);
}

.hero .eyebrow {
  color: #c8f2d6;
}

.hero h1 {
  max-width: 680px;
}

.hero__lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  line-height: 1.72;
  margin-top: 22px;
  max-width: 650px;
}

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

.signal-band {
  margin-top: -52px;
  position: relative;
  z-index: 2;
}

.signal-band__grid {
  background: var(--res-white);
  border: 1px solid rgba(18, 63, 70, 0.12);
  border-radius: var(--res-radius);
  box-shadow: var(--res-shadow);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  padding: 0;
}

.signal-band__grid > div {
  background: var(--res-white);
  min-height: 142px;
  padding: 28px;
  transition: background 180ms ease, transform 180ms ease;
}

.signal-band__grid > div:hover {
  background: #fbfdfb;
}

.signal-band__icon {
  align-items: center;
  background: rgba(66, 176, 94, 0.12);
  border-radius: 999px;
  color: var(--res-coral);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  margin-bottom: 18px;
  width: 38px;
}

.signal-band__icon .res-icon {
  height: 18px;
  width: 18px;
}

.signal-band strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}

.signal-band p {
  font-size: 0.94rem;
  margin: 0;
}

.history-section {
  background: linear-gradient(180deg, var(--res-white) 0%, #f1faf5 100%);
  overflow: hidden;
  position: relative;
}

.history-section::before {
  background:
    radial-gradient(circle at 8% 16%, rgba(66, 176, 94, 0.13), transparent 30%),
    radial-gradient(circle at 94% 18%, rgba(13, 36, 76, 0.08), transparent 34%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.history-section .container {
  position: relative;
}

.history__header {
  border-left: 4px solid var(--res-coral);
  margin-bottom: 40px;
  max-width: 880px;
  padding-left: 24px;
}

.history__header p:not(.eyebrow) {
  color: #34465e;
  font-size: 1.08rem;
  line-height: 1.72;
  margin-top: 18px;
  max-width: 820px;
}

.history__grid {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
}

.history__timeline {
  background: var(--res-white);
  border: 1px solid rgba(13, 36, 76, 0.1);
  border-radius: var(--res-radius);
  box-shadow: 0 18px 46px rgba(13, 36, 76, 0.08);
  display: grid;
  padding: 30px;
}

.history-moment {
  display: grid;
  gap: 24px;
  grid-template-columns: 130px 1fr;
  padding-bottom: 26px;
}

.history-moment:not(:last-child) {
  border-bottom: 1px solid rgba(13, 36, 76, 0.1);
  margin-bottom: 26px;
}

.history-moment span {
  color: var(--res-coral);
  font-size: 0.82rem;
  font-weight: 860;
  text-transform: uppercase;
}

.history-moment p {
  color: var(--res-ink-soft);
  font-size: 1rem;
  margin: 0;
}

.history__impact {
  background: linear-gradient(150deg, var(--res-teal) 0%, #12305b 58%, #1b5a57 100%);
  border-radius: var(--res-radius);
  box-shadow: 0 24px 60px rgba(13, 36, 76, 0.18);
  color: var(--res-white);
  overflow: hidden;
  padding: 30px;
  position: relative;
}

.history__impact::after {
  background: rgba(66, 176, 94, 0.25);
  content: "";
  height: 4px;
  inset: 0 0 auto;
  position: absolute;
}

.history__stats {
  background: transparent;
  border: 0;
  display: grid;
  gap: 12px;
  padding: 0;
}

.history__impact h3 {
  color: var(--res-white);
  font-size: 1.45rem;
  margin-bottom: 20px;
}

.history-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--res-radius);
  padding: 20px;
}

.history-stat strong {
  color: var(--res-white);
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.history-stat span {
  color: #c8f2d6;
  display: block;
  font-weight: 820;
  margin-top: 7px;
}

.history-stat p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
  margin: 10px 0 0;
}

.history-values {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.value-card {
  background: var(--res-white);
  border: 1px solid var(--res-line);
  border-top: 3px solid var(--res-coral);
  border-radius: var(--res-radius);
  box-shadow: 0 16px 40px rgba(13, 36, 76, 0.07);
  min-height: 160px;
  padding: 24px;
}

.value-card h3 {
  color: var(--res-teal);
  margin-bottom: 10px;
}

.value-card p {
  margin: 0;
}

.section {
  padding-block: 104px;
}

#historia,
#servicos,
#metodo,
#conteudos,
#contato {
  scroll-margin-top: calc(var(--res-header-height) + 24px);
}

.section-heading {
  margin-bottom: 42px;
  max-width: 740px;
}

.section-heading p:last-child {
  font-size: 1.05rem;
  margin-top: 16px;
}

.section-heading--row {
  align-items: end;
  display: flex;
  justify-content: space-between;
  max-width: none;
}

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

.service-card,
.post-card,
.contact-card,
.empty-state {
  background: var(--res-white);
  border: 1px solid var(--res-line);
  border-radius: var(--res-radius);
}

.service-card {
  box-shadow: 0 12px 34px rgba(13, 36, 76, 0.05);
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 28px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card:hover {
  border-color: rgba(66, 176, 94, 0.3);
  box-shadow: 0 20px 48px rgba(13, 36, 76, 0.1);
  transform: translateY(-3px);
}

.service-card__icon {
  align-items: center;
  background: rgba(66, 176, 94, 0.12);
  border-radius: 8px;
  color: var(--res-coral);
  display: inline-flex;
  height: 52px;
  justify-content: center;
  margin-bottom: 24px;
  width: 52px;
}

.service-card__icon .res-icon {
  height: 24px;
  width: 24px;
}

.service-card h3 {
  margin-bottom: 14px;
}

.service-card p {
  flex: 1;
}

.services-carousel {
  overflow: hidden;
}

.services-carousel .section-heading {
  margin-bottom: 34px;
}

.services-carousel__viewport {
  margin-inline: -2px;
  overflow-x: auto;
  padding: 2px 2px 34px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.services-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.services-carousel__track.service-grid {
  display: flex;
  gap: 18px;
  grid-template-columns: none;
}

.services-carousel__slide {
  flex: 0 0 calc((100% - 54px) / 4);
  scroll-snap-align: start;
}

.carousel-controls {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.services-carousel.is-static .carousel-controls {
  display: none;
}

.carousel-button {
  align-items: center;
  background: var(--res-white);
  border: 1px solid var(--res-line);
  border-radius: 999px;
  color: var(--res-teal);
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  padding: 0;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
  width: 44px;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  background: var(--res-coral);
  border-color: var(--res-coral);
  color: var(--res-white);
  transform: translateY(-1px);
}

.carousel-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
}

.carousel-button--prev .res-icon {
  transform: rotate(180deg);
}

.about-band {
  background: var(--res-teal);
  color: var(--res-white);
  padding-block: 92px;
}

.about-band__grid {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
}

.about-band__media {
  border-radius: var(--res-radius);
  overflow: hidden;
}

.about-band__media img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center right;
}

.about-band h2,
.about-band p,
.about-band li {
  color: var(--res-white);
}

.about-band p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  margin-top: 18px;
}

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

.check-list li {
  align-items: center;
  display: flex;
  gap: 10px;
}

.check-list .res-icon {
  color: #c8f2d6;
  height: 18px;
  width: 18px;
}

.method {
  background: #ffffff;
}

.method__grid {
  align-items: start;
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
}

.section-heading--sticky {
  position: sticky;
  top: 118px;
}

.process-list {
  counter-reset: process;
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-list li {
  align-items: start;
  background: var(--res-surface);
  border: 1px solid var(--res-line);
  border-radius: var(--res-radius);
  display: grid;
  gap: 22px;
  grid-template-columns: auto 1fr;
  padding: 26px;
}

.process-list span {
  color: var(--res-coral);
  font-size: 0.86rem;
  font-weight: 860;
}

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

.process-list p {
  margin: 0;
}

.page-content-section {
  background: var(--res-sky);
  padding-block: 76px;
}

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

.post-card {
  overflow: hidden;
}

.post-card__media {
  background: var(--res-sky);
  display: block;
}

.post-card__media img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 240ms ease;
  width: 100%;
}

.post-card:hover .post-card__media img {
  transform: scale(1.025);
}

.post-card__body {
  padding: 24px;
}

.post-card__meta {
  color: var(--res-coral);
  font-size: 0.82rem;
  font-weight: 820;
  margin-bottom: 10px;
}

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

.post-card h3 a:hover,
.post-card h3 a:focus-visible {
  color: var(--res-teal);
}

.contact-band {
  background: linear-gradient(135deg, var(--res-teal) 0%, var(--res-teal-2) 56%, #245d51 100%);
  color: var(--res-white);
  padding-block: 98px;
}

.contact-band__grid {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
}

.contact-band h2,
.contact-band p,
.contact-band .eyebrow {
  color: var(--res-white);
}

.contact-band .eyebrow {
  color: #c8f2d6;
}

.contact-band p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.06rem;
  margin-top: 16px;
  max-width: 620px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.contact-card,
.contact-form-shell {
  background: var(--res-white);
  border-radius: var(--res-radius);
  color: var(--res-ink);
  padding: 30px;
}

.contact-card p {
  margin-top: 14px;
}

.contact-form-shell input,
.contact-form-shell textarea,
.contact-form-shell select,
.search-form input {
  border: 1px solid var(--res-line);
  border-radius: 8px;
  min-height: 46px;
  padding: 11px 13px;
  width: 100%;
}

.contact-form-shell textarea {
  min-height: 132px;
}

.contact-form-shell input[type='submit'],
.contact-form-shell button[type='submit'] {
  background: var(--res-teal);
  border: 0;
  border-radius: 999px;
  color: var(--res-white);
  cursor: pointer;
  font-weight: 780;
  padding: 13px 20px;
}

.ad-page {
  background: var(--res-white);
}

.ad-hero {
  background-image: linear-gradient(90deg, rgba(13, 36, 76, 0.96) 0%, rgba(13, 36, 76, 0.88) 48%, rgba(13, 36, 76, 0.34) 100%), var(--ad-hero-image);
  background-position: center;
  background-size: cover;
  color: var(--res-white);
  min-height: 680px;
  padding-block: 116px 96px;
}

.ad-hero__grid {
  align-items: end;
  display: grid;
  gap: 58px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
}

.ad-hero h1,
.ad-hero p,
.ad-hero .eyebrow {
  color: var(--res-white);
}

.ad-hero .eyebrow {
  color: #c8f2d6;
}

.ad-hero h1 {
  font-size: 4.2rem;
  max-width: 760px;
}

.ad-hero__lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.18rem;
  line-height: 1.72;
  margin-top: 22px;
  max-width: 680px;
}

.ad-hero__proof {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--res-radius);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.2);
  color: var(--res-ink);
  padding: 30px;
}

.ad-hero__proof > span,
.ad-benefit-card > span {
  align-items: center;
  background: rgba(66, 176, 94, 0.12);
  border-radius: 999px;
  color: var(--res-coral);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  margin-bottom: 20px;
  width: 42px;
}

.ad-hero__proof h2 {
  color: var(--res-teal);
  font-size: 1.42rem;
  margin-bottom: 12px;
}

.ad-hero__proof p {
  margin: 0;
}

.ad-benefits {
  background: var(--res-white);
}

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

.ad-benefit-card {
  background: #fbfdfb;
  border: 1px solid var(--res-line);
  border-radius: var(--res-radius);
  border-top: 3px solid var(--res-coral);
  min-height: 260px;
  padding: 30px;
}

.ad-benefit-card h2 {
  color: var(--res-teal);
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.ad-benefit-card p {
  margin: 0;
}

.ad-content {
  background: var(--res-sky);
}

.ad-content .entry-content {
  padding-block: 72px;
}

.ad-contact {
  background: linear-gradient(135deg, var(--res-teal) 0%, #174766 52%, #1f6b5e 100%);
  color: var(--res-white);
  padding-block: 92px;
}

.ad-contact__grid {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
}

.ad-contact h2,
.ad-contact p,
.ad-contact .eyebrow {
  color: var(--res-white);
}

.ad-contact .eyebrow {
  color: #c8f2d6;
}

.ad-contact h2 {
  font-size: 2.55rem;
  max-width: 720px;
}

.ad-contact p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.06rem;
  margin-top: 18px;
  max-width: 640px;
}

.ad-contact__actions {
  display: grid;
  gap: 12px;
  justify-self: end;
  width: min(100%, 430px);
}

.ad-contact__actions .btn--light {
  color: var(--res-teal);
}

.page-hero {
  background: linear-gradient(135deg, var(--res-teal), #1b5e62 62%, var(--res-moss));
  color: var(--res-white);
  padding-block: 112px 78px;
}

.page-hero--article {
  padding-block: 120px 84px;
}

.page-hero h1,
.page-hero p,
.page-hero .eyebrow {
  color: var(--res-white);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  max-width: 700px;
}

.entry-content {
  padding-block: 70px;
}

.entry-content > * {
  margin-bottom: 1.35rem;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 2rem;
}

.entry-content a {
  color: var(--res-teal);
  font-weight: 720;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content ul,
.entry-content ol {
  color: var(--res-ink-soft);
  padding-left: 1.25rem;
}

.featured-media {
  margin: -130px 0 44px;
}

.featured-media img {
  border-radius: var(--res-radius);
  box-shadow: var(--res-shadow);
  width: 100%;
}

.entry-footer {
  border-top: 1px solid var(--res-line);
  margin-top: 48px;
  padding-top: 22px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list a {
  background: var(--res-sky);
  border-radius: 999px;
  color: var(--res-teal);
  padding: 7px 12px;
  text-decoration: none;
}

.post-navigation {
  margin: 0 auto 80px;
  max-width: 920px;
  padding-inline: 24px;
}

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

.nav-links a {
  background: var(--res-white);
  border: 1px solid var(--res-line);
  border-radius: var(--res-radius);
  display: block;
  font-weight: 760;
  padding: 18px;
}

.nav-links span {
  color: var(--res-coral);
  display: block;
  font-size: 0.78rem;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.comments-area {
  padding-bottom: 80px;
}

.comment-list {
  list-style: none;
  margin: 28px 0;
  padding: 0;
}

.comment-list li {
  background: var(--res-white);
  border: 1px solid var(--res-line);
  border-radius: var(--res-radius);
  margin-bottom: 14px;
  padding: 20px;
}

.comment-form input,
.comment-form textarea {
  border: 1px solid var(--res-line);
  border-radius: 8px;
  display: block;
  margin-top: 6px;
  min-height: 46px;
  padding: 11px 13px;
  width: 100%;
}

.comment-form textarea {
  min-height: 150px;
}

.comment-form .submit {
  background: var(--res-teal);
  border: 0;
  border-radius: 999px;
  color: var(--res-white);
  cursor: pointer;
  font-weight: 780;
  padding: 13px 20px;
}

.search-form {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-top: 22px;
  max-width: 520px;
}

.search-form label {
  flex: 1;
}

.search-submit {
  align-items: center;
  background: var(--res-coral);
  border: 0;
  border-radius: 999px;
  color: var(--res-white);
  cursor: pointer;
  display: inline-flex;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.pagination,
.posts-navigation {
  margin-top: 42px;
}

.page-numbers {
  align-items: center;
  background: var(--res-white);
  border: 1px solid var(--res-line);
  border-radius: 999px;
  display: inline-flex;
  font-weight: 760;
  justify-content: center;
  margin-right: 6px;
  min-height: 40px;
  min-width: 40px;
  padding-inline: 12px;
}

.page-numbers.current {
  background: var(--res-teal);
  color: var(--res-white);
}

.empty-state {
  padding: 30px;
}

.site-footer {
  background: #0b1730;
  color: var(--res-white);
  padding-block: 64px 28px;
}

.footer__grid {
  display: grid;
  gap: 46px;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
}

.site-brand--footer .site-brand__mark {
  background: var(--res-coral);
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.68);
  margin-top: 20px;
  max-width: 420px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__social {
  margin-top: 24px;
}

.social-link {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
  width: 42px;
}

.social-link .res-icon {
  height: 20px;
  width: 20px;
}

.social-link:hover,
.social-link:focus-visible {
  background: var(--res-coral);
  border-color: var(--res-coral);
  color: var(--res-white);
  transform: translateY(-1px);
}

.footer__nav h2,
.footer__contact h2 {
  color: var(--res-white);
  font-size: 0.94rem;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.footer-menu {
  display: grid;
  gap: 10px;
}

.footer-menu a,
.footer__contact a,
.footer__bottom a {
  color: rgba(255, 255, 255, 0.76);
}

.footer-menu a:hover,
.footer__contact a:hover,
.footer__bottom a:hover {
  color: var(--res-white);
}

.footer__contact {
  display: grid;
  gap: 12px;
}

.footer__contact a {
  align-items: center;
  display: inline-flex;
  gap: 10px;
}

.footer__bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
}

.footer__bottom p {
  color: rgba(255, 255, 255, 0.58);
  margin: 0;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

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

  h2 {
    font-size: 2.25rem;
  }

  .header__inner {
    grid-template-columns: auto auto auto;
  }

  .site-nav {
    justify-self: center;
  }

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

  .services-carousel__slide {
    flex-basis: calc((100% - 18px) / 2);
  }

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

@media (max-width: 880px) {
  :root {
    --res-header-height: 64px;
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2rem;
  }

  .container {
    padding-inline: 18px;
  }

  body.nav-is-open {
    overflow: hidden;
  }

  body.nav-is-open::before {
    background: rgba(13, 36, 76, 0.34);
    content: "";
    inset: 0;
    position: fixed;
    z-index: 90;
  }

  .site-header {
    background: rgba(255, 255, 255, 0.96);
  }

  .header__inner {
    gap: 12px;
    grid-template-columns: 1fr auto;
    min-height: var(--res-header-height);
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    height: 40px;
    position: relative;
    width: 40px;
    z-index: 180;
  }

  .header__cta {
    display: none;
  }

  .site-nav {
    background: var(--res-white);
    border: 1px solid rgba(13, 36, 76, 0.1);
    border-radius: var(--res-radius);
    box-shadow: 0 24px 70px rgba(13, 36, 76, 0.2);
    display: block;
    left: max(16px, env(safe-area-inset-left));
    max-height: calc(100dvh - var(--res-header-height) - 28px);
    opacity: 0;
    overflow-y: auto;
    padding: 10px;
    pointer-events: none;
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    top: calc(var(--res-header-height) + 10px);
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    visibility: hidden;
    z-index: 170;
  }

  .nav-is-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .nav-is-open .nav-toggle__open {
    display: none;
  }

  .nav-is-open .nav-toggle__close {
    display: inline-grid;
  }

  .primary-menu {
    align-items: stretch;
    display: grid;
    gap: 2px;
  }

  .primary-menu a {
    align-items: center;
    border-radius: 8px;
    color: var(--res-teal);
    display: flex;
    font-size: 0.98rem;
    min-height: 48px;
    padding: 13px 14px;
  }

  .primary-menu a:hover,
  .primary-menu a:focus-visible {
    background: rgba(66, 176, 94, 0.1);
    color: var(--res-teal);
  }

  .hero {
    background-image: linear-gradient(180deg, rgba(13, 36, 76, 0.92), rgba(13, 36, 76, 0.78)), var(--hero-image);
    min-height: 620px;
  }

  .hero__content {
    min-height: 620px;
    padding-block: 76px 92px;
  }

  .hero__lead {
    font-size: 1.05rem;
  }

  .signal-band {
    margin-top: -36px;
  }

  .signal-band__grid,
  .history__grid,
  .about-band__grid,
  .method__grid,
  .contact-band__grid,
  .ad-hero__grid,
  .ad-benefits__grid,
  .ad-contact__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .ad-hero {
    background-image: linear-gradient(180deg, rgba(13, 36, 76, 0.95), rgba(13, 36, 76, 0.8)), var(--ad-hero-image);
    min-height: 0;
    padding-block: 84px 74px;
  }

  .ad-hero h1 {
    font-size: 3rem;
  }

  .ad-hero__proof,
  .ad-contact__actions {
    justify-self: start;
    width: 100%;
  }

  .signal-band__grid > div {
    min-height: 0;
  }

  .history__header {
    padding-left: 18px;
  }

  .history__impact,
  .history__timeline {
    padding: 24px;
  }

  .section {
    padding-block: 76px;
  }

  .section-heading--row {
    align-items: start;
    display: grid;
    gap: 18px;
  }

  .services-carousel .section-heading--row {
    grid-template-columns: 1fr auto;
  }

  .about-band {
    padding-block: 76px;
  }

  .section-heading--sticky {
    position: static;
  }

  .contact-band {
    padding-block: 76px;
  }

  .featured-media {
    margin-top: -90px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .site-brand__tagline {
    display: none;
  }

  .site-brand__name {
    max-width: 170px;
  }

  .site-brand {
    max-width: 172px;
  }

  .site-brand .custom-logo {
    max-height: 44px;
    max-width: 168px;
  }

  .hero {
    min-height: 600px;
  }

  .hero__content {
    min-height: 600px;
  }

  .hero__actions,
  .contact-links {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    white-space: normal;
    width: 100%;
  }

  .signal-band__grid,
  .history-values,
  .service-grid,
  .post-grid,
  .ad-benefits__grid,
  .nav-links {
    grid-template-columns: 1fr;
  }

  .ad-hero h1 {
    font-size: 2.28rem;
  }

  .ad-hero__lead {
    font-size: 1rem;
  }

  .ad-hero__proof,
  .ad-benefit-card {
    padding: 22px;
  }

  .ad-contact h2 {
    font-size: 1.7rem;
  }

  .history-moment {
    gap: 8px;
    grid-template-columns: 1fr;
  }

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

  .services-carousel .section-heading--row {
    grid-template-columns: 1fr;
  }

  .services-carousel__slide {
    flex-basis: min(88%, 340px);
  }

  .carousel-controls {
    justify-content: flex-start;
  }

  .process-list li {
    grid-template-columns: 1fr;
  }

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

  .contact-card,
  .contact-form-shell {
    padding: 22px;
  }

  .page-hero {
    padding-block: 86px 58px;
  }

  .entry-content {
    padding-block: 54px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
