/* RHINO V5 — quiet, practical, and local.
   1. Design tokens  2. Header  3. Hero  4. Trust
   5. Size selection  6. Rental steps  7. Prohibited materials
   8. Quote and FAQ  9. Footer and responsive layout */

@font-face {
  font-family: "Rhino Display";
  src: url("../assets/display-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

:root {
  --black: #101010;
  --charcoal: #292a27;
  --lime: #b5d52a;
  --orange: #ff821c;
  --paper: #faf9f5;
  --soft: #f0f0e9;
  --ink: #242620;
  --muted: #5b6055;
  --line: #dedfd5;
  --radius: 12px;
  --gutter: clamp(20px, 5vw, 64px);
  --display: "Rhino Display", "Arial Narrow", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

h1, h2, h3, p, figure { margin: 0; }

h1, h2 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
}

h2 { font-size: clamp(34px, 4vw, 48px); }

h3 { font-size: 18px; }

a { color: inherit; }

button, input, select, textarea { font: inherit; }

button { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

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

.container {
  width: min(1120px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.section {
  padding-block: clamp(45px, 6vw, 76px);
}

.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}

.skip-link:focus {
  position: absolute;
  padding: 12px;
  background: white;
  z-index: 20;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 47px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 7px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.button:hover { filter: brightness(.94); }
.primary { background: var(--lime); color: var(--black); }
.dark { background: var(--charcoal); color: white; }

.fine-print {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 12px;
}

/* 2. Header */
.preview-note {
  font-size: 11px;
  text-align: center;
  background: #e5e6dd;
  padding: 5px 14px;
}

.header {
  background: var(--black);
  color: white;
  border-bottom: 1px solid #353631;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  min-height: 78px;
}

.brand {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  text-decoration: none;
}

.brand strong {
  font: 700 38px/.95 var(--display);
  letter-spacing: -.03em;
}

.brand strong span { color: var(--lime); }

.brand small {
  font-size: 8px;
  letter-spacing: .12em;
  margin-top: 5px;
}

nav {
  display: flex;
  gap: 20px;
  font-size: 13px;
}

nav a { text-decoration: none; }
nav a:hover { color: var(--lime); }

.phone {
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--orange);
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

/* 3. Hero */
.hero {
  background: var(--black);
  color: white;
  padding-block: clamp(32px, 5.5vw, 76px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
}

.location {
  color: #c4d98a;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(45px, 5.5vw, 76px);
  line-height: .99;
}

.hero h1 span { color: var(--lime); }

.hero-copy > p:not(.location) {
  color: #d0d2ca;
  max-width: 43ch;
  margin-top: 22px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
}

.plain-button {
  border: 0;
  background: transparent;
  color: white;
  padding: 10px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #d0d2ca;
  margin-top: 28px;
  text-decoration: none;
  font-size: 12px;
}

.stars {
  color: #efb840;
  letter-spacing: 2px;
  font-size: 16px;
}

.hero-art {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.hero-art img {
  width: 100%;
  height: auto;
}

.hero-art figcaption {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: white;
  background: #101010cf;
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 10px;
}

/* 4. Trust — one restrained row, not a collection of badges. */
.trust {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding-block: 24px;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.trust h2 { font-size: 27px; }
.trust p { color: var(--muted); font-size: 14px; }

.recognition {
  border-left: 1px solid var(--line);
  padding-left: 26px;
  white-space: normal;
}

.recognition strong, .recognition small { display: block; }
.recognition small { color: var(--muted); font-size: 11px; }
.award-year { color: #606c35; font-size: 12px; font-weight: 700; letter-spacing: .08em; }

/* 5. Single compact size picker */
.section-heading { margin-bottom: 26px; }

.section-heading p {
  color: var(--muted);
  margin-top: 10px;
  max-width: 65ch;
}

.size-picker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.size-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 6px;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--ink);
  background: white;
}

.size-option:last-child { border-right: 0; }
.size-option strong { font: 700 clamp(32px, 4.2vw, 55px)/1.1 var(--display); }
.size-option span { font-size: 12px; }
.size-option:hover { background: var(--soft); }
.size-option[aria-pressed="true"] { background: var(--lime); }
.size-option:focus-visible { outline-offset: -5px; }

.size-summary {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  padding-top: 22px;
}

.size-summary p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 3px;
}

/* 6. Rental steps */
.how { background: var(--soft); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  padding-top: 19px;
  border-top: 2px solid #a2ac83;
}

.steps li span {
  color: #606c35;
  font-size: 12px;
  font-weight: 700;
}

.steps h3 { margin-block: 7px; }
.steps p { color: var(--muted); font-size: 14px; }

/* 7. Prohibited materials — compact when closed, readable when open. */
.materials-list {
  background: white;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 18px 22px;
}

.materials-list:first-child {
  border-top: 1px solid var(--line);
}

.materials-list summary {
  font-size: 17px;
}

.materials-count {
  margin-left: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}

.materials-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
  row-gap: 9px;
  padding-left: 20px;
  margin: 15px 0 0;
  font-size: 15px;
}

.important-material {
  color: #a64b0b;
}

.materials-contact {
  color: var(--muted);
  margin-top: 16px;
  font-size: 14px;
}

.material-phone {
  border: 0;
  background: transparent;
  padding: 5px 2px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.field-note {
  color: var(--muted);
  font-size: 12px;
}

/* 8. Quote and FAQ */
.quote { background: var(--charcoal); color: white; }

.quote-grid, .faq-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
}

.quote-intro > p {
  color: #dddfd4;
  margin-top: 15px;
}

.quote-phone {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--orange);
  font-size: clamp(25px, 3vw, 35px);
  font-weight: 700;
  margin-top: 24px;
}

.quote-intro .contact-caption { font-size: 12px; }

.quote-form {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--radius);
  min-width: 0;
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 700; }

.field input, .field select, .field textarea {
  min-height: 45px;
  width: 100%;
  min-width: 0;
  border: 1px solid #bfc2b6;
  color: var(--ink);
  background: white;
  border-radius: 6px;
  padding: 9px 10px;
}

.field textarea { resize: vertical; }

.result {
  margin-top: 20px;
  padding: 14px;
  background: #e7edcd;
  border-radius: 6px;
}

.result pre {
  font: inherit;
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.faq-grid > div > p {
  color: var(--muted);
  margin-top: 12px;
}

details {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

details:first-child { border-top: 1px solid var(--line); }

summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
}

details p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

/* 9. Footer and responsive layout */
.footer {
  background: var(--black);
  color: white;
  padding-block: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.footer p, .footer a {
  font-size: 13px;
  color: #d2d4ca;
}

.footer .fine-print { color: #bfc2b6; }

dialog {
  width: min(440px, calc(100% - 32px));
  border: 0;
  border-radius: var(--radius);
  padding: 25px;
  color: var(--ink);
  background: var(--paper);
}

dialog p { margin-block: 12px 20px; }
dialog::backdrop { background: #0009; }

@media (max-width: 800px) {
  nav { display: none; }
  .hero-grid, .quote-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 640px; }
  .hero h1 { font-size: clamp(46px, 8.5vw, 76px); }
}

@media (max-width: 540px) {
  .header-inner { gap: 10px; min-height: 70px; }
  .brand strong { font-size: 33px; }
  .brand small { font-size: 7px; }
  .phone { font-size: 14px; }
  .trust-inner, .size-summary { align-items: flex-start; flex-direction: column; }
  .recognition { border-left: 0; padding-left: 0; }
  .size-option { padding: 13px 3px; }
  .size-option strong { font-size: 30px; }
  .size-option span { font-size: 9px; }
  .steps, .fields, .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .materials-list ul { grid-template-columns: 1fr; }
  .materials-list { padding: 15px; }
  .section { padding-block: 44px; }
}

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