/* ==========================================================================
   BingOhio.com — site styles
   Colors are taken from the BingOhio logo: yellow field, royal blue "Bing",
   red "hio", orange ball ring.
   ========================================================================== */

:root {
  --yellow: #ffd60a;
  --yellow-2: #fff27a;
  --yellow-soft: #fff8d6;
  --blue: #1d3a94;
  --blue-dark: #102462;
  --blue-soft: #eaf0ff;
  --red: #e4120a;
  --red-dark: #b90d06;
  --orange: #f7a600;
  --green: #1f9d55;
  --ink: #1b2133;
  --muted: #5b6377;
  --line: #e4e6ee;
  --bg: #ffffff;
  --bg-alt: #f7f7fa;

  --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 36, 98, .06), 0 8px 24px rgba(16, 36, 98, .08);
  --shadow-lg: 0 2px 4px rgba(16, 36, 98, .08), 0 20px 48px rgba(16, 36, 98, .16);
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; color: var(--blue-dark); margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.75rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 8px; color: #fff; }

/* --------------------------------------------------------------- Brand */
.brand {
  display: inline-flex; align-items: center; text-decoration: none;
  font-family: var(--font-head); font-weight: 800; line-height: 1;
  font-size: clamp(1.7rem, 4vw, 2.15rem); letter-spacing: -.02em;
  white-space: nowrap;
}
.brand:hover { color: inherit; }
.brand-bing { color: var(--blue); }
.brand-hio { color: var(--red); }
.brand-com { color: var(--blue-dark); font-size: .5em; font-weight: 700; align-self: flex-end; margin: 0 0 .32em .06em; letter-spacing: 0; }
.brand-o {
  display: inline-grid; place-items: center;
  width: .74em; height: .74em; margin: 0 .16em 0 .14em; position: relative; top: -.02em;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #fff 0 45%, #ececec 75%, #d6d6d6 100%);
  box-shadow: 0 0 0 .12em var(--orange), inset 0 -.04em .08em rgba(0,0,0,.15);
}
.brand-o svg { width: 62%; height: 62%; fill: #111; }

/* --------------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.site-nav a {
  display: block; padding: 8px 12px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  color: var(--blue-dark); text-decoration: none;
}
.site-nav a:hover { background: var(--yellow-soft); color: var(--blue-dark); }
.site-nav a[aria-current="page"] { background: var(--blue-soft); color: var(--blue); }
.site-nav a.nav-cta { background: var(--red); color: #fff; padding: 8px 16px; margin-left: 6px; }
.site-nav a.nav-cta:hover { background: var(--red-dark); color: #fff; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; padding: 0; position: relative;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px;
  background: var(--blue-dark); border-radius: 2px; transition: transform .2s, opacity .2s;
}
.nav-toggle-bars { top: 50%; margin-top: -1px; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Row of bingo-ball colors under the header */
.ball-stripe {
  height: 4px;
  background: linear-gradient(90deg,
    var(--blue) 0 20%, var(--red) 20% 40%, var(--orange) 40% 60%, var(--green) 60% 80%, var(--yellow) 80% 100%);
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px var(--gutter) 16px;
  }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a { padding: 12px 14px; border-radius: 10px; font-size: 1rem; }
  .site-nav a.nav-cta { margin: 8px 0 0; text-align: center; }
  .no-js .nav-toggle { display: none; }
  .no-js .site-nav { position: static; box-shadow: none; border: 0; padding: 0 0 12px; }
  .no-js .header-inner { flex-wrap: wrap; }
}

/* --------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(228, 18, 10, .25); }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); color: #fff; }
.btn--yellow { background: var(--yellow); color: var(--blue-dark); }
.btn--yellow:hover { background: var(--yellow-2); color: var(--blue-dark); }
.btn--ghost { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn--ghost:hover { background: var(--blue-soft); color: var(--blue); }

/* --------------------------------------------------------------- Home hero */
.home-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 400px at 85% 120%, rgba(255,255,255,.55), transparent 60%),
    linear-gradient(180deg, var(--yellow) 0%, #ffe23d 60%, var(--yellow-2) 100%);
  padding: clamp(32px, 6vw, 72px) 0 clamp(48px, 7vw, 88px);
}
.home-hero::after {
  /* white swoosh, as in the original banner */
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -1px; height: 70px;
  background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.eyebrow {
  display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px;
  background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  letter-spacing: .04em; text-transform: uppercase;
}
.hero-copy h1 { color: var(--blue-dark); font-size: clamp(2rem, 5vw, 3.2rem); }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink); }
.hero-copy .lead { font-size: clamp(1.1rem, 2vw, 1.3rem); }
.hero-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.hero-points li { position: relative; padding-left: 34px; font-weight: 600; color: var(--blue-dark); }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue) 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 / 14px no-repeat;
}

