/* CC Lead Engine — Sheboygan Bathroom Remodel Co
   Static site, no frameworks. Same 7-page structure and lead-form wiring as
   sites/sheboygan-chimney, but restyled on purpose to match the look of the
   Portage Chimney Repair Co / Beavercreek Bathroom Remodel Co reference sites:
   flat solid-color nav (no gradient/shadow), duotone photo hero with a brand
   tint, clip-art "FREE QUOTE" starburst on the lead form, plain underlined
   body links, dense small-type paragraphs, deliberately uneven heading sizes,
   and big flat solid-color panels (some mostly empty). Accessibility fixes
   from the rest of the family are kept: skip link, 44px tap targets, 16px form
   inputs (no iOS zoom). */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

:root {
  --brand: #10195e;        /* flat navy — nav, panels, headings */
  --brand-dark: #0a1040;
  --accent: #ff9f2e;       /* orange — CTA buttons + accent panel */
  --accent-dark: #e88a15;
  --badge: #7b3fe4;        /* violet — FREE QUOTE badge */
  --grey: #f2f2f2;
  --grey-dark: #d9d9d9;
  --text: #222;
  --muted: #666;
  --max-width: 1140px;
}

body {
  font-family: Lato, 'Segoe UI', Tahoma, Arial, sans-serif;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--text);
  background: #fff;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.4rem; }

/* Body links: plain colored underlined text inline in paragraphs. Not buttons. */
a { color: var(--brand); text-decoration: underline; }
a:hover { color: var(--accent-dark); }

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 0; top: 0; background: var(--brand); color: #fff; padding: 0.5rem 1rem; z-index: 200; text-decoration: none; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1rem; }

