/* Brand-driven palette */
:root {
  --evergreen: #1c2b25;
  --pine: #183b2e;
  --fern: #2c5747;
  --sand: #f4efe4;
  --stone: #ded4c3;
  --cream: #fffdf7;
  --accent: #c9a464;
  --text: #18211f;
}

* { box-sizing: border-box; }
::selection { background: var(--accent); color: #fff; }
img { max-width: 100%; display: block; }

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--sand);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

a { color: inherit; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 239, 228, 0.9);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.logo { height: 96px; border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 16px; font-weight: 600; }
.nav a { text-decoration: none; padding: 8px 10px; border-radius: 999px; transition: background 0.2s ease; }
.nav a:hover { background: rgba(24, 59, 46, 0.12); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--pine);
  color: var(--cream);
  background: var(--pine);
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(24, 59, 46, 0.25); }
.btn-light {
  background: #fff;
  color: var(--pine);
  border-color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-img) center/cover no-repeat fixed;
  filter: saturate(120%) contrast(0.95);
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 29, 22, 0.92), rgba(20, 37, 32, 0.68));
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding: clamp(64px, 12vw, 150px) 0 80px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}
.hero-copy h1 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  margin: 10px 0 16px;
  line-height: 1.1;
}
.lede { font-size: 1.1rem; max-width: 50ch; }
.hero-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.badge strong { display: block; font-size: 1.3rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-panel {
  display: grid;
  gap: 18px;
}
.stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 18px;
  backdrop-filter: blur(6px);
}
.stat-card .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255, 255, 255, 0.7); }
.stat-card strong { display: block; margin: 6px 0; font-size: 1.1rem; }
.stat-footnote { margin: -32px auto 0; text-align: center; color: rgba(255, 255, 255, 0.7); font-size: 0.85rem; }

/* Shared section styles */
section { padding: 72px 0; }
.section-header { margin-bottom: 32px; max-width: 760px; }
.section-header h2 { margin: 8px 0; font-size: clamp(2rem, 3vw, 2.8rem); color: var(--pine); }
.section-header .lede { color: #3e4946; }

/* Quality */
.quality { background: radial-gradient(circle at top, #fff, #f0ebe0); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.feature-grid article {
  background: #fff;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--stone);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}
.feature-grid h3 { margin-top: 0; color: var(--pine); }

/* Models */
.models { padding-bottom: 30px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.15);
}
.card-media { position: relative; }
.card-media img { width: 100%; height: auto; object-fit: cover; }
.tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-head h3 { margin: 0; color: var(--pine); }
.price { margin: 0; font-weight: 700; color: var(--accent); }
.chips { list-style: none; padding: 0; margin: 14px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: #f3f0ea;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #3b453f;
}
.description { margin: 0 0 12px; color: #4a5551; }
details {
  border-top: 1px dashed var(--stone);
  padding-top: 12px;
  margin-top: auto;
}
details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--pine);
  list-style: none;
}
details summary::-webkit-details-marker { display: none; }
details summary::before {
  content: '\25B8';
  display: inline-block;
  margin-right: 6px;
  transition: transform 0.2s ease;
}
details[open] summary::before { transform: rotate(90deg); }
.specs { padding-top: 10px; display: grid; gap: 10px; font-size: 0.95rem; }
.specs h4 { margin: 0; color: var(--fern); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; }
.specs ul { margin: 0; padding-left: 18px; }
.actions { margin-top: 18px; }

.comparison { margin-top: 40px; background: #101915; color: #f1f6f3; border-radius: 24px; padding: 32px; }
.comparison h3 { margin-top: 0; }
.comparison-wrapper { overflow-x: auto; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  min-width: 520px;
}
.comparison-table th,
.comparison-table td {
  padding: 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.comparison-table thead th {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.comparison-table tbody th {
  text-align: left;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}
.comparison-table td { font-size: 1rem; font-weight: 600; }
.comparison .disclaimer { margin-top: 18px; color: rgba(255, 255, 255, 0.7); font-size: 0.85rem; }

/* Process */
.process { background: radial-gradient(circle at 10% 20%, #14221d, #0b1712); color: #f8fbf7; }
.process .section-header h2 { color: #fff; }
.process .section-header .lede { color: rgba(255, 255, 255, 0.75); }
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.timeline li {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 18px;
}
.step {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #0b1712;
  font-weight: 700;
  margin-bottom: 12px;
}

/* Contact */
.contact { background: #fffdf9; }
.contact-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--stone);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.07);
}
.contact-form label { display: grid; gap: 6px; font-weight: 600; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  border-radius: 12px;
  border: 1px solid #d9d1c2;
  padding: 12px;
  font: inherit;
  background: var(--cream);
}
.contact-form .full { grid-column: 1 / -1; }
.contact-form button { justify-self: start; }
.small { font-size: 0.85rem; color: #616561; }

/* Footer */
.site-footer { background: #101915; color: #f6f2e7; padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.9rem; }

/* Responsive adjustments */
@media (max-width: 720px) {
  .nav { flex-wrap: wrap; justify-content: flex-end; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .comparison { padding: 24px; }
  .hero-grid { padding-block: 80px; }
}

/* Focus styles */
:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Fade-in animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
