/* Ketral Junk site styles. System fonts only. No external font CDN. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #1a3c2a;
  --green-dark: #10261a;
  --cream: #f3eee4;
  --paper: #fffdf8;
  --ink: #1c1a14;
  --muted: #5c574c;
  --line: #d4cdb8;
  --rust: #c45c26;
  --rust-ink: #fffdf8;
  --danger: #9b1c1c;
  --hatch: #e6dfd0;
}

html { font-size: 16px; scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
}
h1, h2, h3, .nav-logo, .footer-logo, .hero-stat-num {
  font-family: Georgia, "Palatino Linotype", Palatino, "Times New Roman", Times, serif;
  font-weight: 700;
  line-height: 1.15;
}
a { color: var(--green); }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Long placeholder emails must wrap on narrow screens */
.top-bar, .top-bar a, .consent-text, .footer-tagline a, .quote-sub a, footer a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* TOP BAR */
.top-bar {
  background: var(--green-dark);
  color: #fff;
  text-align: left;
  padding: 8px 20px;
  font-size: 13px;
  line-height: 1.4;
}
.top-bar a { color: #fff; }

/* NAV */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 3px solid var(--green);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 60px;
  gap: 16px;
}
.nav-logo {
  font-size: 22px;
  letter-spacing: 0.01em;
  color: var(--green);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; }
.nav-links a { font-size: 15px; color: var(--ink); text-decoration: none; }
.nav-links a:hover { color: var(--green); text-decoration: underline; }
.nav-btn {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  padding: 0 16px;
  height: 38px;
  text-decoration: none;
  background: var(--rust);
  color: var(--rust-ink);
  border: 0;
  white-space: nowrap;
}
.nav-btn:hover { filter: brightness(1.05); text-decoration: none; color: var(--rust-ink); }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; color: var(--ink); }
@media (max-width: 960px) { .nav-links { display: none; } }
@media (max-width: 768px) { .nav-btn { display: none; } .nav-hamburger { display: flex; } }
.mobile-menu { display: none; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 0; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: none; color: var(--green); }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  padding: 0 22px;
  height: 46px;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-accent { background: var(--rust); color: var(--rust-ink); border-color: var(--rust); }
.btn-accent:hover { filter: brightness(1.05); color: var(--rust-ink); text-decoration: none; }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--green); text-decoration: none; }
.btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary:hover { color: #fff; text-decoration: none; }

/* HOME HERO: pitch on the left, quote form on the right. Full-bleed green rail. */
.hero {
  background: var(--cream);
  padding: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px) minmax(0, 660px) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}
