:root {
  --teal: #167b91;
  --teal-dark: #0b5264;
  --orange: #f7941d;
  --orange-dark: #d46f00;
  --green: #73a934;
  --text: #333333;
  --muted: #666666;
  --line: #d1d1d1;
  --light: #f5f5f5;
  --focus: #ffd000;
  --width: 1040px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: #dedede; font: 14px/1.5 Arial, Helvetica, sans-serif; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: var(--teal); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.skip-link { position: absolute; z-index: 50; top: -70px; left: 8px; padding: 9px 12px; color: #fff; background: #000; }
.skip-link:focus { top: 8px; }

.utility-bar { color: #ddd; background: #333; font-size: 12px; }
.utility-bar > div { width: min(var(--width), 100%); display: flex; justify-content: space-between; gap: 20px; margin: 0 auto; padding: 7px 20px; }
.utility-bar a { color: #fff; }
.site-header, main { width: min(var(--width), 100%); margin: 0 auto; background: #fff; }
.site-header { box-shadow: 0 0 12px rgba(0,0,0,.22); }
.header-main { min-height: 118px; display: grid; grid-template-columns: 1fr 1.15fr .75fr; align-items: center; gap: 28px; padding: 19px 24px; }
.logo { width: min(100%, 270px); display: block; color: var(--teal-dark); text-decoration: none; }
.logo img { width: 100%; height: auto; aspect-ratio: 573 / 87; object-fit: contain; }
.site-search label { display: block; margin-bottom: 4px; color: var(--muted); font-size: 11px; }
.site-search div { display: flex; }
.site-search input { min-width: 0; flex: 1; border: 1px solid #999; border-right: 0; border-radius: 2px 0 0 2px; padding: 10px; }
.site-search button { border: 1px solid var(--teal-dark); border-radius: 0 2px 2px 0; padding: 8px 14px; color: #fff; background: linear-gradient(#2994a9, var(--teal)); font-weight: bold; }
.contact-box { display: grid; gap: 4px; text-align: right; }
.contact-box small { color: var(--muted); }
.contact-box a { overflow-wrap: anywhere; color: var(--orange-dark); font-size: 15px; font-weight: bold; }
.primary-nav { border-top: 1px solid #0d6173; border-bottom: 4px solid var(--orange); background: linear-gradient(#258ba0, var(--teal)); }
.primary-nav > div { display: flex; }
.primary-nav a { min-width: 120px; padding: 13px 18px; color: #fff; border-right: 1px solid rgba(255,255,255,.22); text-align: center; text-decoration: none; font-weight: bold; text-shadow: 0 1px rgba(0,0,0,.25); }
.primary-nav a:hover,
.primary-nav a[aria-current="page"] { background: var(--teal-dark); }

main { min-height: 700px; box-shadow: 0 5px 12px rgba(0,0,0,.18); }
.breadcrumb { border-bottom: 1px solid #ddd; padding: 9px 24px; color: #777; background: #f7f7f7; font-size: 11px; }
.hero { position: relative; height: 365px; overflow: hidden; background: #222; }
.hero > img,
.page-hero > img { width: 100%; height: 100%; object-fit: cover; }
.hero > img { object-position: center 36%; }
.hero::after,
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,38,44,.91), rgba(6,38,44,.5) 55%, rgba(6,38,44,0)); }
.hero-overlay { position: absolute; z-index: 2; top: 0; bottom: 0; left: 0; width: 58%; display: grid; align-content: center; padding: 36px 42px; color: #fff; }
.hero-kicker { margin: 0 0 6px; color: #f9be5a; font-size: 12px; font-weight: bold; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; }
h1 { margin: 0 0 13px; font-size: 44px; line-height: 1.05; }
.hero-overlay > p:not(.hero-kicker) { margin: 0 0 24px; font-size: 17px; }
.orange-button,
.teal-button { width: max-content; display: inline-block; border: 1px solid #b95e00; border-radius: 3px; padding: 11px 18px; color: #fff; background: linear-gradient(#ffac40, var(--orange)); box-shadow: inset 0 1px rgba(255,255,255,.4); text-decoration: none; font-weight: bold; text-shadow: 0 1px rgba(0,0,0,.25); }
.orange-button:hover { background: var(--orange-dark); }
.teal-button { border-color: var(--teal-dark); background: linear-gradient(#2994a9, var(--teal)); }
.teal-button:hover { background: var(--teal-dark); }
.benefit-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #ccc; background: linear-gradient(#fff, #f0f0f0); }
.benefit-strip div { min-height: 78px; display: grid; align-content: center; gap: 2px; padding: 13px 27px; border-right: 1px solid #ccc; }
.benefit-strip div:last-child { border-right: 0; }
.benefit-strip strong { color: var(--teal-dark); font-size: 16px; }
.benefit-strip span { color: var(--muted); font-size: 12px; }

.page-section { padding: 50px 34px; }
.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 25px; border-bottom: 1px solid #ccc; padding-bottom: 13px; }
.section-heading h2,
.page-copy h2,
.contact-details h2,
.tag-builder h2 { margin: 0 0 5px; color: var(--teal-dark); font-size: 30px; }
.section-heading p { max-width: 580px; margin: 0; color: var(--muted); }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card { border: 1px solid #ccc; border-radius: 3px; color: inherit; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.12); text-decoration: none; }
.category-card img { width: 100%; height: 160px; object-fit: cover; border-bottom: 1px solid #ccc; }
.category-card:nth-child(2) img { object-fit: contain; padding: 18px 8px; background: #f2ece6; }
.category-card div { padding: 14px; }
.category-card h3 { margin: 0 0 7px; color: var(--teal-dark); font-size: 19px; }
.category-card p { margin: 0; color: var(--muted); font-size: 12px; }
.category-card:hover { border-color: var(--orange); box-shadow: 0 2px 7px rgba(0,0,0,.2); }
.featured-section { border-top: 1px solid #d3d3d3; background: #f5f8f9; }
.catalog-note { margin: 22px 0 0; border: 1px solid #e1bf82; padding: 12px 14px; color: #6d4900; background: #fff8e8; font-size: 12px; }
.catalog-note strong { color: #533800; }

.steps-section { border-top: 1px solid #d3d3d3; border-bottom: 1px solid #d3d3d3; background: #f2f7f8; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; }
.steps article { min-height: 145px; border: 1px solid #c7d4d7; border-top: 4px solid var(--teal); padding: 18px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.steps span { float: left; width: 31px; height: 31px; display: grid; place-items: center; margin: 0 10px 5px 0; color: #fff; border-radius: 50%; background: var(--orange); font-weight: bold; }
.steps h3 { margin: 3px 0 13px; color: var(--teal-dark); font-size: 18px; }
.steps p { clear: both; margin: 0; color: var(--muted); }
.home-about { display: grid; grid-template-columns: .82fr 1.18fr; gap: 35px; }
.home-about img { width: 100%; height: 300px; object-fit: cover; border: 7px solid #eee; outline: 1px solid #bbb; }
.home-about p { font-size: 15px; }
.highlight-box { margin: 22px 0; border: 1px solid #c7d4a9; border-left: 5px solid var(--green); padding: 13px 15px; background: #f4f8eb; }

.page-title { padding: 42px 34px; border-bottom: 1px solid #ccc; background: #f2f7f8; }
.page-title .hero-kicker { color: var(--orange-dark); }
.page-title h1 { color: var(--teal-dark); }
.page-title p:last-child { max-width: 720px; margin-bottom: 0; color: var(--muted); font-size: 16px; }
.catalog-section { padding-top: 34px; }

.page-hero { position: relative; height: 290px; overflow: hidden; background: #222; }
.page-hero > img { object-position: center 48%; }
.page-hero.tag-page > img { object-position: center 57%; }
.page-hero-copy { position: absolute; z-index: 2; inset: 0; width: 64%; display: grid; align-content: center; padding: 35px 42px; color: #fff; }
.page-hero-copy p:last-child { max-width: 600px; margin-bottom: 0; font-size: 16px; }

.tag-builder { display: grid; grid-template-columns: .8fr 1.2fr; gap: 38px; }
.tag-preview-box { min-height: 590px; display: grid; grid-template-rows: auto 50px 1fr auto; place-items: center; border: 1px solid #999; padding: 17px; color: #fff; background: #3191a4; box-shadow: inset 0 0 30px rgba(0,0,0,.12); }
.preview-label,
.preview-note { justify-self: stretch; margin: 0; font-size: 10px; font-weight: bold; text-transform: uppercase; }
.preview-ring { width: 48px; height: 48px; align-self: end; margin-bottom: -11px; border: 8px solid #333; border-radius: 50%; }
.tag-preview { position: relative; z-index: 1; width: 250px; aspect-ratio: 1; display: grid; place-content: center; gap: 8px; border: 7px solid #333; padding: 38px; color: #222; text-align: center; box-shadow: 13px 15px 0 rgba(0,0,0,.18); transition: border-radius .2s ease, background-color .2s ease, clip-path .2s ease; }
.tag-preview::before { content: ""; position: absolute; top: 17px; left: calc(50% - 8px); width: 16px; height: 16px; border-radius: 50%; background: #333; }
.tag-preview strong { max-width: 180px; overflow-wrap: anywhere; font-size: 28px; line-height: 1; text-transform: uppercase; }
.tag-preview small { max-width: 180px; overflow-wrap: anywhere; font-size: 12px; font-weight: bold; }
.shape-round { border-radius: 50%; clip-path: none; }
.shape-square { border-radius: 25px; clip-path: none; }
.shape-hex { border-radius: 0; clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%); }
.color-blue { background: #64bfd3; }
.color-orange { background: #f7941d; }
.color-green { background: #92bd59; }
.color-silver { background: #d7d7d7; }

.site-form { display: grid; gap: 13px; border: 1px solid #bbb; border-radius: 3px; padding: 21px; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.form-heading { margin: -21px -21px 5px; border-bottom: 1px solid #bbb; padding: 13px 18px; color: #fff; background: linear-gradient(#258ba0, var(--teal)); font-size: 17px; font-weight: bold; }
.site-form label { display: grid; gap: 4px; color: #444; font-weight: bold; }
.site-form label > span.required { color: #a00000; }
.site-form fieldset { margin: 0; border: 1px solid #c8d9dc; padding: 12px; background: #eef5f6; }
.site-form legend { padding: 0 5px; color: var(--teal-dark); font-weight: bold; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.site-form input,
.site-form select,
.site-form textarea { width: 100%; border: 1px solid #999; border-radius: 2px; padding: 9px; color: var(--text); background: #fff; }
.site-form textarea { min-height: 125px; resize: vertical; }
.choice-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.choice-row label,
.swatch-row label { position: relative; cursor: pointer; }
.choice-row input,
.swatch-row input { position: absolute; opacity: 0; }
.choice-row span { min-height: 41px; display: grid; place-items: center; border: 1px solid #999; background: linear-gradient(#fff, #e4e4e4); font-size: 12px; }
.choice-row input:checked + span { color: #fff; background: var(--teal-dark); border-color: var(--teal-dark); }
.choice-row label:focus-within span,
.swatch-row label:focus-within span { outline: 3px solid var(--focus); outline-offset: 2px; }
.swatch-label { margin: 10px 0 6px; color: #555; font-size: 12px; font-weight: bold; }
.swatch-row { display: flex; gap: 9px; }
.swatch { width: 34px; height: 34px; display: block; border: 3px solid transparent; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.swatch.blue { background: #64bfd3; }
.swatch.orange { background: #f7941d; }
.swatch.green { background: #92bd59; }
.swatch.silver { background: #d7d7d7; }
.swatch-row input:checked + span { border-color: #222; box-shadow: inset 0 0 0 3px #eef5f6; }
.char-note { color: #777; text-align: right; font-size: 10px; font-weight: normal; }
.check-label { grid-template-columns: 20px 1fr !important; gap: 8px !important; align-items: start; font-weight: normal !important; }
.check-label input { width: 18px; height: 18px; margin: 2px 0 0; }
.form-error { margin: 0; border-left: 4px solid #a00000; padding: 9px; color: #800; background: #fff0f0; font-weight: bold; }
.form-submit,
.ready-message a,
.ready-message button { width: max-content; border: 1px solid #b95e00; border-radius: 3px; padding: 10px 18px; color: #fff; background: linear-gradient(#ffac40, var(--orange)); text-decoration: none; font-weight: bold; }
.form-submit:hover,
.ready-message a:hover { background: var(--orange-dark); }
.required-note { margin: -5px 0 0; color: #777; font-size: 11px; }
.ready-message { align-self: start; border: 1px solid #a7bf89; border-top: 5px solid var(--green); padding: 25px; background: #f3f8ec; }
.ready-message h3 { margin: 0 0 10px; color: #527d23; font-size: 25px; }
.ready-message a { display: inline-block; margin: 10px 9px 10px 0; border-color: #4c7921; background: linear-gradient(#8abd4e, #63982d); }
.ready-message button { color: var(--teal); border-color: #aaa; background: #fff; }

.about-layout { display: grid; grid-template-columns: 1.18fr .82fr; gap: 40px; }
.page-copy p { font-size: 15px; }
.business-panel { align-self: start; border: 1px solid #bbb; border-top: 5px solid var(--orange); padding: 20px; background: #f7f7f7; }
.business-panel h2 { margin: 0 0 16px; color: var(--teal-dark); font-size: 23px; }
.business-list { margin: 0; }
.business-list div { display: grid; grid-template-columns: 75px 1fr; gap: 10px; border-top: 1px solid #ccc; padding: 10px 0; }
.business-list dt { font-size: 11px; font-weight: bold; text-transform: uppercase; }
.business-list dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.business-list address { font-style: normal; }
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 25px; }
.service-list article { border: 1px solid #c7d4d7; border-top: 4px solid var(--teal); padding: 17px; background: #fff; }
.service-list h3 { margin: 0 0 8px; color: var(--teal-dark); font-size: 18px; }
.service-list p { margin: 0; color: var(--muted); font-size: 13px; }
.owner-note { margin-top: 30px; border-left: 5px solid var(--green); padding: 16px 18px; background: #f4f8eb; }
.owner-note strong { color: #4d7520; }

.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 38px; }
.contact-details > p { color: var(--muted); font-size: 15px; }
.contact-details address { display: grid; gap: 5px; margin: 24px 0; border: 1px solid #d2d2d2; padding: 16px; background: #fff; font-style: normal; }
.contact-details address strong { color: var(--teal-dark); font-size: 17px; }
.contact-details address a { overflow-wrap: anywhere; }
.tag-tip { border: 1px solid #e8c47f; padding: 12px; background: #fff8e7; }
.contact-band { display: flex; justify-content: space-between; gap: 25px; align-items: center; border-top: 1px solid #b8cbd0; padding: 25px 34px; background: #eaf3f5; }
.contact-band p { margin: 0; color: var(--teal-dark); font-size: 17px; font-weight: bold; }

footer { color: #ccc; background: #333; font-size: 12px; }
.footer-inner { width: min(var(--width), 100%); display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 40px; margin: 0 auto; padding: 35px 30px; }
.footer-inner strong { color: #fff; font-size: 14px; }
.footer-inner p { margin: 8px 0 0; }
.footer-inner a { color: #fff; }
.footer-logo { width: min(100%, 218px); display: block; margin-bottom: 15px; border-radius: 2px; padding: 6px 8px; background: #fff; }
.footer-logo img { width: 100%; height: auto; aspect-ratio: 573 / 87; }
.footer-brand > strong { display: block; }
.footer-bottom { border-top: 1px solid #555; padding: 12px 20px; text-align: center; }

@media (max-width: 820px) {
  body { background: #fff; }
  .header-main { grid-template-columns: 1fr 1fr; }
  .site-search { grid-column: 1 / -1; grid-row: 2; }
  .contact-box { grid-column: 2; grid-row: 1; }
  .primary-nav > div { overflow-x: auto; }
  .primary-nav a { min-width: 110px; flex: 0 0 auto; }
  .hero-overlay { width: 72%; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .home-about,
  .tag-builder,
  .about-layout,
  .contact-layout { grid-template-columns: 1fr; }
  .tag-preview-box { min-height: 540px; }
}

@media (max-width: 560px) {
  .utility-bar > div { display: grid; gap: 2px; padding: 6px 14px; }
  .header-main { min-height: 0; grid-template-columns: 1fr; gap: 14px; padding: 15px; }
  .logo { width: min(100%, 250px); }
  .contact-box { grid-column: 1; grid-row: 2; text-align: left; }
  .site-search { grid-column: 1; grid-row: 3; }
  .primary-nav > div { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; }
  .primary-nav a { min-width: 0; display: grid; place-items: center; padding: 10px 3px; font-size: 11px; line-height: 1.2; }
  .breadcrumb { padding: 8px 15px; }
  .hero { height: 385px; }
  .hero::after,
  .page-hero::after { background: linear-gradient(0deg, rgba(6,38,44,.95), rgba(6,38,44,.18)); }
  .hero-overlay { top: auto; width: 100%; padding: 25px 20px; }
  h1 { font-size: 35px; }
  .hero-overlay > p:not(.hero-kicker) { font-size: 15px; }
  .benefit-strip { grid-template-columns: 1fr; }
  .benefit-strip div { min-height: 62px; border-right: 0; border-bottom: 1px solid #ccc; padding: 10px 18px; }
  .page-section { padding: 38px 16px; }
  .section-heading { display: grid; gap: 8px; }
  .section-heading h2,
  .page-copy h2,
  .contact-details h2,
  .tag-builder h2 { font-size: 26px; }
  .category-grid,
  .steps,
  .form-row,
  .service-list { grid-template-columns: 1fr; }
  .category-card img { height: 220px; }
  .home-about img { height: 240px; }
  .page-title { padding: 32px 16px; }
  .page-hero { height: 330px; }
  .page-hero-copy { align-content: end; width: 100%; padding: 25px 20px; }
  .tag-preview-box { min-height: 500px; }
  .tag-preview { width: min(250px, 78vw); }
  .choice-row span { font-size: 11px; }
  .business-list div { grid-template-columns: 68px 1fr; }
  .contact-band { align-items: flex-start; flex-direction: column; padding: 22px 16px; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; padding: 30px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
