:root {
  --petrol: #073e4b;
  --petrol-deep: #042b35;
  --petrol-soft: #0d6170;
  --gold: #d99b28;
  --gold-deep: #b97612;
  --gold-pale: #f7e6bd;
  --aqua: #e9f8fa;
  --cream: #fbf8f1;
  --ink: #0c3440;
  --muted: #66757c;
  --line: rgba(7, 62, 75, 0.14);
  --shadow: 0 18px 45px rgba(5, 48, 58, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #fff;
  background: var(--petrol);
  transform: translateY(-160%);
}

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

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.mh-header {
  position: relative;
  z-index: 100;
  min-height: 158px;
  border-bottom: 1px solid rgba(7, 62, 75, 0.08);
  background: #fff;
}

.mh-header__inner {
  width: min(1600px, calc(100% - 72px));
  min-height: inherit;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
}

.mh-brand {
  width: 300px;
  height: 152px;
  display: grid;
  flex: 0 0 300px;
  place-items: center;
  overflow: hidden;
  text-decoration: none;
}

.mh-brand img {
  width: 228px;
  height: 152px;
  max-width: none;
  object-fit: contain;
  object-position: center;
  filter: saturate(1.08) contrast(1.05);
}

.mh-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  align-self: stretch;
  gap: 42px;
  margin-left: auto;
}

.mh-nav a {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.mh-nav a::after {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.mh-nav a:hover::after,
.mh-nav a.active::after {
  transform: scaleX(1);
}

.partner-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 25px;
  border-left: 1px solid var(--line);
}

.partner-mark img {
  width: 112px;
  height: 62px;
  object-fit: cover;
}

.partner-mark span {
  color: var(--petrol);
  font-size: 0.71rem;
  font-weight: 800;
  line-height: 1.2;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 50px;
  padding: 0 25px;
  border-radius: 12px;
  font-size: 0.79rem;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.button--header,
.button--primary {
  color: #fff;
  background: linear-gradient(135deg, #ecb442, #bd790e);
  box-shadow: 0 11px 24px rgba(185, 118, 18, 0.22);
}

.button--header {
  min-width: 220px;
  min-height: 56px;
  padding: 0 25px;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 9px;
  background: var(--cream);
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  display: block;
  margin: 5px 0;
  background: var(--petrol);
}

.hero {
  position: relative;
  min-height: 530px;
  display: grid;
  grid-template-columns: minmax(440px, 34%) minmax(350px, 28%) minmax(470px, 38%);
  overflow: hidden;
  background: var(--cream);
}

.hero__copy {
  position: relative;
  z-index: 3;
  min-height: 530px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 52px 4px 54px max(58px, calc((100vw - 1600px) / 2));
  background: #fff;
}

.hero__copy::after {
  position: absolute;
  z-index: -1;
  top: -10%;
  right: -105px;
  width: 210px;
  height: 120%;
  content: "";
  border-right: 2px solid rgba(217, 155, 40, 0.85);
  border-radius: 0 100% 100% 0 / 0 50% 50% 0;
  background: #fff;
}

.section-label {
  margin: 0 0 15px;
  color: var(--gold-deep);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  color: var(--petrol);
  font-family: var(--serif);
  font-size: clamp(4.15rem, 5.1vw, 5.7rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.88;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero h1 span:last-child {
  margin-top: 9px;
  color: var(--gold);
}

.hero__subtitle {
  margin: 20px 0 0;
  color: var(--petrol);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.1vw, 2.55rem);
  font-weight: 700;
  line-height: 1;
}

.gold-rule {
  width: 88px;
  height: 2px;
  margin: 19px 0 17px;
  background: var(--gold);
}

.hero__promise {
  margin: 0 0 25px;
  color: var(--petrol);
  font-family: var(--serif);
  font-size: 1.45rem;
}

.button--primary {
  min-height: 58px;
  padding: 0 30px;
  border-radius: 999px;
}

.button--primary span {
  font-size: 1.35rem;
}

.hero__photo {
  min-height: 530px;
  background-color: #f7f5f0;
  background-image: url("assets/homepage-reference-optimized.jpg");
  background-position: 43% 25%;
  background-repeat: no-repeat;
  background-size: auto 182%;
}

.hero__services {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  background: #f1f3f1;
}

.services-visual {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

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

.journey {
  position: relative;
  z-index: 5;
  margin-top: -18px;
  padding: 46px 28px 68px;
  border-radius: 50% 50% 0 0 / 35px 35px 0 0;
  background: #fff;
}

.journey__inner {
  width: min(1600px, 100%);
  margin: 0 auto;
  text-align: center;
}

.journey h2,
.site-structure h2,
.content-placeholders h2 {
  margin: 0;
  color: var(--petrol);
  font-family: var(--serif);
  font-size: clamp(2.65rem, 4.2vw, 4.55rem);
  line-height: 1;
}

.short-rule {
  width: 46px;
  height: 2px;
  display: block;
  margin: 15px auto 29px;
  background: var(--gold);
}

.journey__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(150px, 1fr));
  gap: 20px;
  padding: 6px 6px 20px 0;
  perspective: 1300px;
  transform-style: preserve-3d;
}

.journey-card {
  position: relative;
  isolation: isolate;
  min-height: 210px;
  padding: 28px 14px 19px;
  border: 1px solid rgba(7, 62, 75, 0.1);
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff 0%, #ffffff 60%, #f3f6f5 100%);
  box-shadow:
    inset 1px 1px 0 #ffffff,
    inset -1px -1px 0 rgba(7, 62, 75, 0.05),
    1px 2px 0 #f8faf9,
    3px 5px 0 #e8edec,
    6px 9px 0 #d7dfdd,
    11px 21px 30px rgba(4, 43, 53, 0.15);
  transform: translateY(-6px) translateZ(10px);
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.journey-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), transparent 34%),
    linear-gradient(315deg, rgba(7, 62, 75, 0.04), transparent 45%);
  pointer-events: none;
}

.journey-card:hover {
  z-index: 4;
  box-shadow:
    inset 1px 1px 0 #ffffff,
    inset -1px -1px 0 rgba(7, 62, 75, 0.04),
    1px 2px 0 #ffffff,
    4px 6px 0 #e5ebe9,
    8px 12px 0 #d2dcda,
    15px 30px 40px rgba(4, 43, 53, 0.21);
  transform: translateY(-13px) translateZ(28px);
}

.journey-card > .journey-icon,
.journey-card > h3,
.journey-card > p {
  position: relative;
  z-index: 1;
  transform: translateZ(7px);
}

.journey-card:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -19px;
  z-index: 2;
  content: "›";
  color: var(--gold-deep);
  font-size: 1.65rem;
  font-weight: 900;
  text-shadow: 0 2px 3px rgba(185, 118, 18, 0.2);
  transform: translateY(-50%);
}

