/* Concierge Construction Services — site styles */
:root {
  /* Brand colors from the CCS logo: navy #1f3a5c, gold #e5ad4f */
  --ink: #1f3a5c;
  --navy-deep: #172c46;
  --ink-2: #34465c;
  --muted: #5b6878;
  --line: #d9dde3;
  --paper: #f5f6f8;
  --white: #ffffff;
  --gold: #e5ad4f;
  --gold-hover: #d89a34;
  --wood: #9a6714;       /* darker gold for text on light backgrounds */
  --wood-dark: #7a500c;
  --wood-light: #fbf0dc;
  --steel: #2f5d7c;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06);
  --max: 1160px;
  --head: "Oswald", "Arial Narrow", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wood-dark); }
a:hover { color: var(--wood); }
h1, h2, h3, h4 {
  font-family: var(--head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); text-transform: uppercase; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section.alt { background: var(--paper); }
.section.dark { background: var(--ink); color: #d3dbe5; }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.dark .eyebrow { color: var(--gold); }
.eyebrow {
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .85rem;
  color: var(--wood);
  font-weight: 500;
  margin-bottom: .6em;
  display: block;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--head); text-transform: uppercase; letter-spacing: .06em;
  font-size: 1rem; font-weight: 500;
  padding: .85em 1.6em; border-radius: 6px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-hover); color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-light { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }

/* Top bar + header */
.topbar { background: var(--ink); color: #cfcbc4; font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { color: var(--wood-light); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--head); text-transform: uppercase; letter-spacing: .06em;
  font-size: .98rem; color: var(--ink); text-decoration: none;
  padding: 10px 14px; border-radius: 6px;
}
.nav a:hover { background: var(--paper); color: var(--wood-dark); }
.nav a.active { color: var(--wood); }
.nav a.btn { color: var(--ink); margin-left: 8px; padding: .7em 1.2em; }
.nav a.btn:hover { background: var(--gold-hover); color: var(--ink); }
.nav a { white-space: nowrap; }
@media (max-width: 1180px) {
  .nav { gap: 0; }
  .nav a { padding: 10px 9px; font-size: .92rem; letter-spacing: .04em; }
  .nav a.btn { padding: .65em 1em; margin-left: 6px; }
}
.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px; display: none;
    box-shadow: 0 12px 20px rgba(0,0,0,.08);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a.btn { margin: 14px 0 0; justify-content: center; border-radius: 6px; border-bottom: 0; }
  .site-header .wrap { height: 72px; }
  .brand img { height: 52px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* Blueprint grid background */
.blueprint {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(47,93,124,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,93,124,.07) 1px, transparent 1px),
    linear-gradient(rgba(47,93,124,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,93,124,.04) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
}

/* Hero */
.hero { padding: 72px 0 80px; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--wood); }
.hero-art {
  background: var(--white); border-radius: 14px; padding: clamp(24px, 5vw, 48px);
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.hero-points { list-style: none; padding: 0; margin: 1.6em 0 0; display: grid; gap: 8px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; }
.hero-points svg { flex: none; margin-top: 4px; color: var(--wood); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 48px 0 56px; }
}

/* Page banner */
.page-banner { padding: 64px 0 56px; border-bottom: 1px solid var(--line); }
.page-banner .lead { margin-bottom: 0; }

/* Cards / grids */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card p { color: var(--muted); }
.card .more { margin-top: auto; font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; text-decoration: none; }
.icon {
  width: 54px; height: 54px; border-radius: 10px;
  background: var(--wood-light); color: var(--wood-dark);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card.featured { border-top: 4px solid var(--wood); }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -4px;
  font-family: var(--head); font-size: 2rem; color: var(--gold); font-weight: 600;
}
.section.dark .step p { color: #b8c4d2; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split > *, .hero .wrap > *, .grid > *, .cols > * { min-width: 0; }
.contact-list a, .site-footer a { overflow-wrap: anywhere; }
@media (max-width: 640px) { .topbar { display: none; } }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { padding: 8px 0 8px 34px; position: relative; border-bottom: 1px dashed var(--line); }
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: 15px; width: 14px; height: 8px;
  border-left: 3px solid var(--wood); border-bottom: 3px solid var(--wood); transform: rotate(-45deg);
}

/* Service detail blocks */
.service-block { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding: 48px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.service-block:last-child { border-bottom: 0; }
.service-block h2 { font-size: 1.8rem; }
.service-block .icon { width: 70px; height: 70px; }
.service-block ul { columns: 2; column-gap: 32px; padding-left: 1.1em; margin: 0 0 1em; }
.service-block li { break-inside: avoid; margin-bottom: 4px; }
@media (max-width: 760px) {
  .service-block { grid-template-columns: 1fr; gap: 12px; }
  .service-block ul { columns: 1; }
}

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.filters button {
  font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; font-size: .9rem;
  padding: .55em 1.1em; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); color: var(--ink); cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }
.project { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.project[hidden] { display: none; }
.project .photo { aspect-ratio: 4 / 3; background: var(--paper); position: relative; overflow: hidden; }
.project .photo img { width: 100%; height: 100%; object-fit: cover; }
.project .photo.placeholder {
  display: grid; place-items: center; color: var(--muted); text-align: center;
  background-color: #eef1f3;
  background-image:
    linear-gradient(rgba(47,93,124,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,93,124,.09) 1px, transparent 1px);
  background-size: 22px 22px;
}
.project .photo.placeholder div { font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.project .photo.placeholder svg { margin: 0 auto 8px; color: var(--steel); opacity: .6; }
.project figcaption { padding: 16px 18px 18px; }
.project .tag { font-family: var(--head); text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; color: var(--wood); }
.project h3 { font-size: 1.1rem; margin: 2px 0 4px; }
.project p { font-size: .95rem; color: var(--muted); margin: 0; }

/* CTA band */
.cta-band { background: var(--gold); color: var(--ink); padding: 56px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: var(--ink); margin: 0 0 .2em; }
.cta-band p { margin: 0; color: var(--ink-2); }
.cta-band .btn-light { border-color: var(--ink); color: var(--white); background: var(--ink); }
.cta-band .btn-light:hover { background: var(--navy-deep); color: var(--white); }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 32px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 22px; } }
label { display: block; font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: 6px; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid #c9c4ba; border-radius: 8px; background: var(--white);
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(165,98,42,.25); border-color: var(--wood); }
textarea { min-height: 140px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: 6px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.radio-row label { display: flex; align-items: center; gap: 8px; font-weight: 400; margin: 0; }
.radio-row input { width: auto; }
.hidden { display: none; }
.form-note { font-size: .9rem; color: var(--muted); margin-top: 14px; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { width: 46px; height: 46px; margin: 0; flex: none; }
.contact-list strong { display: block; font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); font-weight: 500; }
.contact-list a { text-decoration: none; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #aebbc9; padding: 56px 0 24px; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .site-footer .cols { grid-template-columns: 1fr; gap: 28px; } }

/* FAQ */
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; position: relative;
  font-family: var(--head); font-size: 1.15rem; color: var(--ink); font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--wood); line-height: 1; }
.faq[open] summary::after { content: "\2013"; }
.faq p { padding: 0 22px 20px; margin: 0; color: var(--muted); }
/* About stats */
.stats-card { padding: 32px; border-top: 4px solid var(--gold); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; margin-top: 6px; }
.stats strong { display: block; font-family: var(--head); font-size: 2.6rem; line-height: 1; color: var(--ink); font-weight: 600; }
.stats span { display: block; margin-top: 6px; color: var(--muted); font-size: .95rem; line-height: 1.35; }
a.card h3 { color: var(--ink); }
a.card:hover { border-color: var(--gold); }
.site-footer h4 { color: var(--white); text-transform: uppercase; letter-spacing: .1em; font-size: .95rem; font-weight: 500; }
.site-footer a { color: #e6e2dc; text-decoration: none; }
.site-footer a:hover { color: var(--wood-light); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer .logo { height: 64px; width: auto; margin-bottom: 14px; }
.site-footer .legal { border-top: 1px solid #34373b; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .85rem; }

/* Mobile call bar */
.call-bar { display: none; }
@media (max-width: 640px) {
  .call-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    box-shadow: 0 -4px 16px rgba(0,0,0,.12);
  }
  .call-bar a {
    text-align: center; padding: 14px 8px; font-family: var(--head); text-transform: uppercase;
    letter-spacing: .06em; text-decoration: none; color: var(--white); background: var(--ink);
  }
  .call-bar a + a { background: var(--gold); color: var(--ink); }
  body { padding-bottom: 52px; }
  .section { padding: 56px 0; }
}
