/* Navaveza marketing site.
   Palette and type deliberately match the app: Playfair Display headings over
   Poppins body, warm gold on ivory, so the site and the product feel like one
   thing rather than two. */

:root {
  --ink: #1A1613;
  --gold: #C2A24C;
  --gold-dark: #A07C2C;
  --ivory: #F6F1E8;
  --cream: #FFFDF8;
  --taupe: #8A8178;
  --line: rgba(26, 22, 19, 0.10);
  --radius: 16px;
  --wrap: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.12rem; font-family: 'Poppins', sans-serif; font-weight: 700; }
p { margin: 0.6rem 0; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 24px;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; font-size: 0.94rem; font-weight: 500; color: var(--ink); opacity: 0.85; }
.nav-links a:hover { opacity: 1; color: var(--gold-dark); }
.nav-links a.btn:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 12px 22px; border: 0; cursor: pointer;
  border-radius: 999px; background: var(--ink); color: #fff;
  font-family: inherit; font-size: 0.95rem; font-weight: 600; text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: #000; transform: translateY(-1px); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: rgba(26, 22, 19, 0.06); }
.btn.full { width: 100%; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 1.6px; font-size: 0.74rem;
  font-weight: 700; color: var(--gold-dark); margin: 0 0 12px;
}
.lede { font-size: 1.08rem; color: #4a443e; max-width: 34em; margin-top: 18px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fine { font-size: 0.84rem; color: var(--taupe); margin-top: 18px; }

/* A suggestion of the app rather than a screenshot — no stale UI to maintain. */
.hero-art { display: flex; justify-content: center; }
.phone {
  width: 260px; padding: 12px; border-radius: 34px;
  background: var(--ink);
  box-shadow: 0 24px 60px rgba(26, 22, 19, 0.28);
}
.phone-screen {
  background: var(--cream); border-radius: 24px; padding: 18px 16px; min-height: 420px;
}
.chip {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.3px;
  background: rgba(194, 162, 76, 0.18); color: var(--gold-dark);
  padding: 6px 12px; border-radius: 999px;
}
.chip.subtle { background: rgba(26, 22, 19, 0.06); color: var(--taupe); margin-top: 14px; }
.card-row { display: flex; gap: 10px; margin: 14px 0; }
.mini-card {
  flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 10px; font-size: 0.72rem; color: var(--taupe); line-height: 1.5;
}
.mini-card b { color: var(--ink); font-size: 0.9rem; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; }
.dot.green { background: #16A34A; }
.bar { height: 90px; border-radius: 12px; background: linear-gradient(135deg, rgba(194,162,76,0.22), rgba(26,22,19,0.06)); margin-bottom: 10px; }
.bar.short { height: 40px; }
.pill {
  margin-top: 14px; text-align: center; background: var(--ink); color: #fff;
  border-radius: 999px; padding: 11px; font-size: 0.82rem; font-weight: 600;
}

/* ---------- strip ---------- */
.strip { background: var(--ink); color: var(--cream); padding: 28px 0; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.strip-grid b { display: block; font-size: 1rem; }
.strip-grid span { font-size: 0.85rem; opacity: 0.7; }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section.alt { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-lede { font-size: 1.03rem; color: #4a443e; max-width: 46em; margin-top: 10px; }

.grid-3, .grid-2 { display: grid; gap: 20px; margin-top: 38px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(3, 1fr); }

.feature {
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px;
}
.section.alt .feature { background: var(--ivory); }
.feature h3 { margin-bottom: 6px; }
.feature p { color: #55504a; font-size: 0.94rem; margin: 0; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 38px; }
.step { position: relative; padding: 26px 22px; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); }
.num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: #fff; font-weight: 700; margin-bottom: 12px;
}
.step p { color: #55504a; font-size: 0.94rem; }

/* ---------- faq ---------- */
details {
  background: var(--cream); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; margin-top: 12px;
}
details + details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; float: right; color: var(--gold-dark); font-weight: 700; }
details[open] summary::after { content: '–'; }
details p { color: #55504a; font-size: 0.94rem; margin-bottom: 0; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; }
.contact-list li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.contact-list span { display: inline-block; width: 90px; color: var(--taupe); font-size: 0.85rem; }

.card { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.field .opt { color: var(--taupe); font-weight: 400; }
input, select, textarea {
  width: 100%; padding: 12px 14px; font-family: inherit; font-size: 0.95rem;
  color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 10px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
input.invalid, textarea.invalid { border-color: #DC2626; }
textarea { resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { font-size: 0.8rem; color: var(--taupe); margin: -6px 0 14px; }
.form-status { margin: 14px 0 0; font-size: 0.9rem; min-height: 1.2em; }
.form-status.ok { color: #16A34A; }
.form-status.err { color: #DC2626; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding: 52px 0 26px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer p { color: rgba(255, 253, 248, 0.65); font-size: 0.92rem; max-width: 30em; }
.footer h4 { font-family: 'Poppins', sans-serif; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 12px; color: var(--gold); }
.footer a { display: block; color: rgba(255, 253, 248, 0.78); text-decoration: none; font-size: 0.92rem; padding: 4px 0; }
.footer a:hover { color: #fff; }
.copyright { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255, 253, 248, 0.14); font-size: 0.84rem; color: rgba(255, 253, 248, 0.55); }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .grid-3, .grid-2, .steps { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 24px 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .nav-links a.btn { text-align: center; margin-top: 8px; }
  .hero { padding: 44px 0 40px; }
  .section { padding: 54px 0; }
  .grid-3, .grid-2, .steps, .two, .strip-grid, .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
