/* ============================================================
   MindMarketing — Shared Design System v2
   Font: system sans-serif (no web font dependency)
   ============================================================ */

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

:root {
  --font-display: -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-body:    -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --accent: #d94f2a;
  --accent-light: #fff1ed;
  --accent-dark: #b33e1f;
  --bg: #faf9f7;
  --surface: #ffffff;
  --dark: #1c1714;
  --dark2: #2a2218;
  --text: #2a2420;
  --muted: #7a7168;
  --faint: #b0a99e;
  --border: #ece8e2;
  --border2: #e0dbd4;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 2px 8px rgba(28,23,20,.06);
  --shadow-md: 0 4px 16px rgba(28,23,20,.09);
  --shadow-lg: 0 12px 40px rgba(28,23,20,.13);
  --tr: 0.2s ease;
  --max-w: 1200px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Skip link */
.skip-link { position: absolute; top: -40px; left: 16px; padding: 8px 16px; background: var(--accent); color: white; border-radius: 0 0 8px 8px; font-size: 14px; font-weight: 600; z-index: 9999; transition: top .2s; }
.skip-link:focus { top: 0; }

/* Layout */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px)  { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 48px; } }
.section      { padding: 80px 0; }
.section-sm   { padding: 56px 0; }
.section-dark { background: var(--dark); }
.section-white { background: var(--surface); }

/* ── Buttons ─────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1; transition: all var(--tr); white-space: nowrap; min-height: 48px; }
.btn-primary { background: var(--accent); color: white; border: 2px solid var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(217,79,42,.3); }
.btn-outline { background: transparent; color: var(--text); border: 2px solid var(--border2); }
.btn-outline:hover { border-color: var(--text); transform: translateY(-1px); }
.btn-ghost { background: var(--accent-light); color: var(--accent); border: 2px solid transparent; }
.btn-ghost:hover { background: var(--accent); color: white; }
.btn-white { background: white; color: var(--dark); border: 2px solid white; }
.btn-white:hover { background: var(--bg); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--dark); color: white; border: 2px solid var(--dark); }
.btn-dark:hover { background: var(--dark2); border-color: var(--dark2); transform: translateY(-1px); }
.btn-lg { padding: 15px 28px; font-size: 16px; min-height: 54px; }
.btn-sm { padding: 9px 16px; font-size: 13px; min-height: 38px; }
.btn-full { width: 100%; }

/* ── Navigation ──────────────────────────────────── */
#site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: background .3s, box-shadow .3s; }
#site-nav.scrolled { background: rgba(250,249,247,.94); backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%); box-shadow: 0 1px 0 var(--border), var(--shadow); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.nav-logo { display: flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; color: var(--dark); flex-shrink: 0; }
.nav-logo-mark { width: 34px; height: 34px; border-radius: 8px; background: var(--accent); display: flex; align-items: center; justify-content: center; color: white; font-size: 15px; font-weight: 800; flex-shrink: 0; }
.nav-links { display: none; align-items: center; gap: 2px; flex: 1; justify-content: center; }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-link { padding: 7px 13px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; color: var(--muted); transition: all var(--tr); }
.nav-link:hover { color: var(--text); background: var(--border); }
.nav-link.active { color: var(--accent); background: var(--accent-light); }
.nav-actions { display: none; align-items: center; gap: 8px; }
@media (min-width: 900px) { .nav-actions { display: flex; } }
.nav-hamburger { width: 42px; height: 42px; border-radius: var(--radius-sm); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: var(--surface); border: 1.5px solid var(--border); transition: all var(--tr); flex-shrink: 0; }
@media (min-width: 900px) { .nav-hamburger { display: none; } }
.ham-bar { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s ease; transform-origin: center; }
.nav-hamburger.open .ham-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open .ham-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open .ham-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile { position: fixed; inset: 0; background: var(--bg); z-index: 999; padding: 88px 20px 40px; display: flex; flex-direction: column; gap: 4px; transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1); overflow-y: auto; }
.nav-mobile.open { transform: translateX(0); }
.nav-mobile a { display: block; padding: 15px 16px; font-size: 20px; font-weight: 800; color: var(--text); border-radius: var(--radius); transition: all var(--tr); }
.nav-mobile a:hover, .nav-mobile a.active { color: var(--accent); background: var(--accent-light); }
.nav-mobile-cta { margin-top: 20px; }

/* Mobile CTA bar */
.mobile-cta-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 900; padding: 10px 16px; background: var(--bg); border-top: 1px solid var(--border); box-shadow: 0 -4px 20px rgba(0,0,0,.08); }
@media (max-width: 767px) { .mobile-cta-bar { display: block; } body { padding-bottom: 72px; } }

/* Breadcrumbs */
.breadcrumbs { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--faint); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--muted); transition: color var(--tr); }
.breadcrumbs a:hover { color: var(--accent); }