/* ---------- header / nav: one flat brand color, no gradient, no shadow ---------- */
.header { background: var(--brand); color: #fff; }
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.header__logo { font-family: Oswald, Impact, 'Arial Narrow', Arial, sans-serif; font-size: 1.15rem; letter-spacing: 0.02em; text-transform: uppercase; color: #fff; text-decoration: none; line-height: 1.1; padding-right: 0.5rem; }
.nav { display: none; }
.nav--open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--brand); padding: 0.5rem 1rem 1rem; z-index: 100; }
.nav a { color: #fff; text-decoration: none; padding: 0.75rem 0.9rem; font-weight: 700; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.04em; min-height: 44px; display: flex; align-items: center; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--brand-dark); color: #fff; }
.nav a.nav__phone, .nav a.nav__phone:hover { color: #fff; font-weight: 700; padding: 0.75rem 0.9rem; min-height: 44px; display: flex; align-items: center; background: var(--accent-dark); text-decoration: none; }
.nav a.nav__phone:hover { background: var(--accent); color: #111; }

/* Services dropdown: .nav__item wraps the "Services" link + a separate caret
   button, so tapping "Services" itself still navigates to /services.html while
   the caret toggles the submenu. Submenu shows on hover, on keyboard focus
   (:focus-within), or via the JS-toggled .nav__item--open class (reliable
   mobile tap, same inline-onclick pattern as the hamburger). */
.nav__item { display: flex; align-items: center; position: relative; flex-wrap: wrap; }
.nav__item > a { flex: 1 1 auto; }
.nav__caret { background: none; border: none; color: #fff; cursor: pointer; font-size: 1rem; min-width: 44px; min-height: 44px; padding: 0.5rem; }
.nav__caret:hover, .nav__caret:focus-visible { background: var(--brand-dark); outline: none; }
.nav__submenu { display: none; list-style: none; padding: 0; margin: 0; width: 100%; background: rgba(0,0,0,0.18); }
.nav__item:hover .nav__submenu, .nav__item:focus-within .nav__submenu, .nav__item--open .nav__submenu { display: block; }
.nav__submenu li { padding: 0; }
.nav__submenu a { padding-left: 1.75rem; text-transform: none; font-weight: 500; font-size: 0.9rem; letter-spacing: 0; }
.nav__submenu a:hover { background: rgba(255,255,255,0.14); }
.menu-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; min-width: 44px; min-height: 44px; justify-content: center; }
.menu-toggle span { display: block; width: 24px; height: 3px; background: #fff; }

/* ---------- hero: duotone photo (grayscale + brand tint overlay) ---------- */
.hero { position: relative; overflow: hidden; background: var(--brand); color: #fff; text-align: center; padding: 4.5rem 0 4rem; }
.hero--small { padding: 2.75rem 0 2.5rem; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(0.9); }
.hero__tint { position: absolute; inset: 0; background: var(--brand); opacity: 0.78; mix-blend-mode: multiply; }
.hero__tint::after { content: ""; position: absolute; inset: 0; background: rgba(16,25,94,0.35); }
.hero__inner { position: relative; z-index: 1; }
.hero h1 { font-family: Oswald, Impact, 'Arial Narrow', Arial, sans-serif; font-size: 2.1rem; line-height: 1.1; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 0.75rem; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.hero p { font-size: 1rem; max-width: 640px; margin: 0 auto 1.25rem; color: #eee; }
.hero__phone { display: block; width: max-content; font-family: Oswald, Impact, 'Arial Narrow', Arial, sans-serif; font-size: 1.75rem; font-weight: 700; letter-spacing: 0.03em; color: #fff; text-decoration: none; margin: 0 auto 0.9rem; padding: 0.25rem 0.5rem; min-height: 44px; line-height: 1.5; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.hero__phone:hover { color: var(--accent); }
.body-phone-cta { font-weight: 700; color: var(--brand); }
.body-phone-cta a { color: var(--accent-dark); white-space: nowrap; }

/* ---------- buttons (CTAs only — body links are NOT buttons) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.8rem 1.6rem; font-weight: 700; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; border: none; cursor: pointer; min-height: 44px; border-radius: 3px; }
.btn--accent { background: var(--accent); color: #111; }
.btn--accent:hover { background: var(--accent-dark); color: #111; }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-dark); color: #fff; }
.btn--block { width: 100%; }

/* ---------- sections / panels ---------- */
.section { padding: 2rem 0; }
.section--grey { background: var(--grey); }
.panel { padding: 3rem 0; text-align: center; }
.panel--tall { padding: 5.5rem 0; }        /* big flat panel, mostly empty space on purpose */
.panel--brand { background: var(--brand); color: #fff; }
.panel--brand a:not(.btn) { color: #fff; }
.panel--accent { background: var(--accent); color: #111; }
.panel--accent a:not(.btn) { color: #111; }
.panel h2 { margin-bottom: 1rem; }
.panel p { margin-bottom: 1.25rem; }
.panel .btn { margin-top: 0.25rem; }

/* headings: sizes intentionally uneven section to section */
h1, h2, h3 { color: inherit; }
.h-big { font-family: Oswald, Impact, 'Arial Narrow', Arial, sans-serif; font-size: 2rem; font-weight: 400; text-transform: uppercase; line-height: 1.15; margin-bottom: 0.75rem; }
.h-mid { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.6rem; }
.h-small { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin: 1rem 0 0.35rem; }
.content h2:not([class]) { font-size: 1.3rem; margin-bottom: 0.5rem; }
.content h3:not([class]) { font-size: 1.05rem; margin-bottom: 0.25rem; }
.content p { margin: 0 0 0.7rem; }
.content ul { margin: 0 0 0.7rem; }
.muted { color: var(--muted); }

.two-col { display: grid; gap: 1.5rem; }
.side-panel { background: var(--brand); color: #fff; padding: 1.25rem 1.25rem 1rem; align-self: start; }
.side-panel h3 { font-size: 1.1rem; margin-bottom: 0.5rem; text-transform: uppercase; }
.side-panel a { color: #fff; }
.side-panel__cta { margin-top: 0.75rem; font-weight: 700; }
.plain-list { list-style: none; padding: 0; }
.plain-list li { padding: 0.3rem 0; border-bottom: 1px solid rgba(255,255,255,0.18); }
.check-list li { margin-bottom: 0.35rem; }

.grid { display: grid; gap: 1.25rem; }
.tile { background: #fff; color: var(--text); padding: 1.25rem; text-align: left; }
.tile h3 { font-size: 1.15rem; margin-bottom: 0.4rem; color: var(--brand); }
.tile p { margin-bottom: 0.5rem; }
.reasons h3, .steps h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.reasons > div, .steps > div { padding: 0.75rem 1rem; background: var(--grey); }
.steps > div { border-left: 6px solid var(--accent); }
.service-row { display: grid; gap: 1.25rem; align-items: start; }
.inline-photo { width: 100%; max-height: 460px; object-fit: cover; }
.photo-band { max-width: var(--max-width); margin: 0 auto; padding: 0 1rem; }
.photo-band img { width: 100%; max-height: 420px; object-fit: cover; }

/* ---------- photo grid gallery ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* ---------- full-bleed image band (same duotone technique as .hero) ---------- */
.band { position: relative; overflow: hidden; color: #fff; padding: 3rem 0; text-align: left; }
.band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(0.9); }
.band__tint { position: absolute; inset: 0; background: var(--brand); opacity: 0.78; mix-blend-mode: multiply; }
.band .container { position: relative; z-index: 1; max-width: 620px; }
.band h2, .band p { color: #fff; }
.band p { margin: 0.75rem 0 1.25rem; }

/* ---------- icon-cards (reuses .tile's white-card look) ---------- */
.card__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 1.25rem; margin-bottom: 0.75rem; }

/* ---------- accordion ---------- */
.accordion__item { border-bottom: 1px solid var(--grey-dark); }
.accordion__trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; padding: 1rem 0.25rem; background: none; border: none; text-align: left; font-weight: 700; font-size: 1.05rem; color: var(--text); cursor: pointer; }
.accordion__icon { flex-shrink: 0; margin-left: 1rem; font-size: 1.5rem; font-weight: 400; color: var(--accent-dark); transition: transform 0.2s; }
.accordion__trigger[aria-expanded="true"] .accordion__icon { transform: rotate(45deg); }
.accordion__panel { padding: 0 0.25rem 1.25rem; color: var(--muted); }
.accordion__panel[hidden] { display: none; }

/* ---------- lead form + FREE QUOTE badge ---------- */
.form-section { position: relative; background: #fff; border: 4px solid var(--brand); padding: 1.5rem 1.25rem 1.25rem; max-width: 620px; margin: 0 auto; }
.form-section__title { font-family: Oswald, Impact, 'Arial Narrow', Arial, sans-serif; font-size: 1.7rem; text-transform: uppercase; color: var(--brand); margin-bottom: 0.25rem; padding-right: 100px; }
.form-section__sub { color: var(--muted); margin-bottom: 1rem; padding-right: 100px; }
.quote-badge { position: absolute; top: -28px; right: -14px; width: 108px; height: 108px; transform: rotate(12deg); filter: drop-shadow(1px 2px 0 rgba(0,0,0,0.35)); }
.quote-badge svg { width: 100%; height: 100%; }
.form-group { margin-bottom: 0.9rem; }
.form-group label { display: block; margin-bottom: 0.25rem; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.65rem; border: 1px solid #999; border-radius: 0; font-size: 16px; /* prevent iOS zoom on focus */ font-family: inherit; min-height: 44px; background: #fff; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: 3px solid var(--accent); outline-offset: 0; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note { margin-top: 0.6rem; font-size: 0.8rem; color: var(--muted); }
.form-success { display: none; text-align: center; padding: 1.5rem; background: #e7f2e8; border: 1px solid #c3ddc5; color: #2f5f34; }
.form-success.visible { display: block; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* ---------- mobile CTA bar ---------- */
.cta-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--accent); padding: 0.75rem; text-align: center; z-index: 99; }
.cta-bar a { color: #111; font-weight: 700; font-size: 1.05rem; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
body { padding-bottom: 60px; }

/* ---------- footer ---------- */
.footer { background: var(--brand); color: rgba(255,255,255,0.8); padding: 1.75rem 0; text-align: center; font-size: 0.8rem; }
.footer a { color: #fff; }
.footer__links { display: flex; justify-content: center; gap: 1rem 1.25rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.footer__links a { min-height: 44px; display: inline-flex; align-items: center; }
.footer p { margin-bottom: 0.25rem; }

/* ---------- footer: 3-column layout ---------- */
.footer__grid { display: grid; gap: 1.75rem; text-align: left; margin-bottom: 1.5rem; }
.footer__col h3 { color: #fff; font-size: 0.95rem; margin-bottom: 0.6rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer__col p { color: rgba(255,255,255,0.8); margin-bottom: 0.35rem; }
.footer__col a { color: #fff; }
.footer__grid .footer__links { justify-content: flex-start; flex-direction: column; gap: 0.35rem; margin-bottom: 0; }
.footer__bottom { text-align: center; }

/* ---------- responsive ---------- */
@media (min-width: 768px) {
  .hero h1 { font-size: 3rem; }
  .hero { padding: 6rem 0 5rem; }
  .hero--small { padding: 3.5rem 0 3rem; }
  .header__logo { font-size: 1.35rem; white-space: nowrap; }
  .nav { display: flex; align-items: center; }
  .nav__item { flex-wrap: nowrap; }
  .nav__submenu { position: absolute; top: 100%; left: 0; width: auto; min-width: 250px; background: var(--brand-dark); box-shadow: 0 6px 14px rgba(0,0,0,0.25); z-index: 150; }
  .nav__submenu a { padding-left: 0.9rem; }
  .menu-toggle { display: none; }
  .cta-bar { display: none; }
  body { padding-bottom: 0; }
  .two-col { grid-template-columns: 2fr 1fr; }
  .two-col--rev { grid-template-columns: 3fr 2fr; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .service-row { grid-template-columns: 3fr 2fr; }
  .quote-badge { width: 130px; height: 130px; top: -34px; right: -20px; }
  .form-section { padding: 1.75rem 1.5rem 1.5rem; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 3.4rem; }
  .hero__phone { font-size: 2.1rem; }
  .section { padding: 2.5rem 0; }
  .panel--tall { padding: 7rem 0; }
  .photo-grid { grid-template-columns: repeat(4, 1fr); }
  .band { padding: 4.5rem 0; }
}
