/* ==========================================================================
   Kevin Sullivan LLC — shared stylesheet
   Palette: orange #F07443 | green #5CAB57 | charcoal #2B2724 | cream #FDF6EF
   ========================================================================== */

html { scroll-behavior: smooth; }
body { background: #FDF6EF; }

/* Anchor targets clear the sticky nav */
[id] { scroll-margin-top: 96px; }

/* --------------------------------------------------------------- desktop nav */
.sss-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sss-nav > li { position: relative; }
.sss-nav > li > a {
  display: block;
  padding: 16px 14px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease;
}
.sss-nav > li > a:hover { color: #F07443; }
.sss-nav > li.is-active > a { color: #F07443; }

/* dropdown */
.sss-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 258px;
  background: #221F1D;
  border-top: 3px solid #F07443;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .32);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 60;
}
.sss-nav .has-dropdown:hover > .dropdown-menu,
.sss-nav .has-dropdown:focus-within > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sss-nav .dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-family: Barlow, sans-serif;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all .14s ease;
}
.sss-nav .dropdown-menu a:hover {
  color: #fff;
  background: rgba(240, 116, 67, .14);
  border-left-color: #5CAB57;
}

/* quote button in the nav bar */
.sss-quote-btn {
  display: inline-block;
  background: #F07443;
  color: #2B2724;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 10px 22px;
  text-decoration: none;
  transition: background-color .15s ease, transform .15s ease;
}
.sss-quote-btn:hover { background: #D95E2C; transform: translateY(-1px); }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 14px 26px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-orange { background: #F07443; color: #fff; }
.btn-orange:hover { background: #D95E2C; }
.btn-green { background: #5CAB57; color: #fff; }
.btn-green:hover { background: #488C44; }
.btn-dark { background: #2B2724; color: #fff; }
.btn-dark:hover { background: #4A433D; }
.btn-outline-dark { border-color: #2B2724; color: #2B2724; }
.btn-outline-dark:hover { background: #2B2724; color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-outline-light:hover { background: #fff; color: #2B2724; border-color: #fff; }

/* --------------------------------------------------------------------- hero */
.hero {
  position: relative;
  background:
    radial-gradient(58% 62% at 78% 44%, #FDDCB6 0%, rgba(253, 220, 182, 0) 68%),
    linear-gradient(180deg, #FFFCF8 0%, #FDF1E4 100%);
  overflow: hidden;
}
/* soft disc behind the mascot so the cut-out reads as a portrait, not a sticker */
.hero-disc {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  width: 92%;
  aspect-ratio: 1;
  border-radius: 9999px;
  background: radial-gradient(circle, #FCD3A4 0%, #FBDCBB 58%, rgba(251, 220, 187, 0) 72%);
}
.hero-mascot { position: relative; filter: drop-shadow(0 22px 26px rgba(43, 39, 36, .17)); }

/* ------------------------------------------------------------- service card */
.svc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(43, 39, 36, .1);
  border-top: 3px solid #5CAB57;
  padding: 26px 24px 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-top-color .18s ease;
}
.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(43, 39, 36, .12);
  border-top-color: #F07443;
}
.svc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 9999px;
  background: rgba(240, 116, 67, .12);
  color: #D95E2C;
  margin-bottom: 16px;
}
/* dark "not on the list?" card that closes out the services grid */
.svc-card-dark {
  background: #2B2724;
  border-color: rgba(43, 39, 36, 1);
  border-top-color: #F07443;
  color: #fff;
}
.svc-card-dark:hover { border-top-color: #5CAB57; }

.svc-list { list-style: none; margin: 14px 0 0; padding: 0; }
.svc-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  font-family: Barlow, sans-serif;
  font-size: 15px;
  color: #5B534C;
}
.svc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: #5CAB57;
  border-radius: 2px;
}

/* ------------------------------------------------------------- trust strip */
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
}
.trust-item svg { color: #F07443; flex-shrink: 0; }

/* ---------------------------------------------------------------- town chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid rgba(43, 39, 36, .12);
  padding: 9px 15px;
  font-family: Barlow, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #2B2724;
}
.chip svg { color: #5CAB57; flex-shrink: 0; }

/* ------------------------------------------------------------ misc helpers */
.eyebrow {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #D95E2C;
}
.rule-orange {
  width: 62px;
  height: 4px;
  background: #F07443;
}
.logo-plate {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(43, 39, 36, .13);
  line-height: 0;
}
.footer-link {
  font-family: Barlow, sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, .62);
  text-decoration: none;
  transition: color .14s ease;
}
.footer-link:hover { color: #F07443; }

/* Reduce motion for users who ask for it */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .sss-quote-btn:hover, .svc-card:hover { transform: none; }
}

/* ==========================================================================
   Inner pages — hero, breadcrumbs, long-form content, forms
   ========================================================================== */

.inner-hero {
  background:
    linear-gradient(180deg, rgba(43, 39, 36, .93) 0%, rgba(27, 25, 23, .97) 100%),
    repeating-linear-gradient(135deg, #2B2724 0 22px, #322D29 22px 44px);
  border-bottom: 3px solid #F07443;
  padding: 34px 0 44px;
}
@media (min-width: 768px) { .inner-hero { padding: 46px 0 58px; } }

.breadcrumb {
  font-family: Barlow, sans-serif;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.breadcrumb a:hover { color: #F07443; }
.breadcrumb .sep { margin: 0 8px; color: rgba(255, 255, 255, .3); }

/* long-form body copy ---------------------------------------------------- */
.rich p {
  font-family: Barlow, sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(43, 39, 36, .78);
  margin-bottom: 20px;
}
.rich h2 {
  font-family: Archivo, Helvetica, sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 31px);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: #2B2724;
  margin: 40px 0 16px;
}
.rich h3 {
  font-family: Archivo, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: #2B2724;
  margin: 30px 0 12px;
}
.rich > h2:first-child, .rich > h3:first-child { margin-top: 0; }
.rich ul { list-style: none; margin: 0 0 22px; padding: 0; }
.rich ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-family: Barlow, sans-serif;
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(43, 39, 36, .78);
}
.rich ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  background: #5CAB57;
  border-radius: 2px;
}
.rich a { color: #D95E2C; text-decoration: underline; text-underline-offset: 2px; }
.rich a:hover { color: #2B2724; }
.rich strong { font-weight: 600; color: #2B2724; }

/* sidebar cards ---------------------------------------------------------- */
.side-card {
  background: #fff;
  border: 1px solid rgba(43, 39, 36, .12);
  border-top: 3px solid #F07443;
  padding: 26px 24px;
  margin-bottom: 22px;
}
.side-card.dark { background: #2B2724; border-color: #2B2724; border-top-color: #F07443; }
.side-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #D95E2C;
  margin-bottom: 16px;
}
.side-card.dark .side-title { color: #F07443; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { border-bottom: 1px solid rgba(43, 39, 36, .09); }
.side-list li:last-child { border-bottom: 0; }
.side-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  font-family: Barlow, sans-serif;
  font-size: 15.5px;
  color: rgba(43, 39, 36, .8);
  text-decoration: none;
  transition: color .14s ease, padding-left .14s ease;
}
.side-list a:hover { color: #D95E2C; padding-left: 5px; }
.side-list a::after { content: "›"; color: #5CAB57; font-size: 17px; }
.side-list a[aria-current="page"] { color: #D95E2C; font-weight: 600; }

/* ---------------------------------------------------------------- forms */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }

.field label {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #2B2724;
  margin-bottom: 7px;
}
.field .req { color: #D95E2C; }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(43, 39, 36, .22);
  padding: 12px 14px;
  font-family: Barlow, sans-serif;
  font-size: 16px;
  color: #2B2724;
  transition: border-color .14s ease, box-shadow .14s ease;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #F07443;
  box-shadow: 0 0 0 3px rgba(240, 116, 67, .16);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(43, 39, 36, .38); }

/* form on a dark panel */
.form-dark .field label { color: rgba(255, 255, 255, .8); }
.form-dark .field input,
.form-dark .field select,
.form-dark .field textarea {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
}
.form-dark .field input::placeholder, .form-dark .field textarea::placeholder { color: rgba(255, 255, 255, .38); }

.form-note {
  font-family: Barlow, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(43, 39, 36, .5);
}
.form-dark .form-note { color: rgba(255, 255, 255, .45); }

.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  font-family: Barlow, sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  border-left: 4px solid #5CAB57;
  background: rgba(92, 171, 87, .1);
  color: #2B2724;
}
.form-status.is-error { border-left-color: #D95E2C; background: rgba(217, 94, 44, .1); }
.form-status.is-visible { display: block; }
.form-dark .form-status { color: #fff; background: rgba(92, 171, 87, .16); }
.form-dark .form-status.is-error { background: rgba(217, 94, 44, .18); }

/* honeypot — never shown to a human */
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; height: 0 !important; }

/* --------------------------------------------------------- town/link grid */
.link-tile {
  display: block;
  background: #fff;
  border: 1px solid rgba(43, 39, 36, .12);
  border-left: 3px solid #5CAB57;
  padding: 16px 18px;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, border-left-color .16s ease;
}
.link-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(43, 39, 36, .1);
  border-left-color: #F07443;
}
.link-tile .lt-name {
  display: block;
  font-family: Archivo, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 16.5px;
  color: #2B2724;
  margin-bottom: 3px;
}
.link-tile .lt-sub {
  display: block;
  font-family: Barlow, sans-serif;
  font-size: 14px;
  color: rgba(43, 39, 36, .55);
}

/* --------------------------------------------------------- photo galleries */
.photo-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (min-width: 1024px) { .photo-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .photo-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.photo-grid.single { max-width: 520px; grid-template-columns: 1fr; }
.ph { margin: 0; background: #fff; border: 1px solid rgba(43, 39, 36, .1); }
.ph-link { display: block; position: relative; overflow: hidden; cursor: zoom-in; }
.ph-link img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .35s ease; }
.ph-link:hover img { transform: scale(1.03); }
.ph figcaption { padding: 12px 14px 14px; font-family: Barlow, sans-serif; font-size: 15px; line-height: 1.55; color: rgba(43, 39, 36, .75); }
.ph-tag {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 13px;
  letter-spacing: .16em; text-transform: uppercase; color: #fff;
  background: #2B2724; padding: 5px 10px;
}
.ph-tag.during { background: #D95E2C; }
.ph-tag.after { background: #488C44; }
.gallery-sub {
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 14px;
  letter-spacing: .18em; text-transform: uppercase; color: #D95E2C; margin: 0 0 14px;
}

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(27, 25, 23, .92);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; height: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox figure { margin: 0; text-align: center; }
.lightbox figcaption { color: rgba(255, 255, 255, .8); font-family: Barlow, sans-serif; font-size: 15px; margin-top: 12px; }
.lightbox button {
  position: absolute; top: 14px; right: 18px; background: none; border: 0;
  color: #fff; font-size: 38px; line-height: 1; cursor: pointer; padding: 6px;
}

/* long services dropdown: two columns */
.sss-nav .dropdown-menu.cols-2 { display: grid; grid-template-columns: 1fr 1fr; min-width: 520px; }

/* ==========================================================================
   Inner-page layout v2 — full-width rows, no sidebar
   ========================================================================== */

/* hero photo */
.hero-photo { margin: 0; position: relative; }
.hero-photo img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 3; object-fit: cover;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .08);
}
@media (min-width: 768px) { .hero-photo img { aspect-ratio: 4 / 5; max-height: 560px; } }
@media (min-width: 768px) { .inner-hero { padding: 56px 0 64px; } }

/* section headings */
.section-title {
  font-family: Archivo, Helvetica, sans-serif; font-weight: 800;
  font-size: clamp(27px, 3vw, 40px); line-height: 1.12; letter-spacing: -.015em;
  color: #2B2724; margin: 0;
}
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-intro { font-family: Barlow, sans-serif; font-size: 17.5px; line-height: 1.7; color: rgba(43, 39, 36, .68); margin-top: 14px; }
.text-link {
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 15px;
  letter-spacing: .14em; text-transform: uppercase; color: #D95E2C; text-decoration: none;
}
.text-link:hover { color: #2B2724; }

/* lead paragraph */
.lead { max-width: 920px; }
.lead p {
  font-family: Barlow, sans-serif; font-size: clamp(19px, 1.75vw, 23px);
  line-height: 1.6; color: rgba(43, 39, 36, .86); margin: 0 0 18px;
}
.lead p:last-child { margin-bottom: 0; }
.lead a { color: #D95E2C; text-decoration: underline; text-underline-offset: 3px; }
.lead strong { font-weight: 600; color: #2B2724; }

/* heading-left / body-right rows */
.prose-row, .split {
  display: grid; grid-template-columns: 1fr; gap: 14px;
  padding: 32px 0; border-top: 1px solid rgba(43, 39, 36, .12);
}
.split { padding: 0; border: 0; gap: 26px; }
@media (min-width: 768px) {
  .prose-row { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; padding: 44px 0; }
  .split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }
}
.prose-rows .prose-row:last-child { padding-bottom: 0; }
.prose-row h2 {
  font-family: Archivo, Helvetica, sans-serif; font-weight: 800;
  font-size: clamp(23px, 2.3vw, 30px); line-height: 1.18; letter-spacing: -.01em; color: #2B2724; margin: 0;
}
.prose-body p { font-family: Barlow, sans-serif; font-size: 17.5px; line-height: 1.8; color: rgba(43, 39, 36, .78); margin: 0 0 16px; }
.prose-body p:last-child { margin-bottom: 0; }
.prose-body a:not(.chip) { color: #D95E2C; text-decoration: underline; text-underline-offset: 2px; }
.prose-body strong { font-weight: 600; color: #2B2724; }
.prose-body ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px 32px; }
.prose-body ul:last-child { margin-bottom: 0; }
@media (min-width: 640px) { .prose-body ul { grid-template-columns: 1fr 1fr; } }
.prose-body li {
  position: relative; padding-left: 32px;
  font-family: Barlow, sans-serif; font-size: 17px; line-height: 1.55; color: rgba(43, 39, 36, .82);
}
.prose-body li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: #5CAB57 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* FAQ */
.faq-list { border-top: 1px solid rgba(43, 39, 36, .14); }
.faq-item { border-bottom: 1px solid rgba(43, 39, 36, .14); background: none; }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 0; font-family: Archivo, Helvetica, sans-serif; font-weight: 700; font-size: 18px; color: #2B2724;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary > span { color: #F07443; font-size: 26px; line-height: 1; flex-shrink: 0; transition: transform .2s ease; }
.faq-item[open] summary > span { transform: rotate(45deg); }
.faq-item > div { padding: 0 0 22px !important; margin: 0 !important; }
.faq-item > div p { font-size: 17px !important; color: rgba(43, 39, 36, .75); max-width: 720px; }
.faq-item a { color: #D95E2C; text-decoration: underline; }
