/* ===== Palette ===== */
:root {
  --navy: #1f3a4d;
  --navy-dark: #152a38;
  --accent: #d9733a;      /* warm terracotta */
  --accent-dark: #b85a25;
  --cream: #fbf6ee;
  --sand: #f3e8d8;
  --text: #2a2a2a;
  --muted: #5e6670;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(31, 58, 77, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 10px; top: 10px; background: #fff; padding: 8px 12px; z-index: 100; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .8rem;
  font-weight: 700; color: var(--accent-dark); margin-bottom: .6em;
}
.small { font-size: .9rem; }
.center { text-align: center; }
.ph { background: #fff1c2; color: #6b4e00; padding: 0 .25em; border-radius: 4px; }
.ph-light { background: rgba(255, 241, 194, .2); padding: 0 .25em; border-radius: 4px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .75em 1.3em; border-radius: 999px; font-weight: 700;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  font-size: 1rem; transition: background .15s, transform .15s, color .15s;
  font-family: inherit;
}
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-call { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-call:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: .95em 1.6em; font-size: 1.08rem; }
.btn-sm { padding: .5em 1em; font-size: .92rem; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #f3b27c; outline-offset: 2px;
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 238, .96); backdrop-filter: blur(6px);
  border-bottom: 1px solid #eadfcd;
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; color: var(--navy); font-size: 1.1rem; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .35em; }
/* "Jerohny's" wordmark */
.wm {
  font-family: Georgia, Cambria, "Times New Roman", serif; font-weight: 800;
  color: var(--accent); letter-spacing: -.01em; font-size: 1.35em; line-height: 1;
}
.wm-rest { font-size: .78em; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.hero-wordmark { margin: 0 0 .9em; font-size: 1.6rem; line-height: 1.1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .4em; }
.hero-wordmark .wm { font-size: 1.5em; }
.brand-tag { font-size: .78rem; color: var(--muted); }
.brand-owner { font-size: .74rem; color: var(--accent-dark); font-weight: 600; }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; }
.main-nav a:hover { color: var(--accent-dark); }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(217, 115, 58, .14), transparent 45%),
    linear-gradient(180deg, var(--cream), var(--sand));
  padding: 72px 0 80px;
}
.hero-inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.lead { font-size: 1.15rem; color: #3d4650; max-width: 38em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { font-weight: 600; color: var(--navy); font-size: .95rem; }
.hero-points li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: .4em; }

