:root {
  --bg: #fbfbfb;
  --surface: #ffffff;
  --ink: #26292d;
  --muted: #686f75;
  --accent: #f46c63;
  --accent-2: #e65d55;
  --line: rgba(31, 36, 40, 0.11);
  --soft: #f6fbfd;
  --shadow: 0 22px 64px rgba(33, 78, 93, 0.13);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: #f4f4f4;
  font-family: var(--sans);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

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

.theme-3 {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #25282b;
  --muted: #67717a;
  --accent: #f0675c;
  --accent-2: #df5e55;
  --soft: #fff4f1;
}

.theme-4 {
  --bg: #061112;
  --surface: rgba(11, 23, 23, 0.88);
  --ink: #f2e7d6;
  --muted: rgba(242, 231, 214, 0.72);
  --accent: #b98956;
  --accent-2: #8c633d;
  --line: rgba(232, 194, 143, 0.22);
  --soft: #101d1d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.theme-5 {
  --bg: #eff9fb;
  --surface: #ffffff;
  --ink: #16456d;
  --muted: #4e7085;
  --accent: #4f987e;
  --accent-2: #3b7f6a;
  --line: rgba(22, 69, 109, 0.13);
  --soft: #dff3f7;
}

.page-shell {
  width: min(1180px, calc(100% - 20px));
  margin: 8px auto;
  background: var(--bg);
  border: 1px solid #dedede;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
}

.hero {
  position: relative;
  min-height: 838px;
  overflow: hidden;
  padding: 24px 38px 0;
  isolation: isolate;
}

.theme-3 .hero {
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.98) 36%, rgba(255, 255, 255, 0.7) 52%, rgba(255, 255, 255, 0.06) 68%),
    url("./assets/complex-beach-hero.png") right 122px / 60% 718px no-repeat,
    #fff;
}

