:root {
  --rh-ink: #20170f;
  --rh-forest: #1f4d3a;
  --rh-gold: #c58a32;
  --rh-clay: #9b5023;
  --rh-cream: #fffaf3;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.rh-public-footer,
.rh-public-footer * {
  box-sizing: border-box;
}

.rh-public-footer + .site-footer,
.rh-public-footer + .bl-footer {
  display: none;
}

.rh-public-footer {
  position: relative;
  overflow: hidden;
  color: #2b2017;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,248,237,.92)),
    radial-gradient(circle at 15% 20%, rgba(197,138,50,.2), transparent 34%);
  border-top: 1px solid rgba(155,80,35,.18);
  font-family: Montserrat, Arial, sans-serif;
}

.rh-public-footer__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, transparent 49%, rgba(155,80,35,.035) 50%, transparent 51%);
  background-size: 34px 34px;
}

.rh-public-footer__inner {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 24px;
}

.rh-public-footer__brand {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 720px;
  margin-bottom: 42px;
}

.rh-public-footer__brand img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.rh-public-footer h2,
.rh-public-footer h3,
.rh-public-footer p {
  margin: 0;
}

.rh-public-footer h2 {
  font: 700 clamp(28px, 4vw, 46px)/1.05 "Cormorant Garamond", Georgia, serif;
  color: var(--rh-forest);
}

.rh-public-footer__brand p {
  margin-top: 8px;
  line-height: 1.7;
}

.rh-public-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  padding: 36px 0;
  border-top: 1px solid rgba(155,80,35,.14);
}

.rh-public-footer__grid section {
  display: grid;
  align-content: start;
  gap: 11px;
}

.rh-public-footer__grid h3 {
  margin-bottom: 8px;
  color: var(--rh-clay);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.rh-public-footer a {
  color: inherit;
  text-decoration: none;
}

.rh-public-footer__grid a:hover,
.rh-public-footer__grid a:focus-visible {
  color: var(--rh-clay);
}

.rh-public-footer__portals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 30px;
}

.rh-public-footer__portals a {
  display: grid;
  gap: 5px;
  min-height: 108px;
  padding: 20px;
  border: 1px solid rgba(31,77,58,.16);
  border-radius: 16px;
  background: rgba(255,255,255,.66);
  box-shadow: 0 14px 32px rgba(62,38,20,.07);
}

.rh-public-footer__portals a:hover {
  transform: translateY(-2px);
  border-color: rgba(197,138,50,.55);
}

.rh-public-footer__portals span {
  font-size: 13px;
  line-height: 1.5;
  color: #6c5a49;
}

.rh-public-footer__newsletter {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) 1fr 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 24px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(120deg, var(--rh-forest), #15382a);
}

.rh-public-footer__newsletter div,
.rh-public-footer__newsletter label {
  display: grid;
  gap: 4px;
}

.rh-public-footer__newsletter span,
.rh-public-footer__newsletter label {
  font-size: 12px;
  line-height: 1.45;
}

.rh-public-footer__newsletter input[type="text"],
.rh-public-footer__newsletter input[type="email"] {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  color: #fff;
}

.rh-public-footer__newsletter input::placeholder {
  color: rgba(255,255,255,.72);
}

.rh-public-footer__newsletter button {
  padding: 13px 18px;
  border: 0;
  border-radius: 10px;
  background: var(--rh-gold);
  color: #fff;
  font-weight: 700;
}

.rh-public-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  font-size: 12px;
  color: #796653;
}

.rh-layout-page {
  color: var(--rh-ink);
  background: var(--rh-cream);
}

.rh-layout-main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 80px;
}

.rh-layout-hero,
.rh-layout-card {
  border: 1px solid rgba(155,80,35,.16);
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 20px 50px rgba(71,42,19,.08);
}

.rh-layout-hero {
  padding: clamp(32px, 7vw, 76px);
  background:
    linear-gradient(110deg, rgba(24,55,41,.96), rgba(44,72,53,.78)),
    url("/images/royal_horizon_safari_landcruiser.jpg") center/cover;
  color: #fff;
}

.rh-layout-hero h1 {
  max-width: 850px;
  margin: 10px 0 18px;
  font: 700 clamp(42px, 7vw, 76px)/.98 "Cormorant Garamond", Georgia, serif;
}

.rh-layout-hero p {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.7;
}

.rh-layout-section {
  padding: 56px 0 0;
}

.rh-layout-section h2 {
  margin: 0 0 18px;
  color: var(--rh-forest);
  font: 700 clamp(30px, 4vw, 48px)/1.05 "Cormorant Garamond", Georgia, serif;
}

.rh-layout-section p,
.rh-layout-section li {
  line-height: 1.75;
}

.rh-layout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.rh-layout-card {
  padding: 28px;
}

.rh-layout-card h3 {
  margin-top: 0;
  color: var(--rh-clay);
}

.rh-layout-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rh-layout-form label {
  display: grid;
  gap: 7px;
  font-weight: 600;
}

.rh-layout-form input,
.rh-layout-form select,
.rh-layout-form textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #d8c4ad;
  border-radius: 10px;
  background: #fff;
}

.rh-layout-form .rh-layout-wide {
  grid-column: 1 / -1;
}

.rh-layout-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 14px 22px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--rh-clay);
  font-weight: 700;
  text-decoration: none;
}

.rh-layout-alert {
  padding: 14px 16px;
  border-radius: 10px;
  background: #edf8f1;
  color: #1f5a38;
}

@media (max-width: 900px) {
  .rh-public-footer__grid,
  .rh-public-footer__portals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rh-public-footer__newsletter {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .rh-public-footer__inner,
  .rh-layout-main {
    width: min(100% - 28px, 1120px);
  }

  .rh-public-footer__grid,
  .rh-public-footer__portals,
  .rh-public-footer__newsletter,
  .rh-layout-grid,
  .rh-layout-form {
    grid-template-columns: 1fr;
  }

  .rh-public-footer__brand {
    align-items: flex-start;
  }

  .rh-public-footer__bottom {
    flex-direction: column;
  }

  .rh-layout-form .rh-layout-wide {
    grid-column: auto;
  }
}
