/* JC Home Solutions — site styles
   Colours come from the logo: deep navy background, steel-blue "J", gold "C".
   Change a colour here and it changes everywhere. */

:root {
  --navy-950: #0a111e;
  --navy-900: #0f1829;   /* logo background */
  --navy-800: #16223a;
  --navy-700: #1f3052;   /* the "J" */
  --navy-600: #2c4372;
  --gold-600: #b5802c;
  --gold-500: #d9a041;   /* the "C" */
  --gold-400: #ebb95f;
  --gold-300: #f5d08c;
  --silver:   #e7e5e0;   /* logo lettering */
  --mist:     #a3afc4;   /* secondary text on navy */
  --paper:    #f7f5f0;   /* light sections */
  --white:    #ffffff;
  --ink:      #18202f;   /* body text on light */
  --ink-soft: #4b5568;
  --line:     #e2ddd2;

  --font-head: "Saira", "Segoe UI", system-ui, sans-serif;
  --font-body: "Barlow", "Segoe UI", system-ui, sans-serif;

  --radius: 10px;
  --shadow: 0 10px 30px rgba(10, 17, 30, 0.12);
  --wrap: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy-600); }
a:hover { color: var(--gold-600); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--navy-900);
}
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold-500); color: var(--navy-950);
  padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.2em; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-head); font-weight: 600;
  font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.85em 1.5em;
  border-radius: 6px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-950);
}
.btn-gold:hover { color: var(--navy-950); background: var(--gold-400); }
.btn-outline { border-color: var(--gold-500); color: var(--gold-400); background: transparent; }
.btn-outline:hover { background: var(--gold-500); color: var(--navy-950); }
.btn-navy { background: var(--navy-800); color: var(--silver); }
.btn-navy:hover { background: var(--navy-700); color: var(--white); }

/* ---------- Maintenance banner ---------- */

.maint-banner {
  background: var(--gold-500);
  color: var(--navy-950);
  text-align: center;
  font-family: var(--font-head); font-weight: 600;
  font-size: 0.95rem; letter-spacing: 0.02em;
  padding: 10px 20px;
}

/* ---------- Top bar + header ---------- */

.topbar {
  background: var(--navy-950);
  color: var(--mist);
  font-size: 0.9rem;
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: 6px 24px;
  justify-content: space-between; padding-top: 7px; padding-bottom: 7px;
}
.topbar a { color: var(--gold-400); text-decoration: none; font-weight: 600; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }

.site-header {
  background: var(--navy-900);
  border-bottom: 1px solid rgba(217, 160, 65, 0.35);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
/* Shows just the JC mark from the top of the square logo image */
.brand-mark {
  width: 56px; height: 56px; flex: none;
  background: var(--navy-900) url("/img/logo.jpg") no-repeat;
  background-size: 190%;
  background-position: 50% 17%;
  border-radius: 6px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-head); font-weight: 700;
  font-size: 1.2rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--silver); white-space: nowrap;
}
.brand-sub {
  font-family: var(--font-head); font-size: 0.68rem;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-500);
  margin-top: 4px; white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none; border: 1px solid rgba(231, 229, 224, 0.3);
  color: var(--silver); border-radius: 6px; padding: 8px 10px; cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }

.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 4px;
}
.site-nav a {
  display: block; padding: 10px 12px;
  font-family: var(--font-head); font-weight: 500; font-size: 0.92rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--silver); text-decoration: none; border-radius: 6px;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--gold-400); }
.site-nav a[aria-current="page"] { color: var(--gold-400); box-shadow: inset 0 -2px 0 var(--gold-500); border-radius: 0; }
.site-nav .nav-cta a { margin-left: 8px; padding: 10px 16px; }
.site-nav .nav-cta a,
.site-nav .nav-cta a:hover { color: var(--navy-950); box-shadow: none; border-radius: 6px; }

@media (max-width: 1160px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(217, 160, 65, 0.35);
    padding: 8px 20px 20px;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold-500); }
  .site-nav .nav-cta a { margin: 10px 0 0; justify-content: center; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 50% 115%, rgba(235, 185, 95, 0.28), transparent 70%),
    radial-gradient(ellipse 60% 80% at 85% 0%, rgba(44, 67, 114, 0.55), transparent 70%),
    var(--navy-900);
  color: var(--silver);
  padding: 84px 0 96px;
}
.hero::after { /* thin gold rule, like the one under the logo's "LLC" */
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(560px, 80%); height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.hero .wrap {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center;
}
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero .lead { font-size: 1.2rem; color: var(--mist); max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head); font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: 14px;
}

.hero-card {
  background: linear-gradient(160deg, rgba(31, 48, 82, 0.85), rgba(15, 24, 41, 0.9));
  border: 1px solid rgba(217, 160, 65, 0.35);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.hero-card h2 { color: var(--white); font-size: 1.3rem; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(163, 175, 196, 0.15); }
.check-list li:last-child { border-bottom: 0; }
.check-list .icon { color: var(--gold-400); margin-top: 3px; }

/* Smaller banner used at the top of inner pages */
.page-hero { padding: 64px 0 60px; }
.page-hero .wrap { display: block; }
.page-hero .lead { max-width: 46em; }

.breadcrumb { font-size: 0.9rem; color: var(--mist); margin-bottom: 10px; }
.breadcrumb a { color: var(--gold-400); text-decoration: none; }

@media (max-width: 860px) {
  .hero { padding: 56px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Sections ---------- */

.section { padding: 80px 0; }
.section-alt { background: var(--white); }
.section-navy { background: var(--navy-900); color: var(--silver); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: var(--mist); }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.section-navy .section-head p { color: var(--mist); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

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

/* ---------- Cards ---------- */

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 0 rgba(10, 17, 30, 0.03);
  transition: box-shadow 0.2s, transform 0.2s;
}
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: inherit; }
.card p { color: var(--ink-soft); margin-bottom: 0.6em; }
.card .more {
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-600);
}
.card-featured { border-top: 4px solid var(--gold-500); }

.card-icon {
  width: 52px; height: 52px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--navy-900); color: var(--gold-400);
  margin-bottom: 18px;
}
.card-icon .icon { width: 26px; height: 26px; }