.theme-4 .hero {
  min-height: 620px;
  padding-bottom: 165px;
  background:
    linear-gradient(90deg, rgba(5, 12, 13, 0.98) 0%, rgba(6, 13, 14, 0.86) 43%, rgba(6, 12, 13, 0.38) 74%, rgba(6, 12, 13, 0.16) 100%),
    linear-gradient(180deg, rgba(6, 12, 13, 0) 55%, #061112 100%),
    url("./assets/resort-hero.png") right center / cover no-repeat;
}

.theme-5 .hero {
  min-height: 620px;
  padding-bottom: 120px;
  background:
    radial-gradient(950px 380px at 82% 22%, rgba(255, 255, 255, 0.14), transparent 62%),
    linear-gradient(90deg, rgba(239, 249, 251, 0.98) 0%, rgba(239, 249, 251, 0.82) 35%, rgba(239, 249, 251, 0.12) 70%),
    linear-gradient(180deg, rgba(239, 249, 251, 0) 60%, #eff9fb 100%),
    url("./assets/complex-beach-hero.png") right top / cover no-repeat;
}

.theme-5 .hero::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: -52px;
  height: 150px;
  z-index: -1;
  background: var(--bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow: 0 -18px 0 rgba(79, 152, 126, 0.92);
}

.topbar {
  position: relative;
  z-index: 2;
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
}

.logo {
  display: grid;
  gap: 2px;
  width: 190px;
  height: auto;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 1;
}

.logo span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.logo strong {
  color: var(--accent);
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.logo em {
  color: var(--accent);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-align: center;
}

.logo em::before,
.logo em::after {
  content: "*";
  padding: 0 9px;
}

.nav {
  display: flex;
  justify-content: flex-start;
  gap: 28px;
  padding-top: 33px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav a {
  text-decoration: none;
  white-space: nowrap;
}

.topbar__contact {
  display: grid;
  justify-items: end;
  gap: 9px;
  color: var(--accent);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.topbar__contact a {
  text-decoration: none;
}

.topbar__contact button,
.button {
  min-height: 36px;
  border: 0;
  border-radius: 2px;
  padding: 0 27px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 9px 18px rgba(213, 88, 77, 0.2);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.theme-4 .topbar__contact button,
.theme-4 .button {
  border: 1px solid rgba(232, 194, 143, 0.38);
  background: linear-gradient(180deg, #a8794a, #7f5633);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
}

.theme-5 .topbar__contact button,
.theme-5 .button {
  border-radius: 7px;
  background: var(--accent);
  box-shadow: 0 14px 28px rgba(54, 126, 103, 0.2);
}

.hero__grid {
  position: relative;
  z-index: 1;
  min-height: 666px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 410px);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.theme-3 .hero__grid {
  grid-template-columns: minmax(620px, 0.62fr) 1fr;
}

.theme-4 .hero__grid {
  grid-template-columns: minmax(560px, 0.7fr) 1fr;
}

.hero__content {
  max-width: 720px;
  padding-top: 69px;
}

.hero__mobile-photo {
  display: none;
}

h1 {
  margin-bottom: 24px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 50px;
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: 0;
}

h1 span {
  display: block;
  color: var(--accent);
}

.theme-4 h1 {
  max-width: 780px;
  color: #f3eadb;
}

.theme-5 h1 {
  max-width: 620px;
  color: var(--ink);
}

.hero__lead {
  max-width: 520px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 610px;
}

.metrics article {
  min-width: 0;
  min-height: 66px;
  padding-right: 18px;
  border-right: 1px solid var(--line);
}

.metrics article:last-child {
  border-right: 0;
}

.metrics strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.1;
}

.metrics strong span {
  font-size: 37px;
  line-height: 0.8;
}

.metrics p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 42px;
  margin-top: 41px;
}

.hero__actions .button {
  min-width: 260px;
  min-height: 56px;
  font-size: 12px;
}

.income-link {
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.income-link::after {
  content: "→";
  margin-left: 14px;
}

.feature-strip {
  position: relative;
  z-index: 2;
  margin: 0 37px;
  padding: 33px 28px 31px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 46px rgba(40, 45, 50, 0.08);
}

.theme-4 .feature-strip {
  margin-top: -40px;
  border-top: 1px solid var(--line);
  background: rgba(10, 22, 22, 0.88);
}

.theme-5 .feature-strip {
  margin-top: -40px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  background: transparent;
  box-shadow: none;
}

.feature-strip article {
  min-width: 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 13px;
  align-items: center;
  color: var(--ink);
}

.theme-5 .feature-strip article {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.feature-icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  stroke-width: 1.6;
}

.feature-strip .feature-icon {
  grid-row: 1 / span 2;
}

.feature-strip b,
.icon-grid b {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.feature-strip span,
.icon-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
}

.infrastructure {
  padding: 52px 37px 48px;
}

.theme-4 .infrastructure {
  padding-top: 36px;
}

.theme-5 .infrastructure {
  position: relative;
  padding-top: 92px;
  background:
    linear-gradient(180deg, transparent 0 10%, rgba(197, 230, 241, 0.72) 10%, rgba(197, 230, 241, 0.78) 100%);
}

.infrastructure h2 {
  margin-bottom: 42px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 25px;
}

.icon-grid article {
  min-width: 0;
  text-align: center;
}

.icon-grid .feature-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 17px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.gallery-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 38px rgba(18, 63, 85, 0.1);
}

.theme-4 .gallery-grid article {
  border-color: rgba(232, 194, 143, 0.24);
  background: rgba(15, 28, 28, 0.92);
}

.gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.gallery-grid span {
  display: block;
  min-height: 44px;
  padding: 12px 10px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.25;
}

.presentation {
  margin: 22px 37px 66px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 415px 1fr;
  background: #fff;
  padding: 17px 12px;
}

.video-card {
  position: relative;
  height: 226px;
  min-height: 226px;
  overflow: visible;
  margin-bottom: 0;
}

.video-card img {
  width: 100%;
  height: 226px;
  min-height: 226px;
  display: block;
  object-fit: cover;
}

.lead-card {
  padding: 13px 40px 12px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.theme-3 .presentation .lead-card {
  border: 0;
  box-shadow: none;
}

.lead-card--hero {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 50px;
  width: min(620px, calc(100% - 96px));
  transform: translateX(-50%);
  border-color: rgba(232, 194, 143, 0.42);
  background: rgba(10, 20, 20, 0.78);
}

.lead-card--side {
  align-self: end;
  width: min(100%, 390px);
  margin-left: auto;
  margin-bottom: -18px;
  border-radius: 28px;
}

.lead-card h2,
.modal h2,
.privacy-modal h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.05;
}

.lead-card p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.lead-form {
  display: grid;
  gap: 19px;
}

.lead-form > .button {
  width: 280px;
  justify-self: start;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.lead-card--side .form-row,
.modal .lead-form {
  grid-template-columns: 1fr;
}

.lead-form label {
  position: relative;
  display: block;
}

.lead-form label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.lead-form input[type="text"],
.lead-form input[type="tel"] {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 14px;
  outline: none;
  color: #263136;
  background: #fff;
  font-size: 13px;
}

.theme-4 .lead-form input[type="text"],
.theme-4 .lead-form input[type="tel"] {
  color: #f6ead7;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(232, 194, 143, 0.3);
}

.lead-form input::placeholder {
  color: #9aa4aa;
}

.lead-form input[aria-invalid="true"] {
  border-color: #d84a3f;
  box-shadow: 0 0 0 3px rgba(216, 74, 63, 0.14);
}

.lead-form__status {
  min-height: 18px;
  margin: -7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.lead-form__status:empty {
  display: none;
}

.lead-form small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.lead-form small a {
  color: var(--accent);
  text-underline-offset: 2px;
}

.bottom-proof {
  padding: 26px 56px 56px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  color: var(--ink);
}

.theme-5 .bottom-proof {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(239, 249, 251, 0.96);
}

.bottom-proof article {
  min-height: 82px;
  padding: 0 28px;
  border-left: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}

.bottom-proof article:first-child {
  border-left: 0;
  padding-left: 0;
}

.bottom-proof strong {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
}

.bottom-proof span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.legal-footer {
  padding: 0 56px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  color: color-mix(in srgb, var(--muted) 82%, transparent);
  font-size: 11px;
}

.legal-footer a {
  text-underline-offset: 3px;
}

.modal,
.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(4, 12, 14, 0.62);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.modal.is-open,
.privacy-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal__dialog,
.privacy-modal__dialog {
  position: relative;
  width: min(460px, 100%);
  padding: 34px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: var(--accent);
  background: color-mix(in srgb, var(--surface) 72%, #fff);
  font-size: 24px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  max-width: min(380px, calc(100vw - 32px));
  padding: 14px 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(90px);
  opacity: 0;
  visibility: hidden;
  transition: transform 180ms ease, opacity 180ms ease, visibility 180ms ease;
}

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

@media (max-width: 1280px) {
  .hero,
  .infrastructure {
    padding-left: 32px;
    padding-right: 32px;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .nav {
    gap: 14px;
    font-size: 10px;
  }

  .feature-strip {
    margin-left: 32px;
    margin-right: 32px;
  }
}

@media (max-width: 980px) {
  .page-shell {
    width: 100%;
    margin: 0;
    border: 0;
    box-shadow: none;
  }

  .hero {
    min-height: auto;
    padding: 24px 28px 34px;
  }

  .theme-3 .hero {
    background: #fff;
  }

  .topbar {
    min-height: auto;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
  }

  .logo {
    width: 170px;
  }

  .logo span,
  .logo em {
    font-size: 10px;
  }

  .logo strong {
    font-size: 22px;
  }

  .nav {
    display: flex;
    justify-content: end;
    gap: 14px;
    padding-top: 0;
    font-size: 9px;
  }

  .nav a:nth-child(n + 4) {
    display: none;
  }

  .topbar__contact {
    gap: 7px;
    font-size: 18px;
  }

  .topbar__contact button {
    min-height: 34px;
    padding: 0 18px;
    font-size: 10px;
  }

  .hero__grid,
  .theme-3 .hero__grid,
  .theme-4 .hero__grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 22px;
  }

  .hero__mobile-photo {
    order: -1;
    display: block;
    min-height: 330px;
    border-radius: 6px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0)),
      url("./assets/complex-beach-hero.png") center / cover no-repeat;
    box-shadow: 0 18px 44px rgba(32, 49, 58, 0.14);
  }

  .hero__content {
    max-width: 760px;
    padding-top: 0;
  }

  h1 {
    max-width: 760px;
    margin-bottom: 18px;
    font-size: clamp(46px, 7.3vw, 60px);
    line-height: 1.02;
  }

  h1 br {
    display: none;
  }

  .hero__lead {
    max-width: 610px;
    margin-bottom: 28px;
    font-size: 16px;
    line-height: 1.55;
  }

  .metrics {
    max-width: 100%;
    gap: 16px;
  }

  .metrics article {
    min-height: 76px;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
  }

  .metrics strong span {
    font-size: 34px;
  }

  .hero__actions {
    gap: 22px;
    margin-top: 28px;
  }

  .feature-strip,
  .theme-5 .feature-strip {
    margin: 0 28px;
    padding: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 26px;
  }

  .feature-strip article {
    grid-template-columns: 46px 1fr;
  }

  .infrastructure {
    padding: 50px 28px 34px;
  }

  .infrastructure h2 {
    margin-bottom: 32px;
    font-size: 34px;
  }

  .icon-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px 18px;
  }

  .presentation {
    margin: 16px 28px 48px;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px;
  }

  .video-card {
    height: 330px;
    min-height: 330px;
    margin-bottom: 0;
  }

  .video-card img {
    height: 330px;
    min-height: 330px;
  }

  .lead-card {
    padding: 0 2px 6px;
  }

  .lead-card h2,
  .modal h2,
  .privacy-modal h2 {
    font-size: 32px;
  }

  .bottom-proof,
  .theme-5 .bottom-proof {
    padding: 26px 28px 36px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bottom-proof article:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .legal-footer {
    padding-left: 28px;
    padding-right: 28px;
  }
}

@media (max-width: 720px) {
  body {
    background: #fff;
  }

  .hero {
    padding: 18px 16px 28px;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .logo {
    width: 146px;
  }

  .logo span,
  .logo em {
    font-size: 8px;
  }

  .logo strong {
    font-size: 19px;
  }

  .nav {
    display: none;
  }

  .topbar__contact {
    font-size: 15px;
  }

  .topbar__contact button {
    min-height: 32px;
    padding: 0 12px;
    font-size: 9px;
  }

  .hero__grid {
    gap: 20px;
    padding-top: 18px;
  }

  .hero__mobile-photo {
    min-height: 245px;
    border-radius: 4px;
    background-position: 61% center;
  }

  h1 {
    margin-bottom: 14px;
    font-size: clamp(36px, 10.8vw, 48px);
    line-height: 1.02;
  }

  .hero__lead {
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .metrics article {
    min-height: 96px;
    padding: 12px;
  }

  .metrics article:last-child {
    grid-column: 1 / -1;
  }

  .metrics strong {
    font-size: 13px;
  }

  .metrics strong span {
    font-size: 30px;
  }

  .metrics p {
    font-size: 11px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 20px;
  }

  .hero__actions .button,
  .button {
    width: 100%;
    min-width: 0;
    min-height: 50px;
  }

  .income-link {
    display: flex;
    justify-content: center;
    min-height: 42px;
    align-items: center;
  }

  .feature-strip,
  .theme-5 .feature-strip {
    margin: 0 16px;
    padding: 18px 16px;
    grid-template-columns: 1fr;
    gap: 16px;
    box-shadow: 0 14px 34px rgba(40, 45, 50, 0.08);
  }

  .feature-strip article {
    grid-template-columns: 42px 1fr;
    gap: 12px;
    text-align: left;
    justify-items: stretch;
  }

  .feature-strip .feature-icon {
    width: 38px;
    height: 38px;
  }

  .infrastructure {
    padding: 40px 16px 24px;
  }

  .infrastructure h2 {
    margin-bottom: 24px;
    font-size: 30px;
  }

  .icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .icon-grid article {
    min-height: 166px;
    padding: 18px 10px 16px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
  }

  .icon-grid .feature-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
  }

  .presentation {
    margin: 10px 16px 34px;
    padding: 12px;
    gap: 18px;
  }

  .video-card {
    height: 220px;
    min-height: 220px;
    margin-bottom: 0;
  }

  .video-card img {
    height: 220px;
    min-height: 220px;
  }

  .lead-card {
    padding: 0 2px 4px;
  }

  .lead-card h2,
  .modal h2,
  .privacy-modal h2 {
    font-size: 28px;
  }

  .lead-card p {
    margin-bottom: 16px;
    font-size: 12px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .lead-form {
    gap: 14px;
  }

  .lead-form > .button {
    width: 100%;
  }

  .lead-form small {
    font-size: 10px;
  }

  .legal-footer {
    padding: 0 16px 20px;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 390px) {
  .topbar {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .topbar__contact {
    justify-items: center;
  }

  .hero__mobile-photo {
    min-height: 220px;
  }

  h1 {
    font-size: clamp(32px, 10.5vw, 39px);
  }

  .metrics,
  .icon-grid {
    grid-template-columns: 1fr;
  }

  .metrics article:last-child {
    grid-column: auto;
  }

  .icon-grid article {
    min-height: auto;
  }
}
