/* The Renter.Net — modern redesign */
:root {
  --bg: #f3f6f2;
  --bg-soft: #e8eee6;
  --surface: #ffffff;
  --text: #1a2420;
  --muted: #5a6b62;
  --accent: #2f6b4f;
  --accent-dark: #1e4a36;
  --accent-soft: #dce8e1;
  --line: #d0dbd4;
  --shadow: 0 10px 30px rgba(26, 36, 32, 0.08);
  --radius: 14px;
  --radius-sm: 8px;
  --content: 720px;
  --grid: 1180px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 10% -10%, #d9e8df 0%, transparent 55%),
    radial-gradient(900px 400px at 100% 0%, #e7efe4 0%, transparent 50%),
    var(--bg);
  min-height: 100vh;
}

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

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--grid);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.98rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent-dark);
}

.site-main {
  max-width: var(--grid);
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
}

.prose {
  max-width: var(--content);
}

.prose h1,
.page-title,
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

.page-title {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin: 0 0 1rem;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0 0 1.5rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0 0 0.85rem;
}

.hero-copy p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 36ch;
}

.hero-media {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--accent-dark);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.section {
  margin: 3rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step,
.info-card,
.listing-card,
.spec-card,
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step {
  padding: 1.25rem;
}

.step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.listing-card {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem;
}

.listing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(26, 36, 32, 0.12);
}

.listing-card .thumb {
  flex: 0 0 auto;
  width: 100px;
  height: 100px;
  background: var(--bg-soft);
  overflow: hidden;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.listing-card .thumb img {
  width: auto;
  height: auto;
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
}

.listing-card .card-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
}

.listing-card h3 {
  margin: 0;
  font-size: 1.08rem;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  width: fit-content;
}

.split-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.info-card {
  padding: 1.4rem 1.5rem;
}

.info-card h2 {
  font-family: var(--font-display);
  margin: 0 0 0.6rem;
  font-size: 1.4rem;
}

.info-card p,
.info-card ul {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.info-card ul {
  padding-left: 1.2rem;
}

.info-card li {
  margin-bottom: 0.35rem;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  padding: 1.15rem 1.3rem;
}

.faq-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.listing-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: flex-start;
}

.gallery img {
  width: auto;
  height: auto;
  max-width: 200px;
  max-height: 200px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.spec-card {
  padding: 1.3rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.spec-card h1 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.spec-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}

.spec-list span:first-child {
  color: var(--muted);
}

.features {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.features li {
  margin-bottom: 0.35rem;
}

.search-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.search-cats a {
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  box-shadow: var(--shadow);
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.search-cats a:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.search-cats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.search-cats span {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
  max-width: 560px;
}

.contact-box a {
  font-weight: 700;
}

.site-footer {
  background: #15231d;
  color: #d7e2db;
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--grid);
  margin: 0 auto;
  padding: 2.25rem 1.25rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer a {
  color: #b8d0c3;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.7rem;
  color: #fff;
}

.site-footer p,
.site-footer li {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #a9bdb3;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.35rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.25rem 1.4rem;
  max-width: var(--grid);
  margin: 0 auto;
  font-size: 0.88rem;
  color: #8fa397;
}

@media (max-width: 980px) {
  .hero,
  .listing-layout,
  .split-band,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .steps,
  .cards-grid,
  .search-cats {
    grid-template-columns: repeat(2, 1fr);
  }

  .spec-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.1rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.65rem;
  }

  .steps,
  .cards-grid,
  .search-cats {
    grid-template-columns: 1fr;
  }

  .listing-card {
    flex-direction: column;
  }

  .listing-card .thumb {
    width: 100px;
    height: 100px;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }
}