.journey-card__number {
  position: absolute;
  top: -15px;
  left: 50%;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: linear-gradient(145deg, #efb43b, #c88210);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.6),
    0 3px 0 #aa6c0d,
    0 8px 13px rgba(185, 118, 18, 0.25);
  font-size: 0.77rem;
  font-weight: 900;
  transform: translateX(-50%);
}

.journey-icon {
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  overflow: visible;
}

.journey-icon img {
  width: 94px;
  height: 94px;
  display: block;
  object-fit: contain;
}

.journey-card h3 {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 11px 0 6px;
  font-family: var(--serif);
  font-size: 1.06rem;
  line-height: 1.05;
}

.journey-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.site-structure {
  width: min(1280px, calc(100% - 48px));
  display: grid;
  grid-template-columns: 0.8fr 1.15fr 0.75fr;
  gap: 22px;
  align-items: stretch;
  margin: 0 auto;
  padding: 95px 0;
}

.site-structure__heading {
  align-self: center;
  padding-right: 28px;
}

.site-structure__heading h2 {
  font-size: clamp(2.5rem, 3.6vw, 4rem);
}

.site-structure__heading > p:last-child,
.path-card__copy p,
.content-placeholders p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.path-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.path-card--active {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.path-card__image {
  min-height: 430px;
  overflow: hidden;
  background: var(--petrol-deep);
}

.path-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.path-card__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 34px;
}

.path-card__copy > span,
.content-placeholders article > span {
  color: var(--gold-deep);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.path-card h3 {
  margin: 12px 0 5px;
  color: var(--petrol);
  font-family: var(--serif);
  font-size: clamp(1.9rem, 2.7vw, 3rem);
  line-height: 1;
}

.path-card__copy a {
  margin-top: 16px;
  color: var(--gold-deep);
  font-size: 0.73rem;
  font-weight: 900;
  text-decoration: none;
}

.path-card--later {
  color: #fff;
  border-color: transparent;
  background:
    linear-gradient(145deg, rgba(4, 43, 53, 0.96), rgba(7, 62, 75, 0.92)),
    url("assets/immagine-acquisizioni-libro-optimized.jpg") center / cover;
}

.path-card__ribbon {
  position: absolute;
  z-index: 2;
  top: 30px;
  right: -48px;
  width: 205px;
  padding: 10px 16px;
  color: var(--petrol-deep);
  background: linear-gradient(135deg, #f5c55d, var(--gold));
  box-shadow: 0 9px 24px rgba(4, 43, 53, 0.24);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-align: center;
  transform: rotate(36deg);
}

.path-card--later h3,
.path-card--later .path-card__copy a {
  color: #fff;
}

.path-card--later .path-card__copy p {
  color: rgba(255, 255, 255, 0.72);
}

.start-steps {
  padding: 100px max(24px, calc((100vw - 1280px) / 2));
  background:
    radial-gradient(circle at 50% 0, rgba(209, 157, 54, 0.09), transparent 34%),
    var(--cream);
}

.start-steps__intro {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.start-steps__intro h2 {
  margin: 10px 0 12px;
  font-size: clamp(2.7rem, 4.6vw, 5rem);
}

.start-steps__intro > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.start-steps__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.start-steps__grid::before {
  position: absolute;
  top: 47px;
  right: 13%;
  left: 13%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(209, 157, 54, 0.65), transparent);
}

.start-step {
  position: relative;
  min-height: 260px;
  padding: 72px 34px 34px;
  overflow: hidden;
  border: 1px solid rgba(7, 62, 75, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.95),
    0 18px 44px rgba(4, 43, 53, 0.1);
}

.start-step__ghost {
  position: absolute;
  right: -42px;
  bottom: -62px;
  color: rgba(7, 62, 75, 0.035);
  font-family: var(--serif);
  font-size: 10rem;
  line-height: 1;
}

.start-step__number {
  position: absolute;
  top: 28px;
  left: 34px;
  z-index: 1;
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 800;
}

.start-step__number::after {
  position: absolute;
  top: 50%;
  left: calc(100% + 12px);
  width: 38px;
  height: 2px;
  content: "";
  background: var(--gold);
}

.start-step h3,
.start-step p {
  position: relative;
  z-index: 1;
}

.start-step h3 {
  max-width: 340px;
  margin: 0 0 14px;
  color: var(--petrol);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.1vw, 2.35rem);
  line-height: 1.05;
}

.start-step p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.65;
}

.about {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(48px, 7vw, 110px);
  padding: 110px max(28px, calc((100vw - 1280px) / 2));
  overflow: hidden;
  background: #fff;
}

.about::before {
  position: absolute;
  top: -160px;
  left: -150px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(209, 157, 54, 0.12), transparent 68%);
}

