/* ── Reset & base ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

/* ── Nav ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(254,253,251,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.07); }

/* ── Hero ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    url('https://images.pexels.com/photos/6107680/pexels-photo-6107680.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1200') center center / cover no-repeat;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,23,42,0.62) 0%, rgba(15,23,42,0.72) 100%);
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, transparent 0%, rgba(8,14,26,0.35) 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 780px;
  padding: 2rem 1.5rem;
}
.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f5c4ba;
  background: rgba(184,84,70,0.25);
  border: 1px solid rgba(184,84,70,0.5);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.08;
  color: #fefdfb;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}
.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(254,253,251,0.82);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 2.25rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(254,253,251,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.18);
  align-self: stretch;
}

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: #B85446;
  color: #fff;
  box-shadow: 0 4px 14px rgba(184,84,70,0.35);
}
.btn-primary:hover { background: #a8473a; box-shadow: 0 6px 20px rgba(184,84,70,0.45); }
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); }
.btn-ghost-light {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.14); }
.btn-primary-outline {
  background: transparent;
  color: #B85446;
  border: 2px solid #B85446;
}
.btn-primary-outline:hover { background: #B85446; color: #fff; }

/* ── Section scaffolding ─────────────────────────── */
.section { padding: 6rem 0; }
.section-header { text-align: center; max-width: 660px; margin: 0 auto 3.5rem; }
.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #B85446;
  margin-bottom: 0.75rem;
}
.label-light { color: #f5c4ba; }
.section-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.12;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.section-desc {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.7;
}

/* ── Inventory cards ─────────────────────────────── */
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.inv-card {
  background: #fefdfb;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.inv-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.1); transform: translateY(-4px); }
.inv-img { position: relative; overflow: hidden; aspect-ratio: 640/420; }
.inv-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.inv-card:hover .inv-img img { transform: scale(1.04); }
.inv-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #B85446;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
}
.inv-body { padding: 1.5rem; }
.inv-cat {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #0f172a;
  margin: 0 0 0.5rem;
}
.inv-sub { font-size: 0.92rem; color: #64748b; line-height: 1.65; margin: 0; }

/* ── Feature cards ───────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 2rem;
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover { box-shadow: 0 10px 32px rgba(0,0,0,0.08); transform: translateY(-3px); }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fdf0ee;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.card-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #0f172a;
  margin: 0 0 0.6rem;
}
.card-text { font-size: 0.92rem; color: #64748b; line-height: 1.65; margin: 0; }

/* ── Financing visual ────────────────────────────── */
.financing-visual { position: relative; }
.financing-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1rem;
  background: #fff;
  border-radius: 14px;
  padding: 1.25rem 1.75rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.financing-card-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: #64748b; font-weight: 600; }
.financing-card-num { font-family: 'Barlow', sans-serif; font-weight: 900; font-size: 1.75rem; color: #B85446; }

/* ── Contact info ────────────────────────────────── */
.contact-info { display: flex; flex-direction: column; gap: 1.75rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fdf0ee;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: #94a3b8; font-weight: 600; margin-bottom: 0.25rem; }
.info-value { font-size: 0.95rem; color: #0f172a; line-height: 1.6; margin: 0; }

/* ── Form ────────────────────────────────────────── */
.contact-form {
  background: #fefdfb;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-size: 0.82rem; font-weight: 600; color: #334155; }
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #0f172a;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: #B85446;
  box-shadow: 0 0 0 3px rgba(184,84,70,0.12);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-success {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: #16a34a;
  font-weight: 500;
  padding: 1rem;
  background: #f0fdf4;
  border-radius: 10px;
  border: 1px solid #bbf7d0;
}
.form-success.hidden { display: none; }

/* ── Map ─────────────────────────────────────────── */
.map-wrapper { border-radius: 16px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }

/* ── Footer ──────────────────────────────────────── */
.footer { background: #0f172a; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer-brand { display: inline-flex; align-items: center; }
.footer-desc { max-width: 280px; }
.footer-heading { font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; margin: 0 0 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.9rem; color: #94a3b8; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); }

/* ── Scroll reveal (progressive enhancement) ────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .hero { min-height: 86vh; }
  .hero-stats { gap: 1.5rem; }
  .stat-divider { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .financing-card { position: relative; bottom: auto; left: auto; margin-top: 1rem; }
}
