/* ==========================================================================
   Renvo — Minimalist Italian Local Studio Stylesheet
   0 External CDNs · 0 Tracking Cookies · Mobile-First
   ========================================================================== */

:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --surface-muted: #f2efe9;
  --ink: #121518;
  --ink-muted: #555c65;
  --border: #e4dfd6;
  --accent: #c84b31;       /* Warm Emilia terracotta */
  --accent-hover: #ad3d26;
  --accent-soft: #fdf0ed;
  --dark: #14181d;
  --dark-card: #1d232b;
  --wa: #16803d;
  --wa-hover: #126a32;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(18, 21, 24, 0.06);
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
  background: rgba(18, 21, 24, 0.06);
  padding: 2px 6px;
  border-radius: 5px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.container {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  font-weight: 800;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-desktop a:not(.btn):hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 9px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-menu {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 0 24px;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.15s ease, border-color 0.18s ease;
  font-family: inherit;
  font-size: 0.96rem;
  padding: 12px 20px;
  text-align: center;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 9px 15px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

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

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

.btn-whatsapp {
  background: var(--wa);
  color: #fff;
}

.btn-whatsapp:hover {
  background: var(--wa-hover);
}

.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--ink);
}

/* Hero */
.hero {
  padding: 64px 0 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero-sub {
  margin: 0 0 28px;
  font-size: 1.08rem;
  color: var(--ink-muted);
  max-width: 56ch;
}

.hero-sub strong {
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.trust-list li::before {
  content: "✓ ";
  color: var(--wa);
  font-weight: 700;
}

/* Interactive Preview Card */
.preview-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--surface-muted);
  border-bottom: 1px solid var(--border);
}

.preview-dots {
  display: flex;
  gap: 6px;
}

.preview-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d5cfc4;
}

.preview-switch {
  display: inline-flex;
  background: #e7e2d9;
  padding: 3px;
  border-radius: 8px;
  gap: 3px;
}

.switch-btn {
  border: none;
  background: transparent;
  padding: 6px 12px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
}

.switch-btn.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.preview-body {
  padding: 20px;
}

.mock-status {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.mock-status.bad {
  background: #fdecec;
  color: #b42318;
}

.mock-status.good {
  background: #e7f6ec;
  color: var(--wa);
}

.mock-biz-old {
  border: 1px dashed #d6cfc2;
  border-radius: 12px;
  padding: 16px;
  background: #fcfbfa;
  margin-bottom: 14px;
}

.old-title {
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.old-rating {
  font-size: 0.85rem;
  color: #8c6d1f;
  margin-bottom: 12px;
}

.old-alert {
  font-size: 0.88rem;
  color: #9e2a2b;
  padding: 5px 0;
  border-top: 1px solid #f0ebe3;
}

.mock-outcome.bad-box {
  background: #fff6f5;
  border: 1px solid #f5d0cb;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.88rem;
  color: #7a271a;
}

.mock-site-new {
  background: var(--dark);
  color: #fff;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 14px;
}

.new-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: #86efac;
  margin-bottom: 8px;
}

.new-title {
  font-weight: 700;
  font-size: 1.06rem;
  line-height: 1.25;
  margin-bottom: 8px;
}

.new-desc {
  font-size: 0.86rem;
  color: #cbd5e1;
  margin: 0 0 14px;
}

.new-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.new-buttons span {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 7px;
}

.mock-btn-call {
  background: var(--accent);
  color: #fff;
}

.mock-btn-wa {
  background: var(--wa);
  color: #fff;
}

.mock-btn-map {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.mock-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
}

.mock-metrics div {
  background: var(--surface-muted);
  border-radius: 10px;
  padding: 10px 6px;
}

.mock-metrics strong {
  display: block;
  font-size: 1.02rem;
  color: var(--ink);
}

.mock-metrics span {
  font-size: 0.76rem;
  color: var(--ink-muted);
}

/* Sections */
.section {
  padding: 76px 0;
}

.section-muted {
  background: var(--surface-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-dark {
  background: var(--dark);
  color: #fff;
}

.section-head {
  max-width: 680px;
  margin-bottom: 42px;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 8px;
}

.tag-light {
  color: #f49784;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

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

.head-light p {
  color: #cbd5e1;
}

/* Cards */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 4px 16px rgba(18, 21, 24, 0.03);
}

.card-bordered {
  border: 1px solid var(--border);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  letter-spacing: -0.015em;
}

.card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.96rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.94rem;
}

.check-list li {
  position: relative;
  padding-left: 22px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--wa);
  font-weight: 800;
}

/* Niches Box */
.niches-box {
  margin-top: 34px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.niches-label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.niches-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.niches-pills span {
  font-size: 0.86rem;
  font-weight: 500;
  background: var(--surface-muted);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 26px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.step p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.step code {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Founder / Anti-Scam Trust Section */
.founder-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 38px;
  align-items: center;
}

.founder-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.founder-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dark), var(--accent));
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.founder-photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-soft);
  margin-bottom: 14px;
  display: block;
}

