/* Jaimes Handyman Remodeling — site styles
   Plain CSS, no build step. Colors + type live in :root. */

:root {
  --navy: #14233a;
  --navy-deep: #0d1728;
  --ink: #1c2129;
  --muted: #5b6573;
  --amber: #e8892b;
  --amber-dark: #c66d12;
  --paper: #f8f5ef;
  --paper-2: #efe9df;
  --white: #ffffff;
  --line: #e1dbd0;
  --green: #2e7d4f;
  --red: #b3412c;
  --shadow: 0 10px 30px rgba(20, 35, 58, .10);
  --radius: 14px;
  --font-head: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.05;
  margin: 0 0 .5em;
  color: var(--navy);
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.45rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tight { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-navy { background: var(--navy); color: #e9edf3; }
.section-navy h2, .section-navy h3 { color: var(--white); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .95rem;
  color: var(--amber-dark);
  margin-bottom: .6rem;
}
.section-navy .eyebrow { color: var(--amber); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.section-navy .lead { color: #c7cfdb; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Skip link */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--navy); padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; letter-spacing: .03em; text-transform: uppercase;
  padding: .85rem 1.5rem; border-radius: 10px; text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--navy-deep); box-shadow: 0 6px 18px rgba(232, 137, 43, .35); }
.btn-primary:hover { background: #f29a3f; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Top bar */
.topbar { background: var(--navy-deep); color: #d5dce6; font-size: .92rem; }
.topbar-inner { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .45rem 0; }
.topbar .stars { color: var(--amber); letter-spacing: .05em; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar .status { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #8a94a3; display: inline-block; }
.status-dot.open { background: #4ccb7f; }
.status-dot.closed { background: #e07a5f; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding: .7rem 0; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; letter-spacing: .02em; }
.brand-text em { font-style: normal; font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; color: var(--amber-dark); font-weight: 600; margin-top: .2rem; }
.nav { display: flex; gap: 1.4rem; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 1rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--amber); color: var(--navy); }
.header-cta { margin-left: .5rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 2px solid var(--navy); border-radius: 8px; padding: .4rem .55rem; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 24px; height: 24px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; padding: clamp(2.5rem, 6vw, 5rem) 0; }
.hero h1 { margin-bottom: .6rem; }
.hero h1 span { color: var(--amber-dark); }
.hero .lead { font-size: 1.2rem; margin-bottom: 1.6rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.hero-proof { display: flex; gap: 1.5rem; flex-wrap: wrap; color: var(--muted); font-size: .95rem; }
.hero-proof strong { color: var(--navy); font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; display: block; line-height: 1; }
.hero-art { filter: drop-shadow(0 20px 30px rgba(20,35,58,.18)); }
.hero-art svg { width: 100%; height: auto; }

/* Trust strip */
.trust { background: var(--navy); color: #dfe5ee; }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.1rem 0; }
.trust-item { display: flex; align-items: center; gap: .7rem; font-size: .98rem; }
.trust-item svg { width: 28px; height: 28px; flex: none; color: var(--amber); }
.trust-item strong { color: var(--white); display: block; font-family: var(--font-head); font-size: 1.15rem; letter-spacing: .02em; line-height: 1.1; }

/* Cards / grids */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
  box-shadow: 0 2px 0 rgba(20,35,58,.03);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-top: .9rem; }
.card p { color: var(--muted); margin-bottom: .6rem; }
.card ul { margin: 0; padding-left: 1.1rem; color: var(--ink); font-size: .96rem; }
.card ul li { margin: .2rem 0; }
.icon-badge { width: 52px; height: 52px; border-radius: 12px; background: var(--paper-2); display: grid; place-items: center; color: var(--navy); }
.icon-badge svg { width: 30px; height: 30px; }
.card-link { display: inline-block; margin-top: .6rem; font-weight: 600; text-decoration: none; color: var(--amber-dark); }
.card-link:hover { text-decoration: underline; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-head p { margin: 0; }

/* Service detail blocks (services page) */
.service-block { display: grid; grid-template-columns: 72px 1fr; gap: 1.4rem; padding: 1.8rem 0; border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: 0; }
.service-block .icon-badge { width: 72px; height: 72px; }
.service-block .icon-badge svg { width: 40px; height: 40px; }
.service-block h3 { font-size: 1.8rem; margin-bottom: .3rem; }
.service-block .lead { font-size: 1.05rem; margin-bottom: .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.chips li { background: var(--paper-2); border: 1px solid var(--line); padding: .3rem .75rem; border-radius: 999px; font-size: .92rem; }

/* Projects */
.project { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.project-art { aspect-ratio: 4 / 3; background: var(--paper-2); }
.project-art svg, .project-art img { width: 100%; height: 100%; object-fit: cover; }
.project-body { padding: 1.1rem 1.25rem 1.3rem; }
.project-body h3 { font-size: 1.35rem; margin-bottom: .25rem; }
.project-body p { color: var(--muted); font-size: .97rem; margin: 0; }
.project-tag { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--amber-dark); }
.illustration-note { font-size: .9rem; color: var(--muted); margin-top: 1.2rem; }

/* Reviews */
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.review .stars { color: var(--amber); letter-spacing: .08em; font-size: 1.05rem; }
.review blockquote { margin: 0; font-size: 1.02rem; }
.review blockquote p { margin-bottom: .6em; }
.review footer { margin-top: auto; font-size: .92rem; color: var(--muted); }
.review footer strong { color: var(--navy); }
.review footer a { color: var(--muted); }
.rating-summary { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.5rem; margin-bottom: 2rem; }
.rating-summary .big { font-family: var(--font-head); font-size: 3rem; font-weight: 700; color: var(--navy); line-height: 1; }
.rating-summary .stars { color: var(--amber); font-size: 1.4rem; letter-spacing: .08em; }
.rating-summary p { margin: 0; color: var(--muted); }

/* Why us */
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.why-list li { display: grid; grid-template-columns: 40px 1fr; gap: .9rem; align-items: start; }
.why-list svg { width: 40px; height: 40px; color: var(--amber); }
.why-list strong { display: block; font-family: var(--font-head); font-size: 1.3rem; color: var(--navy); }
.why-list span { color: var(--muted); }
.section-navy .why-list strong { color: var(--white); }
.section-navy .why-list span { color: #c7cfdb; }

/* Service areas */
.area-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.area-map svg { width: 100%; height: auto; }
.area-list { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1.5rem; list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.area-list li { display: flex; align-items: center; gap: .5rem; }
.area-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }
.area-list li.hq { font-weight: 600; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--amber) 0%, #f2a04f 100%); color: var(--navy-deep); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.5rem 0; flex-wrap: wrap; }
.cta-band h2 { color: var(--navy-deep); margin: 0 0 .2rem; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band .btn-primary { background: var(--navy); color: var(--white); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--navy-deep); }

/* Hours + contact */
.info-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; font-weight: 500; }
.hours-table tr.today td { color: var(--amber-dark); font-weight: 700; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.contact-list li { display: grid; grid-template-columns: 28px 1fr; gap: .8rem; align-items: start; }
.contact-list svg { width: 26px; height: 26px; color: var(--amber-dark); }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list small { color: var(--muted); display: block; }
.pay-methods { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .4rem; }
.pay-methods span { background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; padding: .15rem .55rem; font-size: .88rem; }

/* Form */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: grid; gap: 1rem; }
.form label { font-weight: 600; font-size: .95rem; display: grid; gap: .3rem; }
.form input, .form select, .form textarea {
  font: inherit; padding: .7rem .85rem; border: 1px solid #c9c2b6; border-radius: 8px; background: var(--paper); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--amber); border-color: var(--amber); }
.form textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0 1.2rem; margin-bottom: .7rem; }
.faq summary { cursor: pointer; font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; padding: .9rem 0; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--amber-dark); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 1rem; margin: 0; color: var(--muted); }

/* Breadcrumb + page hero */
.page-hero { background: var(--navy); color: #dfe5ee; padding: clamp(2.2rem, 5vw, 3.5rem) 0; }
.page-hero h1 { color: var(--white); margin-bottom: .4rem; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero .lead { color: #c7cfdb; }
.crumbs { font-size: .9rem; margin-bottom: .8rem; color: #aab4c3; }
.crumbs a { color: #dfe5ee; text-decoration: none; }
.crumbs span { margin: 0 .4rem; }

/* Prose */
.prose { max-width: 70ch; }
.prose p { font-size: 1.08rem; }
.prose h2 { margin-top: 2rem; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #b8c1ce; padding: 3rem 0 1.5rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.site-footer h4 { color: var(--white); font-size: 1.1rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .8rem; }
.site-footer a { color: #dfe5ee; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-brand .brand-text strong { color: var(--white); }
.footer-brand .brand-text em { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: #8b96a6; }

/* Sticky mobile call bar */
.call-bar { display: none; }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin-inline: auto; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .area-inner, .info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1rem; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .nav .header-cta { margin: .8rem 0 0; justify-content: center; }
  .nav-toggle { display: inline-flex; }
  .topbar .status, .topbar .topbar-sep { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: start; gap: .5rem; }
  .service-block { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: 1fr; }
  .call-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--amber); color: var(--navy-deep); text-decoration: none; justify-content: center; align-items: center; gap: .5rem; padding: .85rem; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 -6px 18px rgba(0,0,0,.15); }
  .call-bar svg { width: 22px; height: 22px; }
  body { padding-bottom: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}

/* Portfolio gallery */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.filters button { font: inherit; font-weight: 600; font-size: .92rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; cursor: pointer; color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.gallery figure.is-hidden { display: none; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper-2); }
.gallery figcaption { padding: .7rem .9rem .9rem; font-size: .92rem; color: var(--muted); }
.gallery figcaption .project-tag { display: block; margin-bottom: .15rem; }
.lightbox { border: 0; border-radius: var(--radius); padding: 0; max-width: min(1100px, 94vw); background: var(--navy-deep); color: #fff; }
.lightbox::backdrop { background: rgba(13, 23, 40, .85); }
.lightbox img { max-height: 80vh; width: auto; max-width: 100%; margin: 0 auto; }
.lightbox p { margin: 0; padding: .8rem 1.2rem 1rem; font-size: .95rem; color: #c7cfdb; }
.lightbox-close { position: absolute; top: .5rem; right: .6rem; background: rgba(255,255,255,.12); color: #fff; border: 0; font-size: 1.8rem; line-height: 1; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; }
@media (max-width: 980px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

/* Tablet: nav doesn't fit with the CTA button, so hide it (topbar + call bar still show the number) */
@media (max-width: 1100px) and (min-width: 721px) {
  .header-cta { display: none; }
  .nav { gap: 1rem; }
  .nav a { font-size: .95rem; }
  .brand-text strong { white-space: nowrap; }
}
