/* ==========================================================================
   Sell Ready SA — shared base stylesheet.
   Design direction: "Direct & Bold" with a Playfair display face (approved 2026-07-21).
   Playfair Display headings, Inter body, square corners, no shadows.

   Pages using this file must load:
   <link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">

   Bump the ?v= on every reference when this file changes. Cloudflare Pages
   serves it with max-age=14400, so an unversioned edit will not reach
   browsers that already have it.
   ========================================================================== */

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

/* Brand palette. Three locked colours, plus white and derived neutrals.
   Onyx carries a slight green cast, so the greys are derived from it
   rather than being pure neutral, which keeps the page from looking
   like two unrelated colour systems. */
:root {
  --alabaster: #E9E5E0;   /* Alabaster Grey — page base */
  --white:     #FFFFFF;   /* alternating sections, cards, form */
  --dusk:      #1F4D8B;   /* Dusk Blue — CTAs, eyebrows, accents. Matches the logo exactly. */
  --dusk-dark: #173C6D;   /* hover */
  --dusk-light:#8FB4E2;   /* accents on dark surfaces */
  --onyx:      #0C120C;   /* Onyx — text and dark sections */

  /* aliases kept so existing markup keeps working */
  --paper:     var(--alabaster);
  --paper-2:   #DFDAD3;
  --ink:       var(--onyx);
  --ink-soft:  #575E57;
  --ink-faint: #8A918A;
  --accent:      var(--dusk);
  --accent-dark: var(--dusk-dark);
  --accent-light:var(--dusk-light);
  --navy-deep:   var(--onyx);
  --navy-deeper: #060A06;

  --line:        rgba(12,18,12,0.14);
  --line-strong: rgba(12,18,12,0.28);

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --radius: 0px;          /* Direct & Bold: square throughout */
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--onyx);
  background: var(--alabaster);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

section { padding: 92px 24px; }
.sec-paper   { background: var(--alabaster); }
.sec-paper-2 { background: var(--white); }
.sec-ink     { background: var(--onyx); color: #E4E8E4; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 700; color: var(--dusk); margin-bottom: 16px;
}
.eyebrow-light { color: var(--dusk-light); }

h2.sec-h {
  font-family: var(--font-display); font-weight: 700;
  font-size: 46px; line-height: 1.08; letter-spacing: -0.018em;
  margin-bottom: 18px;
}
.sec-ink h2.sec-h { color: var(--white); }
.sec-lede { font-size: 17px; color: var(--ink-soft); max-width: 640px; line-height: 1.62; }
.sec-ink .sec-lede { color: #B4BCB4; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(233,229,224,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav-logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.nav-logo img { height: 34px; width: auto; }
.nav-logo .wm {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  letter-spacing: 0.01em; color: var(--dusk); line-height: 1; text-transform: uppercase;
}
.nav-logo .tag {
  display: block; font-family: var(--font-body); font-size: 8.5px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint);
  margin-top: 4px; font-weight: 600;
}
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--onyx); text-decoration: none; font-weight: 600; font-size: 15px;
  border: 1px solid var(--line-strong); padding: 10px 16px; border-radius: var(--radius);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.nav-phone:hover { background: var(--onyx); color: var(--white); border-color: var(--onyx); }

/* ---------- FORM ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 30px;
}
.form-card h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 26px;
  line-height: 1.16; letter-spacing: -0.015em; margin-bottom: 8px; color: var(--onyx);
}
.form-card .form-sub { font-size: 14px; color: var(--ink-soft); margin-bottom: 22px; line-height: 1.5; }
.field { margin-bottom: 13px; }
.field label {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 13px; font-family: var(--font-body); font-size: 15px;
  color: var(--onyx); background: var(--white);
  border: 1px solid var(--line-strong); border-radius: var(--radius); outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--dusk); box-shadow: inset 0 0 0 1px var(--dusk);
}
.field textarea { resize: vertical; min-height: 76px; }
.field select { cursor: pointer; }

.submit-btn {
  width: 100%; background: var(--dusk); color: var(--white);
  font-family: var(--font-body); font-size: 13.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 17px 20px; border: none; border-radius: var(--radius); cursor: pointer;
  margin-top: 8px; transition: background 0.15s;
}
.submit-btn:hover { background: var(--dusk-dark); }
.qualifier {
  font-size: 12.5px; color: var(--ink-faint); text-align: center;
  margin-top: 14px; line-height: 1.5;
}

/* ---------- BUTTONS ---------- */
.call-btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,255,255,0.35); color: var(--white); text-decoration: none;
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 15px 24px; border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}
.call-btn:hover { background: var(--white); color: var(--onyx); }
.call-btn-solid {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--dusk); color: var(--white); text-decoration: none;
  font-family: var(--font-body); font-weight: 700; font-size: 14px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 17px 28px; border: none; border-radius: var(--radius);
  transition: background 0.15s;
}
.call-btn-solid:hover { background: var(--dusk-dark); }