.hero-visual { margin: 0; justify-self: end; width: 100%; max-width: 420px; }
.hero-visual img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 40%;
  border-radius: 18px; box-shadow: 0 18px 40px rgba(31, 58, 77, .22);
  border: 6px solid #fff; transform: rotate(1deg);
}
.hero-visual figcaption { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--white); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head p:last-child { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
}
.card p { color: #4a525b; margin: 0; }
.icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--sand);
  display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 14px;
}

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 32px; }
.why-item { padding-left: 18px; border-left: 4px solid var(--accent); }
.why-item p { color: #4a525b; margin: 0; }

.area-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.area-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.area-list li {
  background: #fff; border-radius: 10px; padding: 14px 18px; font-weight: 600;
  color: var(--navy); box-shadow: var(--shadow);
}
.area-list li::before { content: "📍"; margin-right: .5em; }
@media (max-width: 480px) {
  .area-list { gap: 10px; }
  .area-list li { padding: 12px 12px; font-size: .95rem; white-space: nowrap; }
  .area-list li::before { margin-right: .35em; }
}

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { margin: 0; }
.gallery a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.gallery img {
  aspect-ratio: 3 / 4; object-fit: cover; width: 100%; height: auto;
  transition: transform .25s ease;
}
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { font-size: .88rem; color: var(--muted); margin-top: 6px; line-height: 1.35; }
.gallery-pair { grid-template-columns: repeat(2, 1fr); max-width: 600px; margin: 0 auto; }
.gallery-finished { grid-auto-flow: dense; }
.gallery-finished .feature { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.gallery-finished .feature a { flex: 1; }
.gallery-finished .feature img { height: 100%; aspect-ratio: auto; }
.gallery-wip { grid-template-columns: repeat(5, 1fr); }
.gallery-title { text-align: center; margin: 48px 0 18px; }
.gallery-title:first-of-type { margin-top: 0; }
.gallery-sub { text-align: center; color: var(--muted); margin: -8px auto 18px; max-width: 560px; }
.badge {
  position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--navy); color: #fff;
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: 4px 10px; border-radius: 999px;
}

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 20px; }
.review {
  margin: 0; background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  border: 2px dashed #e0d3bf;
}
.review p { font-size: 1.05rem; font-style: italic; color: var(--navy); }
.review footer { color: var(--muted); font-size: .92rem; }
.review::before { content: "★★★★★"; color: #c9b9a1; letter-spacing: 2px; display: block; margin-bottom: 8px; }

/* ===== Quote ===== */
.section-dark { background: var(--navy); color: #e8eef2; }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: #f3b27c; }
.section-dark a { color: #f8c89f; }
.quote-inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.contact-list li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.12); }

.quote-form {
  background: #fff; color: var(--text); border-radius: 16px; padding: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.quote-form a { color: var(--accent-dark); }
.field { margin-bottom: 16px; display: flex; flex-direction: column; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
input, select, textarea {
  font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid #cfd6dc;
  border-radius: 8px; background: #fbfcfd; width: 100%; color: var(--text);
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); background: #fff; }
textarea { resize: vertical; }
.form-note { font-size: .92rem; color: var(--muted); background: var(--cream); padding: 10px 14px; border-radius: 8px; }
.form-note.small { background: none; padding: 0; margin: 10px 0 0; text-align: center; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-dark); color: #c7d2da; padding: 48px 0 24px; font-size: .95rem; }
.site-footer a { color: #f8c89f; }
.footer-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-name { font-weight: 800; color: #fff; font-size: 1.15rem; margin-bottom: .2em; line-height: 1.2; }
.footer-name .wm { color: #f3b27c; }
.footer-name .wm-rest { color: #fff; }
.footer-owner { color: #f3b27c; font-weight: 600; margin-bottom: .6em; }
.copyright { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #8fa1ae; }

.mobile-bar { display: none; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .header-call { margin-left: auto; }
  .cards, .why-grid, .reviews { grid-template-columns: repeat(2, 1fr); }
  .gallery, .gallery-wip { grid-template-columns: repeat(3, 1fr); }
  .gallery-finished .feature { grid-column: 1 / -1; grid-row: auto; }
  .gallery-finished .feature img { aspect-ratio: 4 / 3; height: auto; object-position: center 35%; }
  .gallery-pair { grid-template-columns: repeat(2, 1fr); }
  .hero-inner, .area-inner, .quote-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; justify-self: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-footer { padding-bottom: 96px; }
  .header-inner { min-height: 62px; }
  .header-call { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 1rem; }
  .hero-wordmark { font-size: 1.3rem; }
  .hero { padding: 44px 0 52px; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { max-width: none; }
  .hero-visual img { aspect-ratio: 4 / 3; object-position: center 35%; transform: none; border-width: 4px; }
  .section { padding: 56px 0; }
  .cards, .why-grid, .reviews, .footer-inner, .field-row { grid-template-columns: 1fr; }
  .field-row { gap: 0; }
  .gallery, .gallery-pair, .gallery-wip { grid-template-columns: 1fr 1fr; gap: 12px 10px; }
  .gallery-wip figure:last-child { grid-column: 1 / -1; }
  .gallery-wip figure:last-child img { aspect-ratio: 4 / 3; }
  .gallery figcaption { font-size: .8rem; }
  .gallery-title { margin-top: 36px; font-size: 1.1rem; }
  .quote-form { padding: 22px 18px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(251, 246, 238, .97); border-top: 1px solid #eadfcd;
    box-shadow: 0 -4px 16px rgba(0,0,0,.08);
  }
}

/* Odd number of service-area cities: centre the last one across both columns */
.area-list li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; min-width: calc(50% - 6px); }
