:root {
  --navy-950: #0a1f2d;
  --navy-900: #102b3f;
  --navy-800: #173d57;
  --blue-600: #286985;
  --blue-100: #e5eff2;
  --copper: #c9855a;
  --copper-dark: #a8653f;
  --cream: #f7f4ee;
  --sand: #eee9df;
  --white: #ffffff;
  --ink: #18303e;
  --body: #536570;
  --line: #dce3e4;
  --shadow: 0 22px 60px rgba(10, 31, 45, 0.12);
  --container: 1180px;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--body);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(3.1rem, 6vw, 5.6rem);
}

h2 {
  margin-bottom: 1.35rem;
  font-size: clamp(2.3rem, 4vw, 3.75rem);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.55rem;
}

p {
  margin-bottom: 1.25rem;
}

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

.section {
  padding-block: 112px;
}

.section-tint {
  background: var(--cream);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy-950);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  color: var(--blue-600);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 27px;
  height: 2px;
  background: var(--copper);
  content: "";
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.78);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  line-height: 1.2;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--copper);
}

.button-primary:hover {
  background: var(--copper-dark);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.04);
}

.button-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

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

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

.button-light {
  color: var(--navy-900);
  background: var(--white);
}

.button-light:hover {
  color: var(--white);
  background: var(--copper);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-800);
  border-bottom: 1px solid var(--copper);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 2;
  transition: color 160ms ease, gap 160ms ease;
}

.text-link:hover {
  gap: 17px;
  color: var(--copper-dark);
}

/* Header */
.site-header {
  position: relative;
  z-index: 100;
  height: 82px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(16, 43, 63, 0.1);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-900);
}

.brand-mark {
  position: relative;
  display: grid;
  width: 41px;
  height: 41px;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1;
}

.brand-mark::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--copper);
  content: "";
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.27rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1;
}

.brand-name > span {
  font-weight: 400;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 33px;
}

.site-nav a {
  position: relative;
  color: #3d505b;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--copper);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a[aria-current="page"]:not(.nav-cta)::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav a[aria-current="page"] {
  color: var(--navy-900);
}

.nav-cta {
  min-width: 108px;
  padding: 11px 18px;
  color: var(--white) !important;
  background: var(--navy-900);
  border-radius: 2px;
  text-align: center;
  transition: background 160ms ease;
}

.nav-cta:hover,
.nav-cta[aria-current="page"] {
  background: var(--blue-600);
}

.nav-toggle {
  display: none;
  width: 45px;
  height: 45px;
  padding: 10px;
  border: 0;
  color: var(--navy-900);
  background: transparent;
  cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 6px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] > span:nth-child(2) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] > span:nth-child(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] > span:nth-child(4) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Home hero */
.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("/assets/images/team-collaboration.webp");
  background-position: center;
  background-size: cover;
}

.hero-media::after {
  background: linear-gradient(90deg, rgba(7, 27, 40, 0.97) 0%, rgba(7, 27, 40, 0.91) 34%, rgba(7, 27, 40, 0.32) 66%, rgba(7, 27, 40, 0.08) 100%);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 690px;
  align-items: center;
  padding-block: 80px 105px;
}

.hero-copy {
  width: min(630px, 58%);
}

.hero h1 {
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(3.45rem, 6vw, 5.85rem);
}

.hero-lead {
  max-width: 600px;
  margin-bottom: 35px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  line-height: 1.75;
}

.hero-accent {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 0;
  width: 23%;
  height: 7px;
  background: var(--copper);
}

.reveal {
  animation: rise-in 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Home sections */
.split-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 11%;
  align-items: start;
}

.split-intro h2 {
  margin-bottom: 0;
}

.intro-copy {
  padding-top: 41px;
}

.intro-copy p {
  margin-bottom: 27px;
  color: #495e69;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.38rem;
  line-height: 1.6;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12%;
  align-items: end;
  margin-bottom: 50px;
}

.section-heading h2 {
  max-width: 700px;
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 7px;
}

.section-heading.compact {
  margin-bottom: 58px;
}

.card-grid {
  display: grid;
  gap: 22px;
}

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

