/* GoldFinchRenovation - site styles */
:root {
  --ink: #1d2320;
  --ink-2: #47504a;
  --muted: #6b736d;
  --bg: #faf7f0;
  --paper: #ffffff;
  --line: #e6dfcf;
  --gold: #e9b81f;
  --gold-2: #a87c05;
  --gold-soft: #fbefc4;
  --olive: #2f3a2c;
  --dark: #1a201c;
  --on-dark: #eef0e8;
  --on-dark-2: #c3c9bd;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(29, 35, 32, .09);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--gold-2); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  line-height: 1.15;
  margin: 0 0 .55em;
  letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.1vw, 2.3rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { left: 12px; top: 12px; }

/* Top bar */
.topbar { background: var(--olive); color: var(--on-dark-2); font-size: .86rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 8px 20px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--gold); }
.topbar-links { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 700px) {
  .topbar .container { justify-content: center; }
  .topbar-tagline, .topbar-links a[href^="mailto"] { display: none; }
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 240, .96); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 1.28rem; letter-spacing: -.01em; }
.brand-name span { color: var(--gold-2); }
.brand-tag { font-size: .74rem; color: var(--muted); letter-spacing: .02em; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav a { display: block; padding: 9px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav a:hover { background: var(--gold-soft); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav a.nav-cta { background: var(--gold); color: var(--ink); font-weight: 700; margin-left: 8px; }
.nav a.nav-cta:hover { background: var(--ink); color: #fff; }

.menu-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; padding: 0; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s ease; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 940px) {
  .menu-toggle { display: inline-flex; }
  .header-inner { position: static; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 4px; }
  .nav a { padding: 12px 14px; border-radius: 10px; }
  .nav a.nav-cta { margin: 8px 0 0; text-align: center; }
  .brand-tag { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease; font-family: inherit; line-height: 1.2; }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: #f4cc4b; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--olive); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero and page heads (dark bands) */
.hero, .page-head {
  color: var(--on-dark);
  background:
    radial-gradient(circle at 88% 12%, rgba(233, 184, 31, .28), transparent 42%),
    radial-gradient(circle at 5% 100%, rgba(233, 184, 31, .10), transparent 40%),
    linear-gradient(160deg, var(--dark) 0%, var(--olive) 100%);
}
.hero h1, .page-head h1 { color: #fff; }
.hero { padding: 72px 0 84px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-grid > *, .split > *, .grid > * { min-width: 0; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.hero .lead, .page-head .lead { color: var(--on-dark-2); font-size: 1.16rem; max-width: 40em; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--on-dark); }
.hero-points svg { flex: none; margin-top: 4px; }
@media (max-width: 900px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

.page-head { padding: 52px 0 60px; }
.page-head .lead { margin-bottom: 0; }
.breadcrumb { font-size: .88rem; margin-bottom: 18px; color: var(--on-dark-2); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* Forms */
.form-card { background: var(--paper); color: var(--ink); border-radius: 18px; padding: 30px; box-shadow: 0 24px 60px rgba(0, 0, 0, .28); }
.form-card.flat { box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-title { font-family: "Fraunces", Georgia, serif; font-size: 1.45rem; font-weight: 700; margin: 0 0 4px; }
.form-sub { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fdfcf8; border: 1.5px solid var(--line); border-radius: 10px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-2); outline: none; box-shadow: 0 0 0 3px rgba(233, 184, 31, .3); }
.field textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } .form-card { padding: 22px; } }
.form-card .btn { width: 100%; margin-top: 4px; }
.form-note { font-size: .84rem; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.14rem; color: var(--ink-2); }
.kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 10px; }
@media (max-width: 700px) { .section { padding: 60px 0; } }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (max-width: 380px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section-alt .card { background: var(--bg); }
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .more { font-weight: 700; text-decoration: none; }
.icon { width: 52px; height: 52px; border-radius: 14px; background: var(--gold-soft); color: var(--ink); display: grid; place-items: center; margin-bottom: 18px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split.wide-left { grid-template-columns: 1.25fr .75fr; }
@media (max-width: 900px) { .split, .split.wide-left { grid-template-columns: 1fr; gap: 32px; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231d2320' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.section-alt .steps li { background: var(--bg); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 2rem; color: var(--gold-2); line-height: 1; margin-bottom: 12px; }
.steps h3 { font-size: 1.12rem; }
.steps p { margin: 0; color: var(--ink-2); font-size: .97rem; }

/* Callout panel */
.panel { background: var(--olive); color: var(--on-dark); border-radius: 18px; padding: 34px; }
.panel h3 { color: #fff; }
.panel p { color: var(--on-dark-2); }
.panel .checklist li::before { background-color: var(--gold); }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .97rem; }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--ink); color: #fff; font-weight: 600; }
.compare thead th:nth-child(2) { background: var(--gold); color: var(--ink); }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare tbody th { font-weight: 600; width: 26%; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.section-alt .faq details { background: var(--bg); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--gold-2); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-2); padding-bottom: 6px; }

/* Showroom swatches and door styles */
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 640px) { .swatches { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.swatch { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.swatch-chip { height: 130px; border-bottom: 1px solid var(--line); }
.swatch-body { padding: 14px 16px 16px; }
.swatch-body strong { display: block; }
.swatch-body span { font-size: .88rem; color: var(--muted); }
.door { text-align: left; }
.door svg { width: 100%; height: auto; max-width: 170px; margin: 0 auto 20px; }
.sheen-scale { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.sheen { border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); background: var(--paper); }
.sheen .bar { height: 10px; border-radius: 6px; margin-bottom: 14px; background: linear-gradient(90deg, #3a3d40, #3a3d40); }
.sheen h3 { font-size: 1.08rem; }
.sheen p { margin: 0; font-size: .95rem; color: var(--ink-2); }

/* Contact cards */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { width: 44px; height: 44px; margin: 0; border-radius: 12px; flex: none; }
.contact-list strong { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.contact-list a { font-weight: 700; font-size: 1.08rem; text-decoration: none; color: var(--ink); word-break: break-word; }
.contact-list a:hover { color: var(--gold-2); }

/* CTA band */
.cta-band { background: var(--gold); color: var(--ink); padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: .25em; max-width: 22ch; }
.cta-inner p { margin: 0; color: #3b3a2c; max-width: 52ch; }
.cta-band .btn-dark:hover { background: #fff; color: var(--ink); }

/* Footer */
.site-footer { background: var(--dark); color: var(--on-dark-2); padding: 64px 0 0; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand-name span { color: var(--gold); }
.footer-title { font-family: "Fraunces", Georgia, serif; color: #fff; font-weight: 700; font-size: 1.08rem; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { margin-top: 48px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Mobile call button */
.call-fab { display: none; }
@media (max-width: 700px) {
  .call-fab { display: inline-flex; position: fixed; right: 16px; bottom: 16px; z-index: 60; align-items: center; gap: 8px; padding: 13px 18px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
  .site-footer { padding-bottom: 70px; }
}

.text-muted { color: var(--muted); }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 28px; }
.note { font-size: .9rem; color: var(--muted); }
