@font-face {
  font-family: MarsDisplay;
  src: url('./caprasimo.ttf') format('truetype');
  font-display: swap;
  font-weight: 400;
}
.mds-home-services {
  padding: 50px 0 34px;
  border-top: 1px solid #dfc9bf;
  margin-top: 35px;
  color: #211713;
  font-family: Arial, Helvetica, sans-serif;
}
.mds-home-services-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 28px;
}
.company-section .mds-home-services h2 { font-size: clamp(30px, 3.5vw, 46px); color: #a9382c; line-height: 1.15; }
.company-section .mds-home-services p { font-size: 17px; line-height: 1.65; max-width: 48ch; }
.mds-service-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 30px; }
.mds-service-links a { min-height: 64px; padding: 18px 0; border-top: 1px solid #d7bdb2; display: flex; align-items: center; font-size: 16px; color: #8e3025; text-decoration: none; line-height: 1.4; overflow-wrap: anywhere; }
.mds-service-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.mds-page { margin: 0; background: #fffaf5; color: #291d18; font: 17px/1.65 Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
.mds-page *, .mds-page *::before, .mds-page *::after { box-sizing: border-box; }
.mds-page :is(header, nav, section, article, div, li, a, p, h1, h2, h3, details, summary) { min-width: 0; }
.mds-page img { max-width: 100%; height: auto; }
.mds-page a { color: inherit; text-underline-offset: 5px; }
.mds-page :is(h1, h2, h3, p) { margin: 0; overflow-wrap: break-word; }
.mds-page h1, .mds-page h2 { font-family: MarsDisplay, Georgia, serif; font-weight: 400; letter-spacing: -.035em; line-height: 1.15; }
.mds-page h3 { font-size: 21px; line-height: 1.35; letter-spacing: -.015em; }
.mds-wrap { width: calc(100% - 96px); max-width: 1160px; margin-inline: auto; }
.mds-skip { position: absolute; z-index: 50; top: -80px; left: 20px; background: #fff; color: #451d15; padding: 10px; }
.mds-skip:focus { top: 12px; }
.mds-page :is(a, summary):focus-visible, .mds-home-services a:focus-visible { outline: 3px solid #c45a41; outline-offset: 6px; }
.mds-header { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 26px max(48px, calc((100% - 1160px)/2)); background: #fffaf5; border-bottom: 1px solid #e8d9cc; }
.mds-brand { display: block; width: 210px; flex-shrink: 0; }
.mds-brand img { display: block; width: 100%; height: auto; }
.mds-header nav { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.mds-header nav a { text-decoration: none; }
.mds-header nav a:hover { text-decoration: underline; }
.mds-header-contact { border-bottom: 1px solid #b74d34; padding-block: 5px; }
.mds-hero { background: #602c20; color: #fff1da; padding: 30px 0 60px; }
.mds-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; color: #e3c4ae; font-size: 12px; margin-bottom: 50px; }
.mds-breadcrumb a { text-decoration: none; }
.mds-breadcrumb a:hover { text-decoration: underline; }
.mds-hero h1 { max-width: 1000px; font-size: clamp(42px, 6.1vw, 80px); text-wrap: balance; }
.mds-hero-bottom { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start; gap: 48px; margin-top: 32px; }
.mds-hero-bottom p { max-width: 64ch; font-size: 18px; line-height: 1.7; color: #ead0bd; }
.mds-button { display: inline-block; padding: 15px 24px; min-height: 52px; max-width: 100%; border: 1px solid transparent; border-radius: 8px; text-decoration: none; font-size: 15px; line-height: 1.5; text-align: center; white-space: normal; overflow-wrap: anywhere; }
.mds-button-light { justify-self: end; background: #fff1da; color: #652e23 !important; }
.mds-button-light:hover { background: #ffe4bf; }
.mds-section { padding-block: 68px; }
.mds-section-heading { margin-bottom: 32px; }
.mds-section-heading h2, .mds-fit h2, .mds-faq h2, .mds-cta h2 { font-size: clamp(30px, 3.5vw, 46px); color: #ad3a2a; max-width: 24ch; }
.mds-fit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; align-items: start; }
.mds-fit p { color: #625048; }
.mds-deliverables { background: #f1e8de; padding: 62px 0; }
.mds-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 64px; }
.mds-detail-grid article { border-top: 1px solid #d2bba9; padding: 23px 0 0; }
.mds-detail-grid h3 { margin-bottom: 10px; }
.mds-detail-grid p, .mds-process p { color: #67544a; font-size: 16px; line-height: 1.7; }
.mds-process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.mds-process li { padding-top: 23px; border-top: 1px solid #d9c5b6; }
.mds-process h3 { margin-bottom: 12px; }
.mds-faq { background: #f6ede7; padding: 62px 0; }
.mds-faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 64px; }
.mds-faq details { border-bottom: 1px solid #d5bfb0; padding: 19px 0; }
.mds-faq details:first-child { border-top: 1px solid #d5bfb0; }
.mds-faq summary { cursor: pointer; font-size: 17px; font-weight: 600; line-height: 1.5; padding-left: 2px; }
.mds-faq details p { font-size: 16px; color: #705b50; line-height: 1.75; margin-top: 13px; }
.mds-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.mds-related a { padding: 20px 0; border-top: 1px solid #d3b9a7; font-size: 18px; line-height: 1.5; }
.mds-cta { padding-block: 64px 72px; border-top: 1px solid #ddc8b9; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; align-items: start; }
.mds-contact-details { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.mds-contact-details p { color: #6d5549; max-width: 48ch; }
.mds-email { display: inline; max-width: 100%; font-size: clamp(17px, 2.1vw, 24px); line-height: 1.5; overflow-wrap: anywhere; word-break: normal; }
.mds-contact-details .mds-service-area { font-size: 15px; color: #775f52; margin-top: 6px; }
.mds-footer { background: #52281f; color: #f8e7d2; padding: 48px 0 25px; }
.mds-footer-logo { display: block; max-width: 100%; margin-bottom: 34px; }
.mds-footer-logo img { display: block; width: 100%; height: auto; }
.mds-footer nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px 25px; margin-bottom: 34px; }
.mds-footer nav a { font-size: 14px; color: #dcbda5; text-decoration: none; }
.mds-footer nav a:hover { text-decoration: underline; }
.mds-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; border-top: 1px solid #986248; padding-top: 22px; font-size: 12px; color: #d5b5a0; }
.mds-service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 60px; }
.mds-service-list > a { display: block; padding: 28px 0; border-top: 1px solid #d7bcab; text-decoration: none; }
.mds-service-list h3 { font-size: 25px; color: #9d3627; margin-bottom: 12px; }
.mds-service-list p { font-size: 16px; color: #735b4e; }
.mds-service-list a:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 900px) {
  .mds-wrap { width: calc(100% - 64px); }
  .mds-header { padding: 24px 32px; }
  .mds-brand { width: 185px; }
  .mds-hero-bottom { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .mds-button-light { justify-self: start; }
  .mds-fit, .mds-faq-layout, .mds-cta { gap: 32px; }
  .mds-detail-grid { gap: 30px; }
  .mds-process { gap: 24px; }
  .mds-service-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .mds-fit, .mds-faq-layout, .mds-cta { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .mds-process { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .mds-faq h2 { max-width: 100%; }
}
@media (max-width: 600px) {
  .mds-wrap { width: calc(100% - 44px); }
  .mds-page { font-size: 16px; }
  .mds-header { padding: 21px 22px; flex-wrap: wrap; gap: 20px; }
  .mds-brand { width: 165px; }
  .mds-header nav { width: 100%; justify-content: space-between; gap: 18px; font-size: 14px; }
  .mds-breadcrumb { margin-bottom: 34px; font-size: 11px; }
  .mds-hero { padding: 25px 0 42px; }
  .mds-hero h1 { font-size: clamp(35px, 9.5vw, 52px); line-height: 1.18; }
  .mds-hero-bottom { margin-top: 25px; }
  .mds-hero-bottom p { font-size: 16px; }
  .mds-section { padding-block: 46px; }
  .mds-section-heading h2, .mds-fit h2, .mds-faq h2, .mds-cta h2 { font-size: 32px; }
  .mds-section-heading { margin-bottom: 25px; }
  .mds-deliverables, .mds-faq { padding-block: 44px; }
  .mds-detail-grid, .mds-related, .mds-service-list { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .mds-page h3 { font-size: 21px; }
  .mds-related { gap: 0; }
  .mds-cta { padding-block: 46px 50px; }
  .mds-contact-details { gap: 16px; }
  .mds-email { font-size: 18px; }
  .mds-button { font-size: 15px; padding: 14px 20px; }
  .mds-footer { padding-top: 32px; }
  .mds-footer nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 20px; }
  .mds-footer-bottom { gap: 14px; }
  .mds-service-list > a { padding: 23px 0; }
  .mds-home-services { padding: 34px 0 25px; margin-top: 24px; }
  .mds-home-services-intro { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 25px; }
  .company-section .mds-home-services h2 { font-size: 32px; }
  .company-section .mds-home-services p { font-size: 16px; }
  .mds-service-links { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .mds-service-links a { min-height: 60px; padding: 16px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mds-page *, .mds-home-services * { scroll-behavior: auto !important; transition: none !important; }
}

/* Client reviews: a static editorial layout, with every quote always available. */
.company-section .mds-reviews {
  padding: 60px 0 72px;
  border-top: 1px solid #dfc9bf;
  scroll-margin-top: 90px;
}
.company-section .mds-reviews,
.company-section .mds-reviews * { box-sizing: border-box; }
.company-section .mds-reviews h2 {
  margin: 0 0 32px;
  color: #ad3a2a;
  font-size: clamp(38px, 4.7vw, 64px);
  line-height: 1.1;
  letter-spacing: -.04em;
}
.mds-review-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px 56px;
}
.company-section .mds-review {
  min-width: 0;
  margin: 0;
  text-align: left;
}
.company-section .mds-review blockquote {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-style: normal;
  font-weight: 400;
  box-shadow: none;
}
.company-section .mds-review blockquote::before,
.company-section .mds-review blockquote::after { content: none; }
.company-section .mds-review blockquote p {
  margin: 0;
  font: 400 20px/1.65 Arial, Helvetica, sans-serif;
  letter-spacing: -.015em;
  text-wrap: pretty;
  overflow-wrap: break-word;
  color: inherit;
}
.company-section .mds-review figcaption {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  margin: 26px 0 0;
  padding: 0;
  text-align: left;
  font: 400 14px/1.55 Arial, Helvetica, sans-serif;
  color: #725448;
  overflow-wrap: anywhere;
}
.company-section .mds-review figcaption strong {
  color: #48281f;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}
.mds-review-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 72px;
  min-width: 0;
  margin-bottom: 25px;
}
.mds-review-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 158px;
  max-height: 72px;
  object-fit: contain;
}
.company-section .mds-review-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, .35fr) minmax(0, 1fr);
  gap: 0 48px;
  padding: 44px;
  border-radius: 16px;
  background: #602c20;
  color: #fff1da;
}
.mds-review-feature .mds-review-logo {
  grid-row: 1 / 3;
  align-self: center;
  justify-self: start;
  justify-content: center;
  width: 100%;
  max-width: 215px;
  height: auto;
  min-height: 100px;
  margin: 0;
  padding: 0;
  background: transparent;
}
.mds-review-feature .mds-review-logo img { max-width: 100%; max-height: 80px; }
.company-section .mds-review-feature blockquote p {
  font-size: clamp(22px, 2.35vw, 30px);
  line-height: 1.5;
  letter-spacing: -.025em;
}
.company-section .mds-review-feature figcaption { grid-column: 2; color: #ead0bd; }
.company-section .mds-review-feature figcaption strong { color: #fff1da; }
.company-section .mds-review-support {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-top: 28px;
  border-top: 1px solid #d7bdb2;
  color: #50372c;
}
@media (max-width: 900px) {
  .mds-review-layout { gap: 36px; }
  .company-section .mds-review-feature { padding: 32px; gap: 0 30px; }
  .mds-review-feature .mds-review-logo { padding: 0; min-height: 80px; }
}
@media (max-width: 700px) {
  .mds-review-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .company-section .mds-reviews { padding: 42px 0 48px; }
  .company-section .mds-reviews h2 { margin-bottom: 26px; font-size: clamp(36px, 8vw, 48px); }
  .company-section .mds-review-feature { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 28px; }
  .mds-review-feature .mds-review-logo { grid-row: auto; width: 180px; min-height: 68px; padding: 0; margin-bottom: 26px; }
  .company-section .mds-review-feature figcaption { grid-column: 1; }
  .company-section .mds-review-feature blockquote p { font-size: 23px; line-height: 1.5; }
  .company-section .mds-review-support { padding-top: 25px; }
  .company-section .mds-review-support blockquote p { font-size: 18px; line-height: 1.65; }
  .mds-review-support .mds-review-logo { height: 64px; margin-bottom: 20px; }
  .mds-review-support .mds-review-logo img { max-height: 64px; }
}
@media (max-width: 380px) {
  .company-section .mds-review-feature { padding: 23px; }
  .company-section .mds-review-feature blockquote p { font-size: 21px; }
}
@media (forced-colors: active) {
  .company-section .mds-review-feature { border: 1px solid CanvasText; }
}
