/* USBlueTongue.com — shared stylesheet (wukongherp-inspired: dark cinematic hero, deep dark body) */
:root {
  --bg: #14100c;
  --bg-deep: #0f0c08;
  --surface: #1e1811;
  --border: #3a2e1e;
  --text: #f2e9d6;
  --muted: #c6b699;
  --faint: #998a6e;
  --accent: #e85d24;
  --accent-hover: #f0743a;
  --accent-ink: #fff8f0;
  --amber: #e85d24;
  --ink: #0e0c0a;
  --ink-soft: #1a1613;
  --cream: #f5efdf;
  --cream-dim: #b9b0a0;
  --radius: 16px;
  --maxw: 1100px;
  --serif: Georgia, "Times New Roman", "Noto Serif", serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav (dark) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 12, 10, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #262019;
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 104px;
}
.brand img { height: 74px; width: auto; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 14.5px; color: var(--cream-dim); font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid #3a3226; border-radius: 8px; color: var(--cream); font-size: 20px; padding: 4px 12px; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; padding: 13px 28px; border-radius: 999px; font-size: 15px;
  border: none; cursor: pointer; transition: background .15s ease;
}
.btn:hover { background: var(--accent-hover); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn.sm { padding: 9px 20px; font-size: 13.5px; }
.btn[disabled] { opacity: .55; cursor: default; }
.nav-cta { border-radius: 999px; }

/* ---------- Hero (full-bleed shingleback photo, text overlaid) ---------- */
.hero-mobile-img { display: none; }
.hero {
  position: relative;
  background: #0e0c0a url("assets/shingleback-hero.jpg") center 60% / cover no-repeat;
  color: var(--cream);
  padding: 0;
}
.hero::before {
  content: ""; display: block; height: 5px; position: relative; z-index: 2;
  background: linear-gradient(90deg, #f5c542, var(--accent), #f5c542);
}
.hero::after {
  content: ""; position: absolute; inset: 5px 0 0; z-index: 0;
  background: linear-gradient(180deg, rgba(12,9,7,.66), rgba(12,9,7,.30) 45%, rgba(12,9,7,.72));
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 840px; margin: 0 auto; padding: 132px 24px 112px;
  text-align: center;
}
.hero-inner .lead { margin-left: auto; margin-right: auto; }
.hero-inner .cta-row { justify-content: center; }
.kicker {
  color: var(--accent); font-weight: 700; letter-spacing: 2.5px;
  font-size: 12px; text-transform: uppercase; margin-bottom: 16px;
}
h1 {
  font-family: var(--serif); font-style: italic; font-weight: 800;
  font-size: 52px; line-height: 1.08; letter-spacing: -.5px; margin-bottom: 20px; color: #fff;
}
h1 .blue { color: var(--accent); }
.lead { color: var(--cream-dim); font-size: 17.5px; margin-bottom: 30px; max-width: 500px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-row .btn.ghost { color: var(--cream); border-color: #4a4132; }
.cta-row .btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.hero-photo img { width: 100%; border-radius: 20px; border: 1px solid #2c251c; }

/* ---------- Ticker ---------- */
.ticker { background: #000; overflow: hidden; border-top: 1px solid #262019; border-bottom: 1px solid #262019; }
.ticker-track {
  display: inline-flex; align-items: center; gap: 34px; white-space: nowrap;
  padding: 14px 0; animation: ticker 26s linear infinite;
}
.ticker-track span {
  font-family: var(--serif); font-style: italic; font-weight: 700;
  font-size: 21px; color: var(--cream); letter-spacing: .5px;
}
.ticker-track i { color: var(--accent); font-style: normal; font-size: 18px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { border-bottom: 1px solid var(--border); background: var(--bg); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding: 28px 24px; text-align: center; max-width: var(--maxw); margin: 0 auto; }
.stats-grid b { font-size: 28px; display: block; letter-spacing: -.5px; font-family: var(--serif); font-style: italic; }
.stats-grid span { color: var(--faint); font-size: 13.5px; }

/* ---------- Sections ---------- */
section.block { padding: 68px 0; }
section.block.tint { background: var(--bg-deep); }
h2 {
  font-family: var(--serif); font-style: italic; font-weight: 800;
  font-size: 34px; letter-spacing: -.5px; margin-bottom: 10px;
}
.sub { color: var(--faint); margin-bottom: 34px; font-size: 16px; }
.center { text-align: center; }
.center .sub { max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.card img { width: 100%; height: 240px; object-fit: cover; }
.card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 19px; margin-bottom: 8px; font-family: var(--serif); font-style: italic; }
.card p { color: var(--faint); font-size: 14.5px; margin-bottom: 16px; flex: 1; }
.card .price { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.card .price small { font-size: 13px; color: var(--faint); font-weight: 400; }

.tag {
  display: inline-block; align-self: flex-start;
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 20px; margin-bottom: 12px;
}
.tag.live { background: rgba(232, 93, 36, .12); color: var(--accent); }
.tag.soon { background: rgba(190, 150, 80, .16); color: #d9a75a; }
.tag.sold { background: rgba(141, 132, 113, .15); color: var(--faint); }

/* ---------- Two-column feature ---------- */
.feature { display: grid; grid-template-columns: .95fr 1.05fr; gap: 52px; align-items: center; }
.feature img { width: 100%; border-radius: 20px; border: 1px solid var(--border); }
.feature p { color: var(--muted); margin-bottom: 16px; }
.feature.reverse { direction: rtl; }
.feature.reverse > * { direction: ltr; }

/* ---------- Project detail rows ---------- */
.prow { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; padding: 44px 0; border-bottom: 1px solid var(--border); }
.prow:last-child { border-bottom: none; }
.prow img { width: 100%; border-radius: 18px; border: 1px solid var(--border); }
.prow h3 { font-size: 26px; margin-bottom: 10px; font-family: var(--serif); font-style: italic; }
.prow p { color: var(--muted); margin-bottom: 14px; }
.prow ul { color: var(--muted); margin: 0 0 18px 20px; font-size: 15px; }
.prow ul li { margin-bottom: 6px; }

/* ---------- Care guide ---------- */
.care-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.care-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.care-card h3 { font-size: 19px; margin-bottom: 12px; color: var(--accent); font-family: var(--serif); font-style: italic; }
.care-card p, .care-card li { color: var(--muted); font-size: 15px; }
.care-card ul { margin-left: 20px; }
.care-card li { margin-bottom: 8px; }
.note { background: rgba(232, 93, 36, .07); border: 1px solid rgba(232, 93, 36, .28); border-radius: 12px; padding: 18px 22px; color: var(--muted); font-size: 14.5px; margin-top: 28px; }
.note b { color: var(--accent); }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 40px; max-width: 640px; margin: 0 auto; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; background: #14100c; border: 1px solid var(--border); border-radius: 10px;
  padding: 13px 16px; color: var(--text); font-size: 15px; font-family: inherit;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; color: var(--faint); margin-top: 14px; text-align: center; }
.form-note a { color: var(--accent); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item h4 { font-size: 17px; margin-bottom: 8px; font-family: var(--serif); font-style: italic; }
.faq-item p { color: var(--muted); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, #171208, #0e0c0a);
  border: 1px solid #3a2c17; border-radius: 22px;
  padding: 56px 32px; text-align: center; color: var(--cream);
}
.cta-band h2 { margin-bottom: 12px; color: #fff; }
.cta-band p { color: var(--cream-dim); margin-bottom: 28px; }
.cta-band .row { display: flex; gap: 12px; max-width: 460px; margin: 0 auto; }
.cta-band input {
  flex: 1; background: #1c1712; border: 1px solid #4a3d28; border-radius: 999px;
  padding: 13px 18px; color: #fff; font-size: 15px; font-family: inherit;
}

/* ---------- Footer (dark) ---------- */
footer { border-top: 1px solid #262019; padding: 44px 0 32px; background: var(--ink); color: var(--cream); }
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.foot-grid img { height: 46px; margin-bottom: 14px; }
.foot-grid .col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--cream-dim); margin-bottom: 14px; }
.foot-grid .col a { display: block; color: var(--cream-dim); font-size: 14.5px; margin-bottom: 10px; }
.foot-grid .col a:hover { color: #fff; }
.foot-bottom { margin-top: 36px; padding-top: 24px; border-top: 1px solid #262019; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--cream-dim); font-size: 13px; }

/* ---------- Page hero ---------- */
.page-hero { padding: 64px 0 12px; }
.page-hero h1 { font-size: 42px; color: var(--text); }
.page-hero .lead { max-width: 640px; color: var(--muted); }

/* Photo banner variant — cinematic, like the homepage hero */
.page-hero.photo {
  position: relative; color: var(--cream);
  background: #0e0c0a center 42% / cover no-repeat;
  padding: 104px 0 88px; margin-bottom: 8px;
}
.page-hero.photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,9,7,.64), rgba(12,9,7,.34) 55%, rgba(12,9,7,.68));
}
.page-hero.photo .wrap { position: relative; z-index: 1; text-align: center; }
.page-hero.photo .kicker { color: var(--accent); }
.page-hero.photo h1 { color: #fff; }
.page-hero.photo .lead { color: var(--cream-dim); margin-left: auto; margin-right: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  h1 { font-size: 36px; }
  .page-hero h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  .kicker { font-size: 10.5px; letter-spacing: 1.6px; }
  .hero-inner { padding: 72px 20px 60px; }
  .hero-inner .lead { font-size: 16px; }
  /* Mobile: show the full photo uncropped above the text */
  .hero { background: #0e0c0a; }
  .hero::after { display: none; }
  .hero-mobile-img { display: block; width: 100%; height: auto; }
  .hero .hero-inner { padding: 40px 20px 56px; }
  .page-hero.photo { padding: 76px 0 60px; }
  .feature, .prow { grid-template-columns: 1fr; gap: 32px; }
  .cards, .care-grid { grid-template-columns: 1fr; }
  .nav-inner { height: 92px; }
  .brand img { height: 62px; }
  .nav-links {
    display: none; position: absolute; top: 92px; left: 0; right: 0;
    background: var(--ink); flex-direction: column; align-items: stretch;
    padding: 12px 24px 20px; border-bottom: 1px solid #262019; gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid #262019; font-size: 16px; }
  .nav-links a:last-child { border-bottom: none; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .cta-band .row { flex-direction: column; }
  section.block { padding: 52px 0; }
  .ticker-track span { font-size: 17px; }
}