.founder-id {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.founder-id strong {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.founder-id span {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.founder-quote {
  margin: 0 0 18px;
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.65;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
}

.founder-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.founder-badges span {
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--surface-muted);
  padding: 6px 11px;
  border-radius: 999px;
}

.trust-guarantees h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 2.7vw, 2.2rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.trust-guarantees > p {
  margin: 0 0 24px;
  color: var(--ink-muted);
}

.guarantee-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 26px;
}

.guarantee-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.guarantee-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e7f6ec;
  color: var(--wa);
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.guarantee-item h3 {
  margin: 0 0 4px;
  font-size: 1.04rem;
}

.guarantee-item p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-muted);
}

/* Contact Tabs & In-Person Time Slots */
.contact-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--surface-muted);
  padding: 5px;
  border-radius: 11px;
  margin-bottom: 18px;
}

.contact-tab {
  border: none;
  background: transparent;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-muted);
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.contact-tab.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(18, 21, 24, 0.08);
}

.tab-intro {
  margin: 0 0 18px;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.slot-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.slot-btn {
  border: 1px solid var(--border);
  background: #fcfbfa;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.slot-btn:hover {
  border-color: var(--ink);
}

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

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.price-featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}

.featured-badge {
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.price-card h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}

.price-desc {
  margin: 0 0 16px;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.price-amount {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.price-amount span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.price-card .check-list {
  margin-bottom: 24px;
  flex-grow: 1;
}

.pricing-note {
  margin: 26px 0 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

/* FAQ */
.faq-wrap {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
}

.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--accent);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--ink-muted);
  font-size: 0.96rem;
}

/* Contact & Intake Form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-info h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.contact-info > p {
  margin: 0 0 24px;
  color: var(--ink-muted);
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-row {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.contact-row strong {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  margin-bottom: 2px;
}

.contact-row a {
  color: var(--accent);
  font-weight: 600;
}

.local-promise {
  padding: 16px 18px;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--ink);
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 15px;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.96rem;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fcfbfa;
  color: var(--ink);
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

.checkbox-field {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-field input {
  width: auto;
  margin-top: 4px;
}

.checkbox-field label {
  font-weight: 400;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.checkbox-field a {
  color: var(--accent);
  text-decoration: underline;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.form-status {
  margin: 12px 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  min-height: 1.4em;
}

.form-status.ok {
  color: var(--wa);
}

.form-status.err {
  color: #b42318;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 40px 0 92px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 360px;
}

.footer-brand p {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.footer-meta {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.footer-meta p {
  margin: 0 0 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  background: var(--wa);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(22, 128, 61, 0.35);
  transition: transform 0.16s ease, background-color 0.16s ease;
}

.wa-float:hover {
  background: var(--wa-hover);
  transform: translateY(-2px);
}

/* Legal Page */
.legal-page {
  padding: 56px 0 80px;
  max-width: 780px;
}

.legal-page h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.legal-page h2 {
  margin: 28px 0 8px;
  font-size: 1.2rem;
}

.legal-page p,
.legal-page li {
  color: var(--ink-muted);
}

/* Responsive */
@media (max-width: 920px) {
  .hero-grid,
  .founder-grid,
  .cards-3,
  .steps-grid,
  .pricing-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 44px 0 56px;
  }

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 720px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 20px;
  }
}