/* ── Typography tokens ───────────────────────────── */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow::before { content: ''; display: block; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; flex-shrink: 0; }
.section-title { font-family: var(--font-display); font-size: clamp(26px, 4vw, 46px); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; color: var(--dark); margin-bottom: 14px; }
.section-lead { font-size: clamp(15px, 1.4vw, 18px); color: var(--muted); line-height: 1.7; max-width: 540px; }

/* ── Price pill ──────────────────────────────────── */
.price-pill { display: inline-block; font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .05em; background: var(--accent-light); padding: 4px 10px; border-radius: 100px; }

/* ── Price table ─────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1.5px solid var(--border); -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; border-collapse: collapse; min-width: 500px; }
.price-table thead th { background: var(--bg); padding: 12px 16px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); text-align: left; border-bottom: 1px solid var(--border); }
.price-table tbody td { padding: 16px; font-size: 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover td { background: var(--accent-light); }
.td-price { font-weight: 700; color: var(--accent); white-space: nowrap; }
.incl-list { display: flex; flex-direction: column; gap: 3px; }
.incl-list li { font-size: 13px; color: var(--muted); padding-left: 14px; position: relative; }
.incl-list li::before { content: '·'; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
@media (max-width: 600px) {
  .table-wrap { overflow-x: auto; border-radius: var(--radius); }
  .price-table { min-width: 0; }
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; width: 100%; }
  .price-table tr { padding: 16px; border-bottom: 1px solid var(--border); }
  .price-table tr:last-child { border-bottom: none; }
  .price-table td { padding: 0; border: none; font-size: 14px; }
  .price-table td:first-child { font-size: 15px; margin-bottom: 6px; }
  .td-price { display: inline-block; margin-bottom: 8px; background: var(--accent-light); padding: 3px 10px; border-radius: 100px; white-space: normal; }
}

/* ── FAQ ─────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; text-align: left; cursor: pointer; background: none; border: none; font-family: var(--font-body); }
.faq-question { font-size: 16px; font-weight: 700; color: var(--dark); line-height: 1.4; }
.faq-btn:hover .faq-question { color: var(--accent); }
.faq-icon { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--muted); transition: all var(--tr); }
.faq-btn[aria-expanded="true"] .faq-icon { background: var(--accent); border-color: var(--accent); color: white; transform: rotate(45deg); }
.faq-body { overflow: hidden; max-height: 0; transition: max-height .4s cubic-bezier(.4,0,.2,1); }
.faq-body-inner { padding-bottom: 20px; font-size: 15px; color: var(--muted); line-height: 1.75; }

/* ── Contact form ────────────────────────────────── */
.form-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: clamp(20px, 5vw, 44px); }
.form-title { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--dark); margin-bottom: 6px; }
.form-subtitle { font-size: 14px; color: var(--muted); margin-bottom: 24px; line-height: 1.6; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-control { width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--border); background: var(--bg); font-family: var(--font-body); font-size: 15px; color: var(--text); transition: all var(--tr); outline: none; line-height: 1.5; }
.form-control:focus { border-color: var(--accent); background: white; box-shadow: 0 0 0 3px rgba(217,79,42,.12); }
.form-control::placeholder { color: var(--faint); }
.form-control.error { border-color: #dc2626; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23b0a99e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
textarea.form-control { resize: vertical; min-height: 90px; }
.form-error { font-size: 12px; color: #dc2626; margin-top: 4px; display: none; }
.form-error.visible { display: block; }
.form-privacy { font-size: 11px; color: var(--faint); text-align: center; margin-top: 12px; line-height: 1.5; }
.form-success { display: none; text-align: center; padding: 40px 16px; }
.form-success.visible { display: block; }
.form-success-icon { font-size: 44px; margin-bottom: 12px; }
.form-success-title { font-size: 20px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.form-success-text { color: var(--muted); font-size: 15px; line-height: 1.7; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* ── Footer ──────────────────────────────────────── */
footer { background: var(--dark2); padding: 64px 0 0; border-top: 1px solid rgba(255,255,255,.06); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 56px; }
@media (min-width: 768px)  { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-logo { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 800; color: white; margin-bottom: 14px; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,.4); line-height: 1.7; max-width: 280px; margin-bottom: 20px; }
.footer-contacts { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-link { font-size: 14px; color: rgba(255,255,255,.5); transition: color var(--tr); word-break: break-all; }
.footer-contact-link:hover { color: white; }
.footer-col-title { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: rgba(255,255,255,.3); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 14px; color: rgba(255,255,255,.5); transition: color var(--tr); }
.footer-link:hover { color: white; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.06); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,.25); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,.25); transition: color var(--tr); }
.footer-legal a:hover { color: rgba(255,255,255,.6); }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }

/* Google Partner badge */
.partner-badge { display: inline-block; margin-top: 22px; background: white; padding: 10px 14px; border-radius: 10px; transition: transform var(--tr), box-shadow var(--tr); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.partner-badge:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.partner-badge img { display: block; height: 96px; width: auto; }
@media (max-width: 480px) { .partner-badge { margin-top: 18px; } .partner-badge img { height: 84px; } }

/* ── Reveal animation ────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── Shared JS nav script (applied via inline script on each page) ── */