.section-navy .card {
  background: var(--navy-800); border-color: rgba(163, 175, 196, 0.15);
}
.section-navy .card p { color: var(--mist); }

.tick-list { list-style: none; margin: 0 0 1em; padding: 0; }
.tick-list li { position: relative; padding: 5px 0 5px 28px; }
.tick-list li::before {
  content: ""; position: absolute; left: 4px; top: 0.85em;
  width: 10px; height: 6px;
  border-left: 2px solid var(--gold-600); border-bottom: 2px solid var(--gold-600);
  transform: rotate(-45deg);
}
.tick-list.cols { columns: 2; column-gap: 32px; }
@media (max-width: 640px) { .tick-list.cols { columns: 1; } }

/* ---------- Stats strip ---------- */

.stats { background: var(--navy-800); color: var(--silver); padding: 34px 0; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: 2.1rem; color: var(--gold-400); line-height: 1.1; }
.stat-label { font-size: 0.92rem; color: var(--mist); text-transform: uppercase; letter-spacing: 0.1em; }
@media (max-width: 720px) { .stats .wrap { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Steps ---------- */

.steps { counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-head); font-weight: 700; font-size: 2.2rem;
  color: var(--gold-500);
}

/* ---------- Testimonials ---------- */

.review { display: flex; flex-direction: column; }
.review blockquote { margin: 0 0 18px; font-size: 1.05rem; color: var(--ink); flex: 1; }
.review .stars { color: var(--gold-500); letter-spacing: 3px; margin-bottom: 10px; }
.review cite { font-style: normal; font-weight: 600; color: var(--navy-800); }
.review .meta { font-size: 0.9rem; color: var(--ink-soft); }
/* "Sample" tag on placeholder reviews. Delete the <span class="sample-tag"> when
   a review is replaced with a real one. */
.sample-tag {
  display: inline-block; align-self: flex-start;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); background: var(--paper); border: 1px dashed var(--line);
  border-radius: 4px; padding: 1px 8px; margin-bottom: 12px;
}

/* ---------- Projects ---------- */

.project { padding: 0; overflow: hidden; }
.project-media {
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(235, 185, 95, 0.25), transparent 60%),
    linear-gradient(135deg, var(--navy-700), var(--navy-950));
  color: var(--gold-400);
}
.project-media .icon { width: 64px; height: 64px; opacity: 0.9; }
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-body { padding: 22px 24px 26px; }
.tag {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 6px;
}

/* ---------- FAQ ---------- */

.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 12px; padding: 0 22px;
}
.faq summary {
  cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem;
  color: var(--navy-900); padding: 18px 30px 18px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 14px;
  font-size: 1.5rem; color: var(--gold-600); font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 18px; color: var(--ink-soft); }
.faq h2 { margin-top: 40px; }
.faq h2:first-child { margin-top: 0; }

/* ---------- Pricing / info tables ---------- */

.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--navy-900); color: var(--silver); font-family: var(--font-head); font-weight: 600; letter-spacing: 0.04em; }
.price-table td:last-child { font-weight: 600; color: var(--navy-800); white-space: nowrap; }
.fine-print { font-size: 0.9rem; color: var(--ink-soft); margin-top: 12px; }

/* ---------- Callouts ---------- */

.callout {
  border-left: 4px solid var(--gold-500);
  background: var(--white);
  padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}
.callout strong { color: var(--navy-900); }
.section-alt .callout { background: var(--paper); }
.section-navy .callout { background: var(--navy-800); color: var(--silver); }
.section-navy .callout strong { color: var(--gold-400); }

.logo-frame {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 17, 30, 0.35);
  border: 1px solid rgba(217, 160, 65, 0.35);
}

/* ---------- Service area ---------- */

.areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.areas li {
  background: var(--navy-800); color: var(--silver);
  border: 1px solid rgba(217, 160, 65, 0.3);
  padding: 7px 14px; border-radius: 999px; font-size: 0.95rem;
}

/* ---------- Contact ---------- */

.contact-methods { display: grid; gap: 16px; }
.contact-method { display: flex; gap: 16px; align-items: flex-start; }
.contact-method .card-icon { margin: 0; }
.contact-method h3 { margin-bottom: 2px; }
.contact-method a { font-size: 1.2rem; font-weight: 600; text-decoration: none; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }

/* ---------- CTA band ---------- */

.cta-band {
  background:
    radial-gradient(ellipse 60% 120% at 100% 50%, rgba(235, 185, 95, 0.22), transparent 70%),
    var(--navy-800);
  color: var(--silver); padding: 56px 0;
}
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: var(--mist); margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-950); color: var(--mist); padding: 64px 0 0; font-size: 0.97rem; }
.site-footer .wrap.cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 {
  color: var(--silver); font-size: 0.9rem; letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--mist); text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); }
.site-footer .tagline { color: var(--gold-500); font-family: var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; }
.footer-bottom {
  margin-top: 48px; border-top: 1px solid rgba(163, 175, 196, 0.15);
  padding: 20px 0; font-size: 0.88rem;
}
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (max-width: 900px) { .site-footer .wrap.cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .wrap.cols { grid-template-columns: 1fr; } }

/* ---------- Utilities ---------- */

.hero .lead a { color: var(--gold-400); }
.split.top { align-items: start; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.muted { color: var(--ink-soft); }