.service-card {
  position: relative;
  min-height: 340px;
  padding: 42px 36px 38px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(16, 43, 63, 0.07);
  box-shadow: 0 7px 26px rgba(15, 44, 61, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--copper);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.card-number {
  position: absolute;
  top: 24px;
  right: 27px;
  color: #9aabb3;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.line-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 44px;
  color: var(--blue-600);
}

.line-icon svg,
.contact-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.service-card p {
  margin-bottom: 0;
  color: #657680;
}

.centered-action {
  margin-top: 42px;
  text-align: center;
}

.media-split {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 9%;
  align-items: center;
}

.image-frame {
  position: relative;
  padding: 0 20px 20px 0;
}

.image-frame img {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.image-frame-tall img {
  aspect-ratio: 1 / 1.02;
  object-position: center;
}

.image-frame::before {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  width: 72%;
  height: 70%;
  background: var(--blue-100);
  content: "";
}

.image-corner {
  position: absolute;
  z-index: 3;
  top: -12px;
  left: -12px;
  width: 53px;
  height: 53px;
  border-top: 4px solid var(--copper);
  border-left: 4px solid var(--copper);
}

.content-panel p:not(.eyebrow) {
  margin-bottom: 20px;
  font-size: 1.03rem;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 29px 0 33px;
  padding: 0;
  color: var(--ink);
  list-style: none;
  font-size: 0.95rem;
  font-weight: 700;
}

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

.check-list span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: var(--copper-dark);
  background: #f4e8de;
  border-radius: 50%;
  font-size: 0.75rem;
}

.cta-band {
  padding-block: 76px;
  color: var(--white);
  background: var(--navy-800);
  border-left: 9px solid var(--copper);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.cta-inner h2 {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(2.1rem, 4vw, 3.35rem);
}

.cta-inner .button {
  flex: 0 0 auto;
}

/* Interior page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-900);
}

.page-hero::before,
.page-hero::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  content: "";
}

.page-hero::before {
  top: -245px;
  right: -80px;
  width: 530px;
  height: 530px;
}

.page-hero::after {
  right: 145px;
  bottom: -330px;
  width: 470px;
  height: 470px;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  padding-block: 100px 108px;
}

.page-hero-inner::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120px;
  height: 6px;
  background: var(--copper);
  content: "";
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 25px;
  color: var(--white);
  font-size: clamp(3rem, 5vw, 5rem);
}

.page-hero p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 1.14rem;
}

/* About */
.about-lead .content-panel {
  padding-block: 30px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #d3dcde;
  border-left: 1px solid #d3dcde;
}

.value-card {
  position: relative;
  min-height: 230px;
  padding: 40px 52px 40px 80px;
  border-right: 1px solid #d3dcde;
  border-bottom: 1px solid #d3dcde;
}

.value-card > span {
  position: absolute;
  top: 46px;
  left: 31px;
  color: var(--copper-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.value-card p {
  margin-bottom: 0;
}

.statement-section {
  overflow: hidden;
}

.statement-inner {
  position: relative;
  max-width: 950px;
  text-align: center;
}

.statement-mark {
  position: absolute;
  top: -93px;
  left: 50%;
  color: var(--blue-100);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12rem;
  line-height: 1;
  transform: translateX(-50%);
}

.statement-inner p {
  position: relative;
  margin-bottom: 0;
  color: var(--navy-800);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.35;
}

/* Services */
.detail-list {
  border-top: 1px solid var(--line);
}

.detail-item {
  display: grid;
  grid-template-columns: 70px 1fr 0.62fr;
  gap: 42px;
  padding-block: 48px;
  border-bottom: 1px solid var(--line);
}

.detail-number {
  padding-top: 7px;
  color: var(--copper-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.detail-copy h3 {
  font-size: 2rem;
}

.detail-copy p,
.detail-note p {
  margin-bottom: 0;
}

.detail-note {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.detail-note span {
  display: block;
  margin-bottom: 9px;
  color: var(--blue-600);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-note p {
  color: #6f7d84;
  font-size: 0.92rem;
}

.process-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 12%;
}

.process-intro {
  position: sticky;
  top: 45px;
  align-self: start;
}

.process-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-steps li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 25px;
  padding: 8px 0 38px;
}

.process-steps li + li {
  padding-top: 38px;
  border-top: 1px solid #d4ddde;
}

.process-steps li > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--white);
  background: var(--navy-800);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

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

.process-steps p {
  margin-bottom: 0;
}

/* Contact */
.contact-section {
  padding-block: 110px 125px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 12%;
}

.contact-intro h2 {
  font-size: clamp(2.35rem, 4vw, 3.5rem);
}

.contact-details {
  border-top: 1px solid var(--line);
}

.contact-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 25px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.contact-icon {
  width: 45px;
  height: 45px;
  padding: 8px;
  color: var(--blue-600);
  background: var(--blue-100);
  border-radius: 50%;
}

.contact-label {
  margin-bottom: 3px;
  color: #7c898f;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-value {
  margin-bottom: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.45;
}

.contact-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.contact-visual-image {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 29, 42, 0.2), rgba(9, 29, 42, 0.03)), url("/assets/images/team-collaboration.webp") center / cover no-repeat;
}

.contact-visual-card-wrap {
  position: relative;
  display: flex;
  min-height: 520px;
  align-items: center;
}

.contact-visual-card {
  width: min(520px, 50%);
  padding: 48px 50px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
}

.contact-visual-card h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

/* Footer */
.site-footer {
  color: #aebbc2;
  background: var(--navy-950);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 50px;
  align-items: center;
  padding-block: 60px;
}

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

.brand-footer .brand-mark {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-main > p {
  max-width: 380px;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
}

.footer-nav a {
  color: #dbe2e5;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-nav a:hover {
  color: var(--copper);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.75rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .section {
    padding-block: 88px;
  }

  .hero,
  .hero-inner {
    min-height: 630px;
  }

  .hero-copy {
    width: min(650px, 72%);
  }

  .hero-media::after {
    background: linear-gradient(90deg, rgba(7, 27, 40, 0.96) 0%, rgba(7, 27, 40, 0.85) 48%, rgba(7, 27, 40, 0.2) 100%);
  }

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

  .service-card:last-child {
    grid-column: 1 / -1;
    min-height: 290px;
  }

  .media-split {
    gap: 6%;
  }

  .detail-item {
    grid-template-columns: 50px 1fr;
  }

  .detail-note {
    grid-column: 2;
    padding: 0;
    border: 0;
  }

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

  .footer-main > p {
    grid-row: 2;
  }

  .footer-nav {
    justify-content: flex-end;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .site-header {
    height: 74px;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    right: 0;
    left: 0;
    display: none;
    height: calc(100vh - 74px);
    padding: 38px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
  }

  .site-nav[data-open] {
    display: flex;
  }

  .site-nav a {
    padding: 17px 10px;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
  }

  .site-nav a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 24px;
    padding: 16px 18px !important;
    border: 0 !important;
  }

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

  .hero-inner {
    align-items: flex-end;
    padding-block: 80px 68px;
  }

  .hero-media {
    background-position: 66% center;
  }

  .hero-media::after {
    background: linear-gradient(0deg, rgba(7, 27, 40, 0.97) 0%, rgba(7, 27, 40, 0.84) 58%, rgba(7, 27, 40, 0.32) 100%);
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(3rem, 13vw, 4.4rem);
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .split-intro,
  .section-heading,
  .media-split,
  .process-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .intro-copy {
    padding-top: 0;
  }

  .intro-copy p {
    font-size: 1.2rem;
  }

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

  .section-heading > p {
    margin-bottom: 0;
  }

  .three-up,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .service-card:last-child {
    grid-column: auto;
  }

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

  .media-split .content-panel {
    padding-top: 14px;
  }

  .about-lead .content-panel {
    padding-block: 15px 0;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 31px;
  }

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

  .page-hero h1 {
    font-size: clamp(2.7rem, 12vw, 4.2rem);
  }

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

  .process-intro {
    position: static;
  }

  .contact-section {
    padding-block: 84px;
  }

  .contact-visual,
  .contact-visual-card-wrap {
    min-height: 600px;
  }

  .contact-visual-card-wrap {
    align-items: flex-end;
    padding-bottom: 24px;
  }

  .contact-visual-card {
    width: 100%;
    padding: 36px 30px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 50px;
  }

  .footer-main > p {
    grid-row: auto;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .section {
    padding-block: 72px;
  }

  .button-row {
    flex-direction: column;
  }

  .button-row .button {
    width: 100%;
  }

  .service-card {
    padding: 36px 29px;
  }

  .value-card {
    padding: 36px 30px 36px 64px;
  }

  .value-card > span {
    top: 42px;
    left: 24px;
  }

  .detail-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 38px;
  }

  .detail-number,
  .detail-note {
    grid-column: 1;
  }

  .detail-note {
    padding-top: 10px;
  }

  .process-steps li {
    grid-template-columns: 48px 1fr;
    gap: 18px;
  }

  .process-steps li > span {
    width: 44px;
    height: 44px;
  }

  .contact-item {
    grid-template-columns: 49px 1fr;
    gap: 16px;
  }

  .contact-icon {
    width: 41px;
    height: 41px;
  }

  .contact-value {
    font-size: 1.2rem;
  }

  .footer-nav {
    flex-wrap: wrap;
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
