:root {
  --bg: #f4f1eb;
  --surface: #fffdf9;
  --ink: #1c1917;
  --muted: #57534e;
  --accent: #0d4f4f;
  --accent-hover: #0a3d3d;
  --border: #e7e0d5;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(28, 25, 23, 0.08);
  font-family: "DM Sans", system-ui, sans-serif;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.brand-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.brand-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

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

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

.btn-ghost {
  background: transparent;
}

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

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(165deg, #e8f0ef 0%, var(--bg) 55%);
}

.hero-inner {
  max-width: 42rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

h1,
h2,
h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
}

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

.lead {
  font-size: 1.125rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Sections */
.section {
  padding: 3rem 0 4rem;
}

.page-header {
  padding: 2.5rem 0 1rem;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.5rem;
}

.section-head {
  margin-bottom: 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  background: #e8f0ef;
}

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

.product-card-body {
  padding: 1.25rem;
}

.product-card-body h2,
.product-card-body h3 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

.product-card-body h2 a,
.product-card-body h3 a {
  color: inherit;
  text-decoration: none;
}

.price {
  font-weight: 700;
  color: var(--accent);
}

.price-lg {
  font-size: 1.25rem;
}

.link-arrow::after {
  content: " →";
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.product-detail-media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.prose {
  max-width: 65ch;
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 2rem;
}

.about-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  padding: 1.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.stat-value {
  font-size: 2rem;
  font-family: "Instrument Serif", serif;
  margin: 0;
}

.stat-label {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Forms */
.form-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.onboarding-form {
  background: var(--surface);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.form-control,
.form-select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-aside {
  padding: 1.25rem;
  background: #e8f0ef;
  border-radius: var(--radius);
}

.form-aside ol {
  padding-left: 1.2rem;
}

.errorlist {
  color: #b91c1c;
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
}

/* Alerts */
.messages-wrap {
  padding-top: 1rem;
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-warning {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.narrow {
  max-width: 36rem;
}

.text-center {
  text-align: center;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0;
  background: #1c1917;
  color: #e7e5e4;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-brand {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.footer-meta a {
  color: #e7e5e4;
  text-decoration: none;
}

.footer-meta a:hover {
  text-decoration: underline;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-contact-link--whatsapp:hover {
  text-decoration: none;
}

.footer-contact-link--whatsapp:hover .footer-icon--whatsapp {
  color: #25d366;
}

.footer-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.footer-icon--whatsapp {
  width: 1.65rem;
  height: 1.65rem;
  color: #25d366;
}

.footer-tagline,
.footer-meta {
  color: #a8a29e;
  margin: 0.25rem 0;
}

.footer-heading {
  font-weight: 600;
  margin: 0 0 0.75rem;
}

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

.footer-links a {
  color: #e7e5e4;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
  }

  .nav-links.is-open {
    display: flex;
  }

  .product-detail,
  .about-layout,
  .form-layout,
  .two-col {
    grid-template-columns: 1fr;
  }
}

.hero-hint {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 36rem;
}

.smart-onboarding .step-title {
  font-size: 1.2rem;
  margin: 0 0 1rem;
  font-family: "Instrument Serif", serif;
}

.onboarding-progress {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.service-pick-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-pick {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
}

.service-pick:has(input:checked) {
  border-color: var(--accent);
  background: #e8f0ef;
}

.onboarding-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-secondary {
  background: #fff;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.scope-preview-box {
  background: #e8f0ef;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
}

.ai-disclaimer {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}