.hero-pitch {
  grid-column: 1 / 3;
  background: var(--green);
  color: #fff;
  display: flex;
  justify-content: flex-end;
}
.hero-pitch-inner {
  width: 100%;
  max-width: 460px;
  padding: 36px 28px 48px;
  position: sticky;
  top: 60px;
  align-self: start;
}
.hero-pitch h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  color: #fff;
  margin: 0 0 16px;
}
.hero-sub { font-size: 17px; color: #f3eee4; margin: 0 0 16px; max-width: 36em; }
.hero-claims { font-size: 15px; color: #fff; margin: 0 0 20px; padding-left: 1.1em; }
.hero-claims li { margin-bottom: 6px; }
.hero-photo { margin-top: 8px; }

.hero-form {
  grid-column: 3 / 4;
  padding: 28px 24px 40px;
  background: var(--cream);
}
.hero-form .form-intro { margin-bottom: 16px; }
.hero-form .form-intro h2 {
  font-size: 26px;
  margin-bottom: 6px;
}
.hero-form .form-intro p { color: var(--muted); font-size: 15px; }
.hero-form .form-intro a { overflow-wrap: anywhere; }
.form-wrap { width: 100%; max-width: none; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-pitch, .hero-form { grid-column: auto; }
  .hero-pitch { display: block; }
  .hero-pitch-inner { max-width: none; position: static; padding: 28px 20px 32px; }
  .hero-form { padding: 24px 20px 36px; }
}

/* PAGE HERO (inner pages) */
.page-hero { background: var(--green); color: #fff; padding: 40px 20px 36px; }
.page-hero .inner { max-width: 760px; margin: 0 auto 0 0; padding-left: max(0px, calc((100% - 1120px) / 2 + 20px)); }
@media (max-width: 1160px) { .page-hero .inner { padding-left: 0; max-width: 880px; margin: 0 auto; } }
.page-hero .eyebrow { font-size: 13px; font-weight: 700; color: #f3eee4; }
.page-hero h1 { font-size: clamp(28px, 4.5vw, 44px); margin: 8px 0 12px; }
.page-hero p { color: #f3eee4; font-size: 17px; max-width: 40em; }
.page-hero .btn { margin-top: 20px; }
.draft-banner { background: #fff6e8; border-left: 4px solid var(--rust); color: var(--ink); padding: 12px 16px; margin-bottom: 20px; font-size: 14px; }

/* SITE PHOTOS */
.site-photo { margin: 0; }
.site-photo img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--hatch);
}
.site-photo figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }
.hero-photo { margin-top: 8px; }
.hero-photo img {
  border: 1px solid rgba(255,255,255,.25);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about-photos { display: grid; gap: 12px; }
.about-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.page-photo { margin: 0 0 28px; }
.page-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.service-cards {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 900px) {
  .service-cards { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  .service-cards { grid-template-columns: 1fr; }
}
.service-card {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
}
.service-card a { color: inherit; text-decoration: none; display: block; height: 100%; }
.service-card a:hover { text-decoration: none; }
.service-card a:hover strong { text-decoration: underline; }
.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: var(--hatch);
}
.service-card-body { padding: 12px 14px 14px; }
.service-card-body strong { display: block; font-size: 16px; }
.service-card-body p { margin: 6px 0 0; font-size: 15px; }
.crop-lower { object-position: center 70%; }
.crop-mid { object-position: center 40%; }

/* HOME SECTIONS */
.section-inner { max-width: 1120px; margin: 0 auto; padding: 48px 20px; }
.section-title { font-size: clamp(24px, 3.2vw, 32px); margin-bottom: 14px; }
.section-lead { font-size: 17px; max-width: 40em; margin-bottom: 16px; }

.take-list { font-size: 17px; max-width: 42em; }
.take-list li { margin: 0 0 8px 1.2em; }
.take-list a { font-weight: 600; }

.about-layout { display: grid; grid-template-columns: minmax(200px, 0.8fr) 1.2fr; gap: 36px; align-items: start; }
.about-text p { margin-bottom: 14px; max-width: 40em; }
@media (max-width: 768px) { .about-layout { grid-template-columns: 1fr; gap: 20px; } }

.testimonials { max-width: 40rem; }
.testimonial-card { background: none; border: 0; border-left: 3px solid var(--green); padding: 0 0 0 16px; margin: 0 0 28px; }
.testimonial-stars { display: none; } /* none are verified; markup omitted when stars are null */
.testimonial-text { font-family: Georgia, "Palatino Linotype", Palatino, "Times New Roman", Times, serif; font-size: 17px; line-height: 1.5; margin-bottom: 8px; font-style: italic; }
.testimonial-author { display: block; }
.testimonial-avatar { display: none; }
.testimonial-name { font-size: 14px; font-weight: 700; font-style: normal; font-family: inherit; display: inline; }
.testimonial-location, .testimonial-source { font-size: 13px; color: var(--muted); display: inline; }
.testimonial-location::before, .testimonial-source::before { content: " · "; color: var(--muted); }

.area-list { font-size: 17px; max-width: 44em; }
.area-list p { margin-bottom: 10px; }
.area-list a { font-weight: 700; }

/* PROSE (inner pages) */
.prose { max-width: 760px; margin: 0 auto 0; padding: 40px 20px 24px; }
@media (min-width: 1161px) {
  .prose { margin-left: max(20px, calc((100% - 1120px) / 2 + 20px)); }
}
.prose h2 { font-size: 26px; margin: 32px 0 10px; }
.prose h3 { font-size: 19px; margin: 22px 0 8px; }
.prose p, .prose li { font-size: 16px; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; background: var(--paper); }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--hatch); font-weight: 700; }
.note { background: var(--paper); border-left: 4px solid var(--green); padding: 14px 18px; margin: 18px 0; font-size: 15px; }
.source { font-size: 13px; color: var(--muted); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; padding: 16px 20px 48px; }
@media (min-width: 1161px) {
  .faq { margin-left: max(20px, calc((100% - 1120px) / 2 + 20px)); margin-right: auto; }
}
.faq h2 { font-size: 26px; margin-bottom: 14px; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin-top: 8px; }

/* CTA */
.cta { background: var(--green); color: #fff; text-align: left; padding: 40px 20px; }
.cta h2, .cta p, .cta .btn { display: block; max-width: 760px; margin-left: auto; margin-right: auto; }
@media (min-width: 1161px) {
  .cta h2, .cta p, .cta .btn { margin-left: max(20px, calc((100% - 1120px) / 2 + 20px)); }
}
.cta h2 { font-size: 28px; margin-bottom: 8px; }
.cta p { color: #f3eee4; margin-bottom: 18px; }
.cta .btn { display: inline-flex; margin-bottom: 0; }

/* QUOTE FORM */
.form-card { background: var(--paper); border: 1px solid var(--line); padding: 18px 18px 16px; margin-bottom: 10px; }
.form-card-title { font-size: 13px; font-weight: 700; color: var(--green); margin-bottom: 12px; }
.form-card-icon { display: none; }
.field { margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }
.field > label, .field > .label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.req { color: var(--green); }
.optional { font-weight: 400; }
input[type="text"], input[type="tel"], input[type="email"], input[type="url"], input[type="date"], select, textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #b9b19c;
  color: var(--ink);
  font-size: 16px;
  padding: 10px 12px;
  outline: none;
  font-family: inherit;
  border-radius: 0;
}
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 2px rgba(26, 60, 42, 0.18); }
textarea { resize: vertical; min-height: 80px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field-error { font-size: 12px; color: var(--danger); margin-top: 5px; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .field-error { display: block; }

.choice-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  background: #fff;
  border: 1px solid #b9b19c;
  padding: 8px 12px;
  cursor: pointer;
  text-align: left;
  user-select: none;
  display: inline-block;
}
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice .choice-icon { display: none; }
.choice .choice-label { font-size: 14px; font-weight: 700; display: inline; }
.choice .choice-desc { font-size: 12px; color: var(--muted); display: block; }
.choice.selected { border-color: var(--green); background: #e8f0ea; }
.choice.selected .choice-label { color: var(--green); }
.choice:focus-within { box-shadow: 0 0 0 2px rgba(26, 60, 42, 0.2); }

.photo-zone { border: 1px dashed #b9b19c; padding: 20px 16px; text-align: left; cursor: pointer; position: relative; background: #fff; }
.photo-zone:hover, .photo-zone.drag-over { border-color: var(--green); }
.photo-zone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.upload-icon { display: none; }
.upload-main { font-size: 15px; font-weight: 700; }
.upload-sub { font-size: 13px; color: var(--muted); }
.photo-previews { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; }
.photo-thumb { aspect-ratio: 1; overflow: hidden; position: relative; background: var(--hatch); border: 1px solid var(--line); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-remove { position: absolute; top: 3px; right: 3px; background: #1c1a14; border: none; color: white; width: 22px; height: 22px; font-size: 12px; cursor: pointer; }
.photo-count { font-size: 12px; color: var(--muted); text-align: right; margin-top: 6px; }

.consent-box { display: flex; gap: 12px; align-items: flex-start; }
.consent-box input[type="checkbox"] { margin-top: 4px; width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--green); }
.consent-text { font-size: 13px; line-height: 1.5; color: var(--ink); }
.consent-version { font-size: 11px; color: var(--muted); margin-top: 6px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.banner { padding: 12px 16px; font-size: 14px; display: none; margin-bottom: 12px; }
.banner.visible { display: block; }
.banner-error { background: #fff1f0; border: 1px solid #e8b4b4; color: var(--danger); }
.banner-info { background: #fff6e8; border: 1px solid var(--rust); color: var(--ink); }
.submit-btn {
  width: 100%;
  background: var(--rust);
  color: var(--rust-ink);
  border: 0;
  font-size: 17px;
  font-weight: 700;
  padding: 14px;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.submit-btn:disabled { opacity: .6; cursor: not-allowed; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.submit-btn.loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.submit-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.success-screen { display: none; padding: 24px 0; }
.success-screen.visible { display: block; }
.success-icon { display: none; }
.success-screen h3 { font-size: 24px; margin-bottom: 10px; color: var(--ink); }
.success-screen p { font-size: 15px; color: var(--ink); margin-bottom: 12px; }
.success-screen a { color: var(--green); }
.turnstile-slot { margin: 6px 0 12px; }
.form-on-light .submit-note { color: var(--muted); }

/* FOOTER */
footer { background: var(--green-dark); color: #f3eee4; padding: 40px 20px 28px; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.footer-logo { font-size: 22px; color: #fff; }
.footer-tagline { font-size: 13px; color: #d9d0c0; margin-top: 8px; line-height: 1.55; max-width: 320px; }
.footer-tagline a { color: #fff; }
.footer-col-title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-nav a { display: block; font-size: 14px; color: #d9d0c0; text-decoration: none; margin-bottom: 8px; }
.footer-nav a:hover { color: #fff; }
.footer-divider { border: none; border-top: 1px solid rgba(243,238,228,.15); margin: 28px auto 0; max-width: 1120px; }
.footer-bottom { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 16px; }
.footer-copy, .footer-service-area { font-size: 12px; color: #b9b19c; }
.footer-copy a { color: #d9d0c0; }
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-inner { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; } }