.hero-balls { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hb {
  position: absolute; display: grid; place-items: center; text-align: center;
  width: 64px; height: 64px; border-radius: 50%;
  font-family: var(--font-head); font-weight: 800; font-size: .8rem; line-height: 1.05; color: var(--ink);
  background: radial-gradient(circle at 50% 50%, #fff 0 38%, transparent 39%), var(--c);
  box-shadow: inset -6px -8px 14px rgba(0,0,0,.18), inset 6px 6px 12px rgba(255,255,255,.35), 0 8px 18px rgba(16,36,98,.15);
  opacity: .9;
}
.hb1 { --c: var(--blue); left: 2%; bottom: 16%; transform: rotate(-12deg); }
.hb2 { --c: var(--red); left: 44%; top: 4%; width: 48px; height: 48px; font-size: .65rem; }
.hb3 { --c: var(--orange); right: 4%; top: 6%; transform: rotate(10deg); }
.hb4 { --c: var(--green); left: 47%; bottom: 14%; width: 54px; height: 54px; font-size: .7rem; }
.hb5 { --c: var(--blue); right: 2%; bottom: 18%; width: 44px; height: 44px; font-size: .6rem; }

/* --------------------------------------------------------------- Cards & search */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px;
}
.card--hero { box-shadow: var(--shadow-lg); border: 0; padding: clamp(20px, 3vw, 30px); }
.card-title { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 16px; }
.ball {
  flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  font-family: var(--font-head); font-size: .8rem; font-weight: 800; color: var(--ink);
  background: radial-gradient(circle, #fff 0 42%, transparent 43%), var(--c);
}
.ball--red { --c: var(--red); }
.ball--blue { --c: var(--blue); }

.search-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .checks legend { font-weight: 700; font-size: .92rem; color: var(--blue-dark); }

input[type="text"], input[type="email"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid #cfd3df; border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d3a94' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat;
}
textarea { min-height: 160px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 58, 148, .15); }

.checks { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.checks legend { padding: 0; margin-bottom: 6px; }
.checks label, .check { display: flex; align-items: center; gap: 10px; font-weight: 400; font-size: 1rem; color: var(--ink); cursor: pointer; }
input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--blue); flex: none; }

.search-form .btn { width: 100%; margin-top: 4px; }
.search-form--compact { grid-template-columns: 1fr 1fr; }

/* --------------------------------------------------------------- Page hero (inner pages) */
.page-hero {
  background: linear-gradient(180deg, var(--yellow) 0%, var(--yellow-2) 100%);
  padding: clamp(24px, 4vw, 44px) 0 clamp(22px, 3.5vw, 36px);
  border-bottom: 1px solid #f0d84a;
}
.page-hero h1 { margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .92rem; margin-bottom: 8px; color: var(--blue-dark); }
.breadcrumb a { color: var(--blue); font-weight: 600; }

/* --------------------------------------------------------------- Layout */
.layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px);
  padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(48px, 6vw, 80px); align-items: start;
}
.content { max-width: 760px; min-width: 0; }
.content h2 { margin-top: 1.6em; }
.content > .lead:first-child { margin-top: 0; }
.sidebar { display: grid; gap: 24px; position: sticky; top: 100px; }

.learn-list { list-style: none; margin: 0; padding: 0; }
.learn-list li + li { border-top: 1px solid var(--line); }
.learn-list a {
  display: flex; justify-content: space-between; align-items: center; padding: 11px 4px;
  color: var(--ink); text-decoration: none; font-weight: 600;
}
.learn-list a::after { content: "\203A"; color: var(--muted); font-size: 1.3rem; line-height: 1; }
.learn-list a:hover, .learn-list a[aria-current="page"] { color: var(--blue); }
.learn-list a[aria-current="page"]::after { color: var(--red); }

.muted { color: var(--muted); }

/* --------------------------------------------------------------- Home sections */
.section { padding: clamp(36px, 5vw, 64px) 0 0; }
.section:last-child { padding-bottom: clamp(48px, 6vw, 80px); }
.section-head { margin-bottom: 22px; }
.section-head p { color: var(--muted); margin: 0; }
.section-head--row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.section-head--row h2 { margin: 0; }
.text-link { font-weight: 700; text-decoration: none; }

.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.prose { max-width: 680px; }
.pullquote {
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; line-height: 1.4; color: var(--blue);
  border-left: 5px solid var(--yellow); padding: 4px 0 4px 18px; margin: 1.4em 0;
}
.notice {
  background: var(--blue-soft); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px);
  border-top: 6px solid var(--blue);
}
.notice h2 { font-size: 1.3rem; }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 20px 24px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
  text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s;
  overflow: hidden;
}
.tile::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--c, var(--blue)); }
.tile:nth-child(2) { --c: var(--red); }
.tile:nth-child(3) { --c: var(--orange); }
.tile:nth-child(4) { --c: var(--green); }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.tile-title { font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--blue-dark); }
.tile-text { color: var(--muted); }

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: linear-gradient(120deg, var(--blue-dark), var(--blue)); color: #fff;
  border-radius: calc(var(--radius) + 6px); padding: clamp(24px, 4vw, 40px);
}
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0; color: #dfe6ff; max-width: 680px; }
.cta-band .btn { flex: none; }