.about__heading,
.about__story {
  position: relative;
  z-index: 1;
}

.about__heading h2 {
  max-width: 590px;
  margin: 12px 0 34px;
  font-size: clamp(3rem, 5vw, 5.7rem);
  line-height: 0.94;
}

.about__anniversary {
  display: flex;
  align-items: center;
  gap: 18px;
  width: fit-content;
  padding-top: 22px;
  border-top: 1px solid rgba(209, 157, 54, 0.5);
}

.about__anniversary strong {
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 4.2rem;
  line-height: 0.8;
}

.about__anniversary span {
  color: var(--petrol);
  font-size: 0.69rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about__story {
  padding-top: 27px;
}

.about__story > p {
  max-width: 700px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

.about__story .about__lead {
  color: var(--petrol);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.1vw, 2.05rem);
  line-height: 1.32;
}

.about__partner {
  max-width: 700px;
  margin: 34px 0;
  padding: 28px 30px;
  color: #fff;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--petrol), var(--petrol-deep));
  box-shadow: 0 18px 40px rgba(4, 43, 53, 0.18);
}

.about__partner > span {
  display: block;
  margin-bottom: 7px;
  color: var(--gold-light);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.about__partner strong {
  font-family: var(--serif);
  font-size: 1.8rem;
}

.about__partner p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  line-height: 1.6;
}

.about__story .about__closing {
  max-width: 650px;
  margin: 0 0 27px;
  color: var(--petrol);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.35rem);
  line-height: 1.2;
}