/* ---------- LISTS ---------- */
.tick-list { list-style: none; }
.tick-list li {
  position: relative; padding-left: 26px; margin-bottom: 11px;
  font-size: 15.5px; line-height: 1.5;
}
.tick-list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; background: var(--dusk);
}
.sec-ink .tick-list li { color: #DCE2DC; }
.sec-ink .tick-list li::before { background: var(--dusk-light); }

/* ---------- BEFORE / AFTER ---------- */
.ba-wrap { margin-top: 44px; }
.ba {
  position: relative; width: 100%; aspect-ratio: 3 / 2;
  overflow: hidden; user-select: none; cursor: ew-resize; background: #ccc;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after-wrap { position: absolute; inset: 0; width: 50%; overflow: hidden; }
.ba-after-wrap img { width: auto; height: 100%; max-width: none; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px;
  background: var(--white); transform: translateX(-50%); pointer-events: none;
}
.ba-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 46px; height: 46px; background: var(--white);
  display: flex; align-items: center; justify-content: center;
  color: var(--onyx); font-size: 17px; pointer-events: none;
}
.ba-tag {
  position: absolute; top: 0; font-family: var(--font-body);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 800; padding: 8px 14px; pointer-events: none;
}
.ba-tag.after  { left: 0;  background: var(--dusk); color: var(--white); }
.ba-tag.before { right: 0; background: var(--onyx); color: #E4E8E4; }
.ba-slug {
  background: var(--white); border: 1px solid var(--line-strong); border-top: none;
  padding: 14px 18px; display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: var(--ink-soft); flex-wrap: wrap; gap: 8px;
}
.ba-slug strong { color: var(--onyx); font-weight: 700; }

.pair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.pair { border: 1px solid var(--line-strong); background: var(--white); }
.pair img { width: 100%; height: 330px; object-fit: cover; }
.pair-cap { padding: 13px 16px; font-size: 13.5px; color: var(--ink-soft); }
.pair-cap strong { color: var(--onyx); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 44px auto 0; }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item:first-child { border-top: 1px solid var(--line-strong); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-size: 19px; font-weight: 600;
  letter-spacing: -0.01em; color: var(--onyx);
  text-align: left; padding: 24px 44px 24px 0; position: relative; line-height: 1.32;
}
.faq-q::after {
  content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 24px; color: var(--dusk); font-weight: 500; line-height: 1;
}
.faq-item.open .faq-q::after { content: '\2212'; }
.faq-a { display: none; padding: 0 44px 26px 0; font-size: 15.5px; color: var(--ink-soft); line-height: 1.68; }
.faq-item.open .faq-a { display: block; }

/* ---------- FOOTER ---------- */
.footer { background: var(--navy-deeper); color: #7F877F; padding: 56px 24px 40px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.footer-logo { margin-bottom: 12px; }
.footer-logo img { height: 62px; width: auto; }
.footer a { color: #C2C8C2; text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer-col p { font-size: 14.5px; line-height: 1.7; }
.footer-bottom {
  max-width: 1200px; margin: 38px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12); font-size: 13px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  h2.sec-h { font-size: 38px; }
  .pair-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  section { padding: 60px 24px; }
  .container { padding-left: 0; padding-right: 0; }
  h2.sec-h { font-size: 31px; line-height: 1.1; }
  .sec-lede { font-size: 16px; }
  .nav-logo .wm { font-size: 18px; }
  .nav-logo img { height: 30px; }
  .nav-phone { font-size: 13px; padding: 9px 12px; }
  .form-card { padding: 24px 22px; }
  .pair img { height: 250px; }
  .submit-btn { font-size: 13px; }
  .faq-q { font-size: 16px; }
}

@media (max-width: 380px) {
  .nav-phone span { display: none; }
  .nav-logo .tag { display: none; }
}
