/* just-bought-it.com shared styles */
:root {
  --yellow: #E8C547;
  --navy: #1C2B3A;
  --navy-light: #243447;
  --white: #FAFAF7;
  --gray: #F0EDE8;
  --line: #DDD7CE;
  --muted: #5F6E7A;
  --wa: #25D366;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--navy); font-family: 'DM Sans', sans-serif; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Nav */
nav { position: sticky; top: 0; z-index: 100; background: var(--navy); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: 'Anton', sans-serif; font-size: 24px; color: var(--yellow); letter-spacing: 1px; text-decoration: none; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { color: #fff; text-decoration: none; font-size: 15px; opacity: .85; }
.nav-links a:hover { opacity: 1; }
.nav-links .btn { opacity: 1; }
.menu-btn { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; padding: 13px 24px; border-radius: 6px; font-weight: 700; text-decoration: none; font-size: 15px; border: 2px solid transparent; cursor: pointer; font-family: inherit; }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 14px; }

/* Hero */
.hero { background: var(--navy); color: #fff; padding: 80px 0 96px; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--yellow); font-weight: 700; margin-bottom: 18px; }
.hero h1 { font-family: 'Anton', sans-serif; font-weight: 400; font-size: clamp(40px, 7vw, 76px); line-height: 1.05; letter-spacing: .5px; max-width: 900px; }
.hero h1 span { color: var(--yellow); }
.hero p.lead { font-size: 19px; max-width: 640px; margin: 22px 0 34px; color: #D5DCE2; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.15); }
.hero-facts div { font-size: 14px; color: #B9C3CC; }
.hero-facts strong { display: block; font-family: 'Anton', sans-serif; font-weight: 400; font-size: 30px; color: #fff; letter-spacing: .5px; }

/* Sections */
section { padding: 88px 0; }
section.alt { background: var(--gray); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head h2 { font-family: 'Anton', sans-serif; font-weight: 400; font-size: clamp(32px, 4.5vw, 46px); line-height: 1.1; letter-spacing: .5px; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 17px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 30px; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); }
.card ul { margin: 14px 0 0 18px; color: var(--muted); }
.card ul li { margin-bottom: 6px; }
.tag { display: inline-block; background: var(--yellow); color: var(--navy); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-bottom: 14px; letter-spacing: .5px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; }
.step { border-top: 3px solid var(--navy); padding-top: 18px; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: 'Anton', sans-serif; font-size: 28px; color: var(--yellow); -webkit-text-stroke: 1px var(--navy); display: block; margin-bottom: 8px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--muted); }

/* Pricing */
.price-card { display: flex; flex-direction: column; }
.price-card.feature { border: 2px solid var(--navy); position: relative; }
.price { font-family: 'Anton', sans-serif; font-weight: 400; font-size: 40px; margin: 6px 0 2px; letter-spacing: .5px; }
.price small { font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--muted); font-weight: 400; }
.price-card .btn { margin-top: auto; text-align: center; }
.price-card ul { margin-bottom: 24px; }
.fine { font-size: 14px; color: var(--muted); margin-top: 22px; }

/* Briefs */
.brief-card { text-decoration: none; display: block; transition: transform .15s; }
.brief-card:hover { transform: translateY(-3px); }
.brief-card .meta { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* Quote form */
.quote { background: var(--navy); color: #fff; }
.quote .section-head p { color: #C4CDD5; }
form.qf { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 820px; }
.qf label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.qf input, .qf select, .qf textarea { width: 100%; padding: 12px 14px; border-radius: 6px; border: 1px solid #3B4E61; background: var(--navy-light); color: #fff; font-family: inherit; font-size: 15px; }
.qf textarea { min-height: 110px; resize: vertical; }
.qf .full { grid-column: 1 / -1; }
.qf-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.qf-note { font-size: 13px; color: #9FAAB4; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { font-weight: 700; font-size: 17px; cursor: pointer; }
details p { color: var(--muted); margin-top: 10px; max-width: 760px; }

/* Article */
.article { max-width: 760px; margin: 0 auto; padding: 64px 24px 88px; }
.article h1 { font-family: 'Anton', sans-serif; font-weight: 400; font-size: clamp(32px, 5vw, 48px); line-height: 1.1; margin: 10px 0 16px; letter-spacing: .5px; }
.article h2 { font-size: 23px; margin: 40px 0 12px; }
.article p, .article li { color: #34495B; font-size: 17px; }
.article ul, .article ol { margin: 0 0 0 22px; }
.article li { margin-bottom: 8px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0; }
.stat { background: var(--gray); border-radius: 8px; padding: 16px; }
.stat strong { display: block; font-family: 'Anton', sans-serif; font-weight: 400; font-size: 28px; }
.stat span { font-size: 14px; color: var(--muted); }
table.spec { width: 100%; border-collapse: collapse; margin-top: 8px; }
table.spec th, table.spec td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 16px; }
table.spec th { background: var(--gray); }
.callout { background: var(--navy); color: #fff; border-radius: 10px; padding: 28px; margin-top: 44px; }
.callout p { color: #C9D2DA; margin: 8px 0 18px; }

/* Footer */
footer { background: #131E29; color: #9FAAB4; padding: 48px 0 32px; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
footer .logo { font-size: 20px; }
footer a { color: #D5DCE2; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .cols { display: flex; gap: 48px; flex-wrap: wrap; }
footer h4 { color: #fff; font-size: 14px; margin-bottom: 10px; }
footer .legal { width: 100%; border-top: 1px solid #263646; padding-top: 20px; margin-top: 12px; font-size: 13px; }

/* Floating contact bubble */
.bubble { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.bubble-btn { width: 60px; height: 60px; border-radius: 50%; background: var(--wa); border: 0; box-shadow: 0 6px 20px rgba(0,0,0,.25); cursor: pointer; display: grid; place-items: center; }
.bubble-btn svg { width: 32px; height: 32px; fill: #fff; }
.bubble-panel { display: none; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.2); width: 280px; overflow: hidden; }
.bubble.open .bubble-panel { display: block; }
.bubble-panel .bp-head { background: var(--navy); color: #fff; padding: 16px 18px; }
.bubble-panel .bp-head strong { display: block; font-size: 16px; }
.bubble-panel .bp-head span { font-size: 13px; color: #B9C3CC; }
.bubble-panel a { display: flex; align-items: center; gap: 12px; padding: 14px 18px; text-decoration: none; border-bottom: 1px solid var(--gray); font-weight: 700; font-size: 15px; }
.bubble-panel a:hover { background: var(--gray); }
.bubble-panel a small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 16px; color: #fff; }

/* Responsive */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 16px 24px 24px; gap: 16px; align-items: flex-start; }
  nav.open .nav-links { display: flex; }
  .wrap { padding: 0 16px; }
  .hero { padding: 56px 0 64px; }
  section { padding: 64px 0; }
  .grid-2, .steps { grid-template-columns: 1fr; }
  form.qf { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .hero-facts { gap: 24px; }
  .article { padding: 44px 16px 72px; }
}
