/* Fanelli Boys — single stylesheet for the whole site */
:root {
  --brand: #5d7886;
  --brand-dark: #41545d;
  --brand-light: #e8eef1;
  --ink: #2c2a2a;
  --muted: #5f6468;
  --rule: #d9dee1;
  --footer: #3a3c3c;
  --footer-ink: #c4c4c4;
  --bg: #ffffff;
  --bg-alt: #f4f6f7;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 150px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 "Raleway", system-ui, sans-serif;
}
h1, h2, h3, h4 { font-family: "Montserrat", system-ui, sans-serif; line-height: 1.25; margin: 1.6em 0 .5em; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; margin-top: 1.2em; }
p { margin: 0 0 1em; }
a { color: var(--brand-dark); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { background: var(--brand); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.logo img { display: block; height: 60px; width: auto; }
.site-header ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.site-header nav a { color: #fff; text-decoration: none; display: block; padding: 8px 12px; border-radius: 4px; font-weight: 500; }
.site-header nav a:hover, .site-header nav a:focus-visible { background: var(--brand-dark); }

/* Hero */
.hero { background: linear-gradient(90deg, rgba(44,42,42,.88) 0%, rgba(44,42,42,.7) 45%, rgba(44,42,42,.15) 100%), url(/assets/images/hero.webp) center / cover; color: #fff; }
.hero-inner { padding-top: 72px; padding-bottom: 72px; max-width: 1140px; }
.hero h1 { margin: 0 0 .4em; max-width: 620px; font-size: clamp(1.7rem, 4vw, 2.6rem); }
.hero p { max-width: 560px; font-size: 1.1rem; margin-bottom: 1.4em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Buttons */
.btn { display: inline-block; padding: 11px 18px; border-radius: 6px; background: var(--brand); color: #fff; font: 700 .95rem/1.2 "Montserrat", sans-serif; text-decoration: none; border: 2px solid var(--brand); }
.btn:hover, .btn:focus-visible { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-light { background: transparent; border-color: #fff; color: #fff; }
.btn-light:hover, .btn-light:focus-visible { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { padding: 8px 12px; font-size: .85rem; }

/* Business tiles: subgrid keeps logos, titles, taglines and text on the same lines across tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); grid-auto-rows: auto; gap: 0 20px; padding-top: 32px; padding-bottom: 32px; }
.tile { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 8px; align-content: start; text-align: center; text-decoration: none; color: var(--ink); padding: 16px; border-radius: 8px; transition: background .2s; margin-bottom: 20px; }
.tile:hover { background: var(--bg-alt); }
.tile img { display: block; width: 100%; max-width: 240px; height: 54px; object-fit: contain; margin: 0 auto; align-self: center; }
.tile h2 { font-size: 1.1rem; margin: 0; align-self: center; }
.tile strong { display: block; color: var(--brand); font-weight: 700; font-size: .95rem; line-height: 1.35; }
.tile p { font-size: .92rem; line-height: 1.5; color: var(--muted); margin: 0; }

/* Content sections */
.band { padding: 24px 0 48px; border-top: 1px solid var(--rule); }
.section-banner { height: 220px; margin: -24px 0 8px; background-size: cover; background-position: center; }
.band.alt { background: var(--bg-alt); }
.section-title { font-size: 2rem; color: var(--brand-dark); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 40px; }
.ticks { padding-left: 1.2em; margin: 0 0 1em; }
.ticks li { margin-bottom: .25em; }
.photo { border-radius: 8px; margin-top: 1.6em; }
.banner { display: block; margin: 24px auto 0; border-radius: 8px; }
.banner.narrow { max-width: 360px; }
.fine { font-size: .85rem; color: var(--muted); }

.cards { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.card { background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 14px 16px; }
.card h4 { margin: 0 0 .3em; }
.card p { margin: 0; font-size: .95rem; }

/* Payment options: native <details>, no JavaScript needed */
details { background: #fff; border: 1px solid var(--rule); border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
summary { cursor: pointer; padding: 14px 18px; background: var(--brand); color: #fff; font: 500 1.1rem "Montserrat", sans-serif; list-style: none; display: flex; justify-content: space-between; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 700; }
details[open] summary { background: var(--brand-dark); }
details[open] summary::after { content: "\2212"; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--rule); }
th { background: var(--brand-light); }
@media (max-width: 640px) {
  thead { display: none; }
  tr { display: block; border-bottom: 1px solid var(--rule); padding: 6px 0; }
  td { display: block; border: 0; padding: 4px 14px; }
}

/* Locations & financing */
.lead { font-size: 1.1rem; }
.jump { font-size: .95rem; }
.jump a { display: inline-block; margin: 0 10px 6px 0; }
.stores { list-style: none; padding: 0; margin: 16px 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.store { background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 16px 18px; display: flex; flex-direction: column; scroll-margin-top: 90px; }
.store h3 { margin: 0 0 .4em; font-size: 1.15rem; }
.store h3 span { display: block; font-size: .8rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .04em; }
.store p { margin: 0 0 .3em; font-size: .95rem; }
.store-phone a { font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.store-hours { color: var(--muted); }
.store-links { margin-bottom: .8em !important; }
.pay { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--rule); }
.pay-info { font-size: .9rem; color: var(--muted); }
.pay-info p { margin-bottom: .5em; }

/* Footer */
.site-footer { background: var(--footer); color: var(--footer-ink); text-align: center; padding: 28px 16px; font-size: .85rem; }
.site-footer p { margin: 0; }
.site-footer a { color: #fff; }

@media (max-width: 760px) {
  html { scroll-padding-top: 16px; }
  .site-header { position: static; }
  .header-inner { justify-content: center; }
  .site-header ul { justify-content: center; }
  .site-header nav a { padding: 6px 10px; font-size: .95rem; }
  .hero-inner { padding-top: 44px; padding-bottom: 44px; }
  .store { scroll-margin-top: 16px; }
  .section-banner { height: 140px; }
}
