:root {
  --rr-maroon: #5f0707;
  --rr-maroon-dark: #250101;
  --rr-gold: #e7c15c;
  --rr-cream: #fbf7ef;
  --rr-ink: #17110f;
  --rr-blue: #071440;
  --rr-green: #054413;
  --rr-width: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  background: #000;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--rr-ink);
  background: #000;
  font-size: 17px;
  line-height: 1.55;
}

a {
  color: inherit;
}

.page {
  width: min(var(--rr-width), 100vw);
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
}

.rr-banner {
  margin: 0;
  background: transparent;
  box-shadow: none;
}

.rr-banner-art {
  display: block;
  width: 100%;
  height: auto;
}

.rr-nav {
  margin: 0;
  padding: 10px 10px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 8px 18px;
  color: #1b2854;
  background: #f8f6ef;
  border-top: 1px solid #ddd7c9;
  border-bottom: 1px solid #d5d0c5;
  font-size: 15px;
  font-weight: 700;
  overflow: visible;
}

.rr-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0;
  color: #1b2854;
  text-decoration: none;
  white-space: nowrap;
}

.rr-nav a:hover {
  color: #6b0707;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 0;
  background: transparent;
  color: #1b2854;
}

.nav-parent::after {
  content: none;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  z-index: 1000;
  min-width: 180px;
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 8px 0;
  background: #fff;
  border: 1px solid #d5d0c5;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18);
}

.dropdown-menu a {
  display: block;
  min-height: auto;
  padding: 8px 14px;
  color: #1b2854;
  white-space: nowrap;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  color: #6b0707;
  background: #f8f6ef;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: flex;
}

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

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: #2a0505;
  line-height: 1.1;
}

h1 {
  margin: 10px 0;
  font-size: 42px;
}

h2 {
  margin: 34px 0 14px;
  font-size: 32px;
}

h3 {
  margin: 0 0 10px;
  font-size: 25px;
}

main {
  padding: 18px 0 28px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0 18px;
}

.product-card {
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #cfcfcf;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.product-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.product-body {
  padding: 14px 18px 18px;
  text-align: center;
}

.product-card.r2 {
  border-top: 5px solid var(--rr-blue);
}

.product-card.sempref {
  border-top: 5px solid var(--rr-green);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 17px;
  border-radius: 10px;
  background: var(--rr-maroon);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(95, 7, 7, 0.24);
}

.btn.gold {
  color: #190101;
  background: linear-gradient(180deg, #f3d46a, #c99b20);
}

.phc-hero {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 24px;
  align-items: center;
}

.phc-logo {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.preview {
  margin: 24px 0 42px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.24);
}

.preview img {
  display: block;
  width: 100%;
  height: auto;
}

.footer {
  color: #5b5b5b;
  text-align: center;
  padding: 18px 0 28px;
  font-size: 15px;
}

.site-footer {
  padding: 26px 18px;
  background: linear-gradient(180deg, #6b0808, #4f0505);
  border-top: 3px solid #2f0505;
  border-right: 3px solid #2f0505;
  border-bottom: 3px solid #180101;
  border-left: 3px solid #2f0505;
  color: #fff7df;
  font-size: 1rem;
  line-height: 1.28;
  text-align: left;
}

.site-footer p {
  max-width: 980px;
  margin: 0 auto;
}

.site-footer p + p {
  margin-top: 10px;
}

.site-footer a {
  color: #ffe28a;
  font-weight: 400;
  text-decoration: underline;
}

.help-form {
  display: grid;
  gap: 10px;
  max-width: 680px;
  margin-top: 16px;
}

.help-form label {
  font-weight: 800;
  color: #1b2854;
}

.help-form input,
.help-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c8c8c8;
  border-radius: 6px;
  font: inherit;
  color: #17110f;
  background: #fff;
}

.help-form button {
  justify-self: start;
  min-height: 42px;
  padding: 9px 18px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #f3d46a, #c99b20);
  color: #190101;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .phc-hero,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .rr-nav {
    font-size: 15px;
    gap: 8px 14px;
  }
}
