/* ============================================
   HOWTOSOCIAL — DESIGN SYSTEM (matched to live site)
   Extracted from the real HTS agency homepage.
   Display: Bodoni Moda (serif). Body: Jost (sans).
   Palette: burgundy / cream / gold / ink.
   ============================================ */

:root {
  --burgundy: #5E0812;
  --burgundy-deep: #40050C;
  --cream: #F7F3ED;
  --gold: #C7A36A;
  --ink: #161616;
  --line-dark: rgba(247,243,237,0.16);
  --line-light: rgba(22,22,22,0.12);

  --serif: 'Bodoni Moda', serif;
  --sans: 'Jost', sans-serif;

  --maxw: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-weight: 300; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 56px; }
.serif { font-family: var(--serif); font-weight: 500; }
.serif-italic { font-family: var(--serif); font-style: italic; font-weight: 400; }
.eyebrow { font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 400; color: var(--gold); }
.bg-burgundy { background: var(--burgundy); color: var(--cream); }
.bg-cream { background: var(--cream); color: var(--ink); }

/* ---------- Nav (matched to live site) ---------- */
header.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(247,243,237,0.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-light);
}
nav.wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 92px; max-width: none; width: 100%; padding: 0 48px;
}
.logo { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.04em; text-transform: uppercase; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; transition: opacity 0.3s ease; }
.nav-links a:hover { opacity: 1; }
.nav-cta { border: 1px solid var(--ink); padding: 12px 26px; border-radius: 100px; opacity: 1 !important; transition: all 0.3s ease; }
.nav-cta:hover { background: var(--burgundy); color: var(--cream); border-color: var(--burgundy); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ---------- Buttons (matched to live site) ---------- */
.btn {
  display: inline-block; padding: 17px 38px; border-radius: 100px;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 400;
  transition: all 0.4s cubic-bezier(.16,1,.3,1); border: none; cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.btn-outline-dark { border: 1px solid var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--cream); }
.btn-outline-light { border: 1px solid rgba(247,243,237,0.5); color: var(--cream); }
.btn-outline-light:hover { background: var(--cream); color: var(--burgundy); border-color: var(--cream); }

/* ---------- Section head pattern (matched to live site) ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 90px; }
.section-head .eyebrow { margin-bottom: 22px; display: block; }
.section-head h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.15; }
.section-head p { margin-top: 24px; font-size: 0.98rem; opacity: 0.65; }

section { padding: 100px 0; }
section.tight { padding: 64px 0; }
.hr { border: none; border-top: 1px solid var(--line-light); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--cream); border: 1px solid var(--line-light); border-radius: 16px; padding: 40px; color: var(--ink); }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; margin-bottom: 16px; }
.card p { font-size: 0.92rem; opacity: 0.7; line-height: 1.8; }

/* Numbered markers — only for genuine sequence (the 3 calls) */
.num-marker {
  font-family: var(--serif); font-weight: 500; font-style: italic; font-size: 1.1rem; color: var(--gold);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: var(--burgundy);
}

/* ---------- Forms ---------- */
.form-field { margin-bottom: 26px; }
.form-field label { display: block; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; margin-bottom: 10px; }
.form-field .hint { font-size: 0.8rem; opacity: 0.55; margin-top: 8px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; font-family: var(--sans); font-size: 1rem; font-weight: 300;
  padding: 15px 18px; border: 1px solid var(--line-light); background: #fff;
  border-radius: 8px; color: var(--ink);
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--gold); outline: none; }
.form-status { padding: 16px 20px; border-radius: 8px; font-size: 0.92rem; margin-top: 18px; display: none; }
.form-status.show { display: block; }
.form-status.success { background: #E5EDE2; color: #3A5A32; border: 1px solid #B9CFB1; }
.form-status.error { background: #F7E2DE; color: #8B3A2B; border: 1px solid #E7B7AC; }
.connect-point { background: #FBF0DD; border: 1px dashed var(--gold); padding: 10px 14px; font-size: 0.78rem; color: var(--burgundy); margin-top: 10px; border-radius: 8px; }

/* ---------- Footer (matched to live site) ---------- */
footer.bg-cream { padding: 56px 0 36px; border-top: 1px solid var(--line-light); }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-logo { font-family: var(--serif); font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; }
.footer-links { display: flex; gap: 28px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }
.footer-copy { margin-top: 20px; font-size: 0.75rem; opacity: 0.5; }

.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.max-620 { max-width: 620px; }
.max-720 { max-width: 720px; }