.about__story .button {
  color: #fff;
}

.content-placeholders {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
}

.content-placeholders article {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 60px max(40px, calc((100vw - 1280px) / 2));
  background: var(--cream);
}

.content-placeholders h2 {
  margin-top: 10px;
  font-size: clamp(2.5rem, 3.5vw, 3.9rem);
}

.content-placeholders p {
  max-width: 540px;
}

.contact {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
  padding: 110px max(28px, calc((100vw - 1280px) / 2));
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(209, 157, 54, 0.16), transparent 28%),
    linear-gradient(145deg, var(--petrol), var(--petrol-deep));
}

.contact .section-label {
  color: var(--gold-light);
}

.contact__intro h2 {
  max-width: 590px;
  margin: 12px 0 24px;
  color: #fff;
  font-size: clamp(3rem, 4.8vw, 5.4rem);
  line-height: 0.96;
}

.contact__intro > p:last-of-type {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  line-height: 1.75;
}

.contact__details {
  display: grid;
  gap: 1px;
  margin-top: 44px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.13);
}

.contact__details a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.contact__details a:hover {
  background: rgba(255, 255, 255, 0.11);
  transform: translateX(4px);
}

.contact__details span {
  color: var(--gold-light);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact__details strong {
  overflow-wrap: anywhere;
  font-size: 0.84rem;
}

.valuation-form {
  padding: clamp(30px, 4vw, 52px);
  color: var(--petrol);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 28px 60px rgba(1, 25, 31, 0.28);
}

.valuation-form__heading > span {
  color: var(--gold-deep);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.valuation-form__heading h3 {
  margin: 9px 0 8px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.valuation-form__heading p {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.6;
}

.valuation-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 18px;
}

.valuation-form label:not(.valuation-form__consent) {
  display: grid;
  gap: 8px;
}

.valuation-form label > span {
  color: var(--petrol);
  font-size: 0.67rem;
  font-weight: 800;
}

.valuation-form input[type="text"],
.valuation-form input[type="tel"],
.valuation-form input[type="email"] {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  color: var(--petrol);
  border: 1px solid rgba(7, 62, 75, 0.15);
  border-radius: 12px;
  outline: none;
  background: #fbfcfc;
  font: inherit;
  font-size: 0.78rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.valuation-form input:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(209, 157, 54, 0.12);
}

.valuation-form input::placeholder {
  color: #9aa7aa;
}

.valuation-form__wide {
  grid-column: 1 / -1;
}

.valuation-form__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 22px 0;
  cursor: pointer;
}

.valuation-form__consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: var(--gold-deep);
}

.valuation-form__consent span {
  color: var(--muted) !important;
  font-size: 0.67rem !important;
  font-weight: 500 !important;
  line-height: 1.45;
}

.valuation-form__consent a {
  color: var(--petrol);
  font-weight: 800;
}

.valuation-form__submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.valuation-form__note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.5;
  text-align: center;
}

.mh-footer {
  min-height: 270px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  padding: 55px max(28px, calc((100vw - 1280px) / 2));
  color: rgba(255, 255, 255, 0.67);
  background: var(--petrol-deep);
}

.mh-footer__brand img {
  width: 210px;
  padding: 5px;
  background: #fff;
}

.mh-footer__brand p,
.mh-footer__legal p {
  margin: 13px 0 0;
  font-size: 0.67rem;
  line-height: 1.55;
}

.mh-footer__contact,
.mh-footer__legal {
  display: grid;
  gap: 9px;
  align-content: center;
}

.mh-footer__contact > span,
.mh-footer__legal > span {
  margin-bottom: 4px;
  color: var(--gold-light);
  font-size: 0.59rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.mh-footer__contact a,
.mh-footer__legal a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  text-decoration: none;
}

