/* Feast Drop home — industrial rental catalog (A Precious–inspired) */

:root {
  --navy: #1a2a5c;
  --navy-deep: #0f1a3d;
  --steel: #4a5568;
  --ink: #1a1a1a;
  --muted: #5a6270;
  --line: #d8dde6;
  --bg: #f4f5f7;
  --white: #ffffff;
  --accent: #9b2c2c;
  --gold: #b8956c;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Merriweather", "Cormorant Garamond", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body.home-page {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-y: auto;
}

a {
  color: inherit;
}

.home-wrap {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* Top bar industrial */
.home-topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
}

.home-topbar a {
  color: #f0d9a8;
  text-decoration: none;
  font-weight: 700;
}

/* Header */
.home-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  position: sticky;
  top: 0;
  z-index: 40;
}

.home-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.home-mark {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-brand strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.home-brand small {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.home-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
  align-items: center;
}

.home-nav a {
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  padding: 0.4rem 0.65rem;
  border-radius: 2px;
}

.home-nav a:hover {
  background: var(--bg);
}

.home-nav .nav-cta {
  background: var(--navy);
  color: #fff !important;
}

.home-nav .nav-cta:hover {
  background: var(--navy-deep);
}

/* Hero — compact industrial, not full viewport */
.home-hero {
  background: var(--navy);
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 280px;
  max-height: 380px;
}

.home-hero-copy {
  padding: 1.75rem 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-hero-copy h1 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.home-hero-copy p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  max-width: 32rem;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.65rem 1.1rem;
  text-decoration: none;
  border-radius: 2px;
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.65rem 1.1rem;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 2px;
}

.home-hero-img {
  min-height: 220px;
  overflow: hidden;
}

.home-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Section */
.home-section {
  padding: 2rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.home-section-head {
  text-align: center;
  margin-bottom: 1.35rem;
}

.home-section-head h2 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.65rem;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

/* Product grid — A Precious style tiles */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.product-tile {
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s, transform 0.15s;
  border-radius: 2px;
  overflow: hidden;
}

.product-tile:hover {
  box-shadow: 0 8px 28px rgba(15, 26, 61, 0.12);
  transform: translateY(-2px);
}

.product-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #e8ecf2;
}

.product-tile-body {
  padding: 0.85rem 0.9rem 1rem;
  border-top: 3px solid var(--navy);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-tile h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-tile p {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
  flex: 1;
}

.product-tile .tile-link {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-tile.featured .product-tile-body {
  border-top-color: var(--accent);
}

/* How it works compact */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.how-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem;
  text-align: center;
}

.how-card b {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  margin: 0 auto 0.5rem;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  line-height: 1.75rem;
}

.how-card h3 {
  margin: 0 0 0.3rem;
  font-size: 0.88rem;
  color: var(--navy);
}

.how-card p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Tools strip — big features as small links */
.tools-strip {
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.tool-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1rem 0.75rem;
  text-decoration: none;
  border-right: 1px solid var(--line);
  text-align: center;
  transition: background 0.12s;
}

.tool-link:last-child {
  border-right: none;
}

.tool-link:hover {
  background: var(--bg);
}

.tool-link img,
.tool-link .tool-emoji {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.tool-link strong {
  font-size: 0.75rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tool-link span {
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.3;
}

/* Band */
.home-band {
  background: var(--navy);
  color: #fff;
  padding: 1.75rem 1.25rem;
  text-align: center;
}

.home-band h2 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.35rem;
}

.home-band p {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
}

/* Footer */
.home-footer {
  background: #111827;
  color: rgba(255, 255, 255, 0.75);
  padding: 1.5rem 1.25rem 1.75rem;
  margin-top: auto;
}

.home-footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 1.25rem;
  align-items: start;
}

.home-footer h3 {
  margin: 0 0 0.4rem;
  color: #fff;
  font-size: 0.95rem;
}

.home-footer p,
.home-footer a {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.home-footer a:hover {
  color: #f0d9a8;
}

.home-footer-qr {
  text-align: center;
  background: #fff;
  padding: 0.5rem;
  border-radius: 4px;
}

.home-footer-qr img {
  display: block;
  width: 96px;
  height: 96px;
}

.home-footer-qr span {
  display: block;
  font-size: 0.6rem;
  color: #333;
  font-weight: 700;
  margin-top: 0.25rem;
}

.home-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.home-social a {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.7rem;
}

@media (max-width: 900px) {
  .home-hero {
    grid-template-columns: 1fr;
    max-height: none;
  }
  .home-hero-img {
    min-height: 180px;
    max-height: 200px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tools-strip {
    grid-template-columns: 1fr 1fr;
  }
  .tool-link {
    border-bottom: 1px solid var(--line);
  }
  .how-grid {
    grid-template-columns: 1fr;
  }
  .home-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .home-nav a {
    font-size: 0.72rem;
    padding: 0.35rem 0.45rem;
  }
}