.photo-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.photo-strip figure, .gallery-item { margin: 0; }
.photo-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.photo-strip figcaption, .gallery-item figcaption { font-size: .92rem; color: var(--muted); margin-top: 8px; }

/* --------------------------------------------------------------- Content components */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager a {
  display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; font-family: var(--font-head); font-weight: 700; color: var(--blue-dark);
}
.pager a:hover { border-color: var(--blue); background: var(--blue-soft); }
.pager small { font-family: var(--font-body); font-weight: 600; color: var(--muted); font-size: .85rem; }
.pager-next { text-align: right; grid-column: 2; }

.glossary { margin: 24px 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.term { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.term dt { font-family: var(--font-head); font-weight: 700; color: var(--blue); }
.term dd { margin: 0; }

.faq-list { display: grid; gap: 12px; margin-top: 8px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq[open] { border-color: #c9d3f2; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative;
  font-family: var(--font-head); font-weight: 700; color: var(--blue-dark); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow); color: var(--blue-dark); font-size: 1.2rem; line-height: 1;
}
.faq[open] summary::after { content: "\2212"; background: var(--blue); color: #fff; }
.faq summary:hover { background: var(--bg-alt); }
.faq-body { padding: 0 20px 6px; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.stats div { background: var(--yellow-soft); border-radius: var(--radius); padding: 20px; }
.stats strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--blue); line-height: 1.1; }
.stats span { color: var(--muted); font-size: .95rem; }

.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0 8px; }
.contact-card {
  display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--radius);
  border: 1px solid var(--line); text-decoration: none; color: var(--blue); font-weight: 600; word-break: break-word;
  font-size: .95rem;
}
.contact-card span { font-family: var(--font-head); color: var(--blue-dark); font-weight: 700; font-size: 1rem; }
.contact-card:hover { border-color: var(--blue); background: var(--blue-soft); }

.feedback-form { display: grid; gap: 18px; max-width: 620px; }
.feedback-form .btn { justify-self: start; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 600; }
.form-status.is-success { background: #e7f7ee; color: #12623a; border: 1px solid #b6e3c8; }
.form-status.is-error { background: #fdecea; color: #8c1b12; border: 1px solid #f5c1bb; }

.link-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.link-list li { display: flex; flex-direction: column; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.link-list a { font-family: var(--font-head); font-weight: 700; }
.link-list span { color: var(--muted); }

.news-list { display: grid; gap: 20px; }
.news-item { border-left: 4px solid var(--yellow); padding: 4px 0 4px 22px; }
.news-item time { font-weight: 700; color: var(--red); font-size: .92rem; text-transform: uppercase; letter-spacing: .04em; }
.news-item h2 { margin: 4px 0 10px; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .25s; }
.gallery a:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px;
  background: rgba(10, 18, 48, .88);
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(92vw, 520px); }
.lightbox img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; border-radius: var(--radius); background: #fff; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 12px; }
.lightbox-close {
  position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: #fff; color: var(--blue-dark); font-size: 1.6rem; line-height: 1; cursor: pointer;
}

/* --------------------------------------------------------------- Footer */
.site-footer { background: var(--blue-dark); color: #c9d3f2; font-size: .98rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer-brand { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--yellow); margin-bottom: 8px; }
.footer-brand span { color: #fff; font-size: .6em; font-weight: 700; }
.footer-heading { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 20px; }
.footer-links li { break-inside: avoid; padding: 3px 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; padding-bottom: 22px; font-size: .9rem;
}
.footer-bottom p { margin: 0; }

/* --------------------------------------------------------------- Responsive */
@media (max-width: 1080px) {
  .layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hb2, .hb4 { display: none; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .photo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .header-inner { min-height: 64px; }
  .sidebar { grid-template-columns: 1fr; }
  .hb { width: 40px; height: 40px; font-size: .55rem; }
  .hb1 { left: auto; bottom: auto; right: 3%; top: 2%; }
  .hb3, .hb5 { display: none; }
  .tiles { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .term { grid-template-columns: 1fr; gap: 4px; }
  .stats { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr; }
  .pager-next { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .feedback-form .btn { justify-self: stretch; }
}

@media (max-width: 380px) {
  .search-form, .search-form--compact { grid-template-columns: 1fr; }
}

@media print {
  .site-header, .sidebar, .site-footer, .home-hero .card, .hero-balls { display: none; }
  .layout { display: block; }
}