.mh-footer__contact a:hover,
.mh-footer__legal a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 1420px) {
  .mh-header__inner {
    gap: 18px;
  }

  .mh-brand {
    width: 230px;
    height: 152px;
    flex-basis: 230px;
  }

  .mh-brand img {
    width: 228px;
    height: 152px;
  }

  .mh-nav {
    gap: 20px;
  }

  .partner-mark {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(370px, 36%) minmax(330px, 28%) minmax(390px, 36%);
  }

  .hero__copy {
    padding-left: 40px;
  }

  .hero__services {
    padding: 0;
  }

  .site-structure {
    grid-template-columns: 0.8fr 1.3fr;
  }

  .path-card--later {
    grid-column: 1 / -1;
    min-height: 250px;
  }
}

@media (max-width: 1120px) {
  html {
    scroll-padding-top: 24px;
  }

  .mh-header {
    min-height: 106px;
  }

  .mh-header__inner {
    width: calc(100% - 28px);
  }

  .mh-brand {
    width: 168px;
    height: 102px;
    flex-basis: 168px;
  }

  .mh-brand img {
    width: 153px;
    height: 102px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .mh-nav {
    position: absolute;
    top: 106px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .mh-nav.open {
    display: flex;
  }

  .mh-nav a {
    min-height: 45px;
    padding: 0 14px;
  }

  .mh-nav a::after {
    display: none;
  }

  .button--header {
    display: none;
  }

  .hero {
    grid-template-columns: 46% 54%;
  }

  .hero__copy,
  .hero__photo {
    min-height: 610px;
  }

  .hero__copy::after {
    display: none;
  }

  .hero__services {
    grid-column: 1 / -1;
    aspect-ratio: 1038 / 886;
    padding: 0;
  }

  .mini-service,
  .mini-service--wide {
    grid-column: auto;
    min-height: 105px;
  }

  .journey__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 26px 14px;
  }

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

@media (max-width: 760px) {
  .hero {
    display: block;
  }

  .hero__copy {
    min-height: auto;
    padding: 56px 24px 62px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 15vw, 5.4rem);
  }

  .hero__subtitle {
    font-size: clamp(2.15rem, 9vw, 3.1rem);
  }

  .hero__photo {
    min-height: 420px;
    background-position: 43% 25%;
  }

  .hero__services {
    padding: 0;
  }

  .mini-service--wide {
    grid-column: auto;
  }

  .mini-service:last-child {
    grid-column: 1 / -1;
  }

  .journey {
    padding: 55px 14px 70px;
  }

  .journey__grid {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .journey-card {
    min-height: 195px;
  }

  .site-structure {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    padding: 72px 0;
  }

  .site-structure__heading {
    padding: 0 5px 15px;
  }

  .path-card--active {
    grid-template-columns: 1fr;
  }

  .path-card__image {
    min-height: 360px;
  }

  .path-card--later {
    grid-column: auto;
    min-height: 300px;
  }

  .start-steps {
    padding: 72px 20px;
  }

  .start-steps__intro {
    margin-bottom: 34px;
  }

  .start-steps__grid {
    grid-template-columns: 1fr;
  }

  .start-steps__grid::before {
    display: none;
  }

  .start-step {
    min-height: 220px;
    padding: 68px 28px 30px;
  }

  .start-step__number {
    left: 28px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 78px 24px;
  }

  .about__heading h2 {
    margin-bottom: 28px;
  }

  .about__story {
    padding-top: 0;
  }

  .about__partner {
    padding: 25px 24px;
  }

  .about__story .button {
    width: 100%;
    padding: 0 20px;
    text-align: center;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 46px;
    padding: 78px 20px;
  }

  .contact__details {
    margin-top: 34px;
  }

  .valuation-form {
    padding: 30px 22px;
  }

  .valuation-form__grid {
    grid-template-columns: 1fr;
  }

  .valuation-form__wide {
    grid-column: auto;
  }

  .content-placeholders {
    grid-template-columns: 1fr;
  }

  .content-placeholders article {
    min-height: 280px;
    padding: 48px 24px;
  }

  .mh-footer {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 50px 24px;
    text-align: left;
  }

  .mh-footer__brand img {
    width: 190px;
  }
}

@media (max-width: 420px) {
  .button--primary {
    width: 100%;
    padding: 0 20px;
  }

  .hero__services {
    padding: 0;
  }

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

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
