/* Cruzeiro TEM - identidade pública unificada | Build CT-20261007-002 */
@font-face {
  font-family: Montserrat;
  src: url("fonts/montserrat-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: Caveat;
  src: url("fonts/caveat-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
}
:root {
  --ct-navy: #063263;
  --ct-navy-2: #002b5c;
  --ct-navy-deep: #022345;
  --ct-red: #f03143;
  --ct-red-dark: #dc2437;
  --ct-yellow: #fdbb0a;
  --ct-blue: #0876d5;
  --ct-green: #078747;
  --ct-ink: #092d5b;
  --ct-body: #3d5068;
  --ct-muted: #5c7088;
  --ct-pale: #eef7fd;
  --ct-border: #dce6ef;
  --ct-white: #fff;
  --ct-container: 1052px;
  --ct-shadow: 0 4px 14px rgba(5, 42, 82, .08);
  --ct-shadow-button: 0 5px 12px rgba(5, 42, 82, .16);
  --ct-radius: 11px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ct-ink);
  background: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--ct-container), calc(100% - 70px)); margin-inline: auto; }
.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 9999; background: #fff; color: var(--ct-navy); padding: 10px 14px; border-radius: 7px; font-weight: 800; box-shadow: var(--ct-shadow); }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Header */
.site-header { position: relative; z-index: 50; height: 72px; background: rgba(255, 255, 255, .98); }
.header-inner { display: flex; align-items: center; width: min(1000px, calc(100% - 70px)); height: 100%; gap: 24px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; width: 178px; height: 66px; overflow: hidden; }
.brand img { display: block; width: 178px; height: auto; }
.nav { display: flex; align-items: center; justify-content: center; gap: 29px; margin-left: auto; }
.nav a { position: relative; display: inline-flex; align-items: center; height: 38px; font-size: 11px; font-weight: 600; color: #161c25; white-space: nowrap; }
.nav a:hover, .nav a:focus-visible { color: var(--ct-navy); }
.nav a.active { color: var(--ct-navy); font-weight: 700; }
.nav a.active::after { position: absolute; left: -5px; right: -5px; bottom: 0; height: 3px; border-radius: 3px; background: var(--ct-navy); content: ""; }
.nav .nav-search { width: 28px; justify-content: center; color: var(--ct-navy); }
.nav-search .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.nav-toggle { display: none; width: 42px; height: 40px; align-items: center; justify-content: center; border: 0; border-radius: 8px; color: #fff; background: var(--ct-navy); }
.nav-toggle .icon { width: 22px; height: 22px; }

.rv-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 39px;
  padding: 10px 18px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-shadow: var(--ct-shadow-button);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.rv-button:hover { filter: brightness(1.04); transform: translateY(-1px); box-shadow: 0 7px 16px rgba(5, 42, 82, .2); }
.rv-button:focus-visible { outline: 3px solid rgba(253, 187, 10, .7); outline-offset: 2px; }
.rv-button:disabled { cursor: wait; opacity: .68; transform: none; }
.rv-button--navy { background: linear-gradient(100deg, var(--ct-navy-2), #063d78); }
.rv-button--red { background: linear-gradient(100deg, #f3263c, #fb4050); }
.header-register { min-width: 177px; min-height: 38px; margin-left: 7px; padding-inline: 16px; font-size: 11px; }
.header-register .icon { width: 16px; height: 16px; }

/* Hero */
.hero { position: relative; height: 302px; overflow: hidden; isolation: isolate; background: linear-gradient(105deg, #f5fbff 0%, #edf7ff 52%, #dbeaf5 100%); }
.hero::after { position: absolute; z-index: 4; inset: auto 0 0; height: 42px; background: linear-gradient(to bottom, rgba(238, 247, 253, 0), rgba(238, 247, 253, .92)); content: ""; pointer-events: none; }
.hero-main-image { position: absolute; z-index: 0; inset: 0 8% 0 39%; background: url('img/museu-major-novaes.jpg') 47% 52% / cover no-repeat; }
.hero-main-image::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(239, 248, 255, .84), rgba(239, 248, 255, .04) 34%, rgba(2, 35, 69, .03)); content: ""; }
.hero-fade { position: absolute; z-index: 1; inset: 0 38% 0 0; background: linear-gradient(94deg, #f7fcff 0%, #f0f9ff 69%, rgba(240, 249, 255, 0) 100%); }
.hero-content { position: relative; z-index: 6; display: flex; align-items: center; height: 100%; }
.hero-copy { width: 50%; padding: 0 0 9px 32px; }
.hero h1 { margin: 0 0 8px; color: var(--ct-navy); font-size: clamp(31px, 3.7vw, 42px); font-weight: 900; letter-spacing: -1.75px; line-height: 1.02; }
.hero h1 span { color: var(--ct-red); }
.hero-copy > p { max-width: 430px; margin: 0 0 13px; color: #31445d; font-size: 14px; font-weight: 500; line-height: 1.4; }
.hero-actions { display: flex; gap: 10px; }
.hero-actions .rv-button:first-child { min-width: 174px; }
.hero-actions .rv-button:last-child { min-width: 226px; }
.hero-actions .icon { width: 17px; height: 17px; }
.hero-actions .icon--arrow { width: 14px; height: 14px; margin-left: 2px; }
.hero-handwriting { position: absolute; z-index: 7; left: 49%; top: 27px; color: var(--ct-navy); font-family: Caveat, "Segoe Script", cursive; font-size: 28px; font-weight: 500; line-height: .94; text-align: center; transform: rotate(-6deg); text-shadow: 0 1px 0 rgba(255, 255, 255, .75); }
.hero-handwriting i { display: block; width: 104px; height: 4px; margin: 8px 0 0 44px; border-radius: 999px; background: var(--ct-yellow); transform: rotate(-7deg); }
.hero-photo-strip { position: absolute; z-index: 8; top: -8px; right: -26px; width: 281px; height: 322px; pointer-events: none; }
.hero-tile { position: absolute; overflow: hidden; margin: 0; border: 7px solid #fff; border-radius: 18px; background: #fff; box-shadow: 0 4px 11px rgba(3, 32, 62, .19); transform: rotate(8deg) skewX(-7deg); }
.hero-tile img { width: 118%; height: 118%; margin: -4% -9%; object-fit: cover; transform: skewX(7deg) rotate(-8deg) scale(1.08); }
.hero-tile--top { top: -21px; right: 0; width: 248px; height: 126px; }
.hero-tile--top img { object-position: 54% 39%; }
.hero-tile--middle { top: 100px; right: -20px; width: 164px; height: 129px; transform: rotate(9deg) skewX(-7deg); }
.hero-tile--middle img { object-position: 42% 59%; }
.hero-tile--bottom { right: 11px; bottom: -12px; width: 244px; height: 112px; transform: rotate(7deg) skewX(-7deg); }
.hero-tile--bottom img { object-position: 51% 62%; }

/* Quick tools */
.tools-panel { position: relative; z-index: 20; display: grid; grid-template-columns: 1fr 1.02fr; gap: 8px; margin-top: -25px; }
.tool-card { min-width: 0; margin: 0; padding: 10px 12px 9px; border: 1px solid var(--ct-border); border-radius: 15px; background: rgba(255, 255, 255, .98); box-shadow: var(--ct-shadow); }
.tool-title { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.square-icon { display: inline-flex; width: 33px; height: 33px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 7px; color: #fff; background: linear-gradient(145deg, #073a74, #002957); }
.square-icon .icon { width: 18px; height: 18px; }
.tool-title strong { display: block; margin-bottom: 1px; color: var(--ct-navy); font-size: 12px; font-weight: 800; line-height: 1.15; }
.tool-title small { display: block; color: var(--ct-muted); font-size: 10px; line-height: 1.3; }
.tool-fields { display: flex; align-items: center; gap: 7px; }
.field-with-icon { position: relative; display: flex; flex: 1 1 0; min-width: 0; }
.field-with-icon--wide { flex-grow: 1.55; }
.field-with-icon--select { flex: 0 0 125px; }
.field-with-icon > .icon { position: absolute; z-index: 2; left: 10px; top: 50%; width: 13px; height: 13px; color: var(--ct-navy); transform: translateY(-50%); }
.tool-fields input, .tool-fields select { width: 100%; height: 38px; min-width: 0; padding: 0 9px 0 31px; border: 1px solid var(--ct-border); border-radius: 7px; outline: 0; color: var(--ct-ink); background: #fbfdff; font-size: 10px; transition: border-color .15s, box-shadow .15s; }
.tool-fields select { appearance: auto; padding-right: 4px; }
.tool-fields input:focus, .tool-fields select:focus { border-color: #7ea8cf; box-shadow: 0 0 0 3px rgba(8, 118, 213, .1); }
.tool-fields input::placeholder { color: #5b7087; opacity: 1; }
.tool-fields > .rv-button { min-width: 72px; min-height: 38px; padding: 9px 13px; border-radius: 7px; font-size: 10px; }
.bus-fields .field-with-icon { min-width: 0; }
.swap-btn { display: inline-flex; width: 22px; height: 32px; flex: 0 0 auto; align-items: center; justify-content: center; padding: 0; border: 0; color: var(--ct-navy); background: transparent; }
.swap-btn .icon { width: 17px; height: 17px; stroke-width: 2.3; }
.bus-results { grid-column: 1 / -1; margin-top: 2px; padding: 14px; border: 1px solid var(--ct-border); border-radius: 14px; background: #fff; box-shadow: var(--ct-shadow); }
.bus-results[hidden] { display: none; }
.bus-loading, .bus-empty { padding: 18px; border-radius: 9px; color: var(--ct-body); background: #f5f9fd; text-align: center; font-size: 12px; }
.bus-empty a { color: var(--ct-blue); font-weight: 700; text-decoration: underline; }
.bus-results-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.bus-results-header strong, .bus-results-header span { display: block; }
.bus-results-header strong { font-size: 13px; }
.bus-results-header span { margin-top: 2px; color: var(--ct-muted); font-size: 10px; }
.bus-day-switch { display: flex; padding: 3px; border-radius: 8px; background: #edf4fa; }
.bus-day-switch button { padding: 6px 9px; border: 0; border-radius: 6px; color: var(--ct-body); background: transparent; font-size: 10px; font-weight: 700; }
.bus-day-switch button.is-active { color: #fff; background: var(--ct-navy); }
.bus-results-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.bus-result-card { padding: 10px; border: 1px solid var(--ct-border); border-radius: 10px; background: #fff; }
.bus-result-head { display: flex; align-items: center; gap: 9px; }
.bus-result-head > div { min-width: 0; flex: 1; }
.bus-result-head strong { display: block; font-size: 10px; line-height: 1.3; }
.bus-result-head small { display: block; margin-top: 2px; color: var(--ct-muted); font-size: 9px; }
.bus-line-code { display: inline-flex; min-width: 42px; height: 31px; align-items: center; justify-content: center; border-radius: 7px; color: #fff; background: var(--ct-navy); font-size: 11px; font-weight: 900; }
.bus-color--branca { color: var(--ct-navy); border: 1px solid #cbd8e5; background: #fff; }
.bus-color--ciano { background: #08aaca; }
.bus-color--azul { background: #0876d5; }
.bus-color--vermelha { background: #e62c42; }
.bus-color--amarela { color: #533c00; background: #fdbb0a; }
.bus-color--verde { background: var(--ct-green); }
.bus-color--rosa { background: #e9539b; }
.bus-color--laranja { background: #eb7e17; }
.next-bus { flex: 0 0 auto; text-align: right; }
.next-bus b { display: block; color: var(--ct-green); font-size: 15px; }
.bus-times { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 9px; }
.bus-times time { padding: 4px 6px; border-radius: 5px; color: var(--ct-navy); background: #edf5fb; font-size: 10px; font-weight: 700; }
.no-service { color: var(--ct-muted); font-size: 10px; }
.bus-source-note { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin: 10px 0 0; color: var(--ct-body); font-size: 10px; line-height: 1.45; }
.bus-source-note > .icon { color: var(--ct-green); }
.bus-source-note a { display: inline-flex; align-items: center; gap: 3px; color: var(--ct-blue); font-weight: 700; text-decoration: underline; }
.bus-source-note small { flex-basis: 100%; color: var(--ct-muted); }

/* Shared section headings */
.section { padding-top: 17px; padding-bottom: 15px; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 13px; }
.section-heading h2, .join-intro h2, .contact-intro h2 { margin: 0; color: var(--ct-navy); font-size: 20px; font-weight: 900; letter-spacing: -.65px; line-height: 1.12; }
.section-heading h2::after, .join-intro h2::after, .contact-intro h2::after { display: block; width: 34px; height: 4px; margin-top: 8px; border-radius: 9px; background: var(--ct-yellow); content: ""; }
.section-heading p { margin: -1px 0 0 46px; color: var(--ct-muted); font-size: 10px; line-height: 1.35; }
.section-heading > a { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; color: #0068c7; font-size: 10px; font-weight: 700; text-decoration: underline; white-space: nowrap; }
.section-heading > a .icon { width: 12px; height: 12px; }

/* Business cards */
.business-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }
.business-card, .post-card, .event-card { min-width: 0; overflow: hidden; border: 1px solid var(--ct-border); border-radius: 8px; background: #fff; box-shadow: 0 3px 9px rgba(5, 42, 82, .07); }
.business-photo { position: relative; height: 82px; margin: 5px 5px 0; overflow: hidden; border-radius: 7px; background: #edf3f8; }
.business-photo img, .post-image img, .event-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.business-tag, .post-tag { position: absolute; z-index: 2; left: 6px; top: 6px; display: inline-flex; align-items: center; gap: 4px; max-width: calc(100% - 12px); padding: 5px 7px; overflow: hidden; border-radius: 6px; color: #fff; background: var(--ct-red); font-size: 8px; font-weight: 800; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
.business-tag .icon { width: 9px; height: 9px; }
.business-tag.blue, .post-tag { background: #0876d5; }
.business-tag.gold { background: #f5a900; }
.business-tag.purple { background: #7951c2; }
.business-tag.orange { background: #ed7c15; }
.business-body { display: flex; min-height: 111px; flex-direction: column; padding: 6px 7px 7px; }
.business-body h3, .post-body h3, .event-body h3 { margin: 0 0 3px; color: var(--ct-navy); font-size: 11px; font-weight: 800; line-height: 1.2; }
.business-body p, .post-body p { display: -webkit-box; min-height: 29px; margin: 0 0 5px; overflow: hidden; color: var(--ct-body); font-size: 9px; line-height: 1.42; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.business-location { display: flex; align-items: center; gap: 3px; margin: auto 0 6px; color: var(--ct-ink); font-size: 9px; }
.business-location .icon { width: 10px; height: 10px; }
.business-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.business-actions:has(.mini-button:only-child) { grid-template-columns: 1fr; }
.mini-button { display: inline-flex; min-width: 0; height: 25px; align-items: center; justify-content: center; gap: 3px; padding: 3px; border: 1px solid #aac3db; border-radius: 5px; color: var(--ct-navy); background: #fff; font-size: 8px; font-weight: 800; white-space: nowrap; }
.mini-button .icon { width: 9px; height: 9px; }
.mini-button--green { border-color: var(--ct-green); color: #fff; background: var(--ct-green); }
.rv-photo-placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; flex-direction: column; gap: 5px; color: #fff; background: linear-gradient(135deg, #092e5c, #16699f); text-align: center; }
.rv-photo-placeholder span { font-size: 12px; font-weight: 900; }.rv-photo-placeholder b { color: #ff4054; }.rv-photo-placeholder small { font-size: 8px; opacity: .82; }
.empty-state { grid-column: 1 / -1; padding: 22px; border: 1px dashed #bad0e3; border-radius: 9px; color: var(--ct-muted); background: #f7faff; text-align: center; font-size: 11px; }
.empty-state a { color: var(--ct-blue); }

/* Join band */
.join-band { padding: 14px 0; background: linear-gradient(100deg, #eef8fe, #e8f3fc 56%, #f2f8fc); }
.join-layout { display: flex; align-items: center; gap: 21px; }
.join-intro { width: 229px; flex: 0 0 229px; }
.join-intro h2 { font-size: 20px; }
.join-intro p { margin: 6px 0 0; color: var(--ct-body); font-size: 10px; line-height: 1.5; }
.steps-card { display: grid; min-width: 0; flex: 1; grid-template-columns: 1fr 18px 1fr 18px 1.15fr 18px 1fr 145px; align-items: stretch; gap: 3px; padding: 8px 8px 7px 13px; border-radius: 15px; background: #fff; box-shadow: 0 3px 10px rgba(5, 42, 82, .04); }
.step { display: flex; min-width: 0; flex-direction: column; padding: 0 3px; }
.step-top { display: flex; height: 37px; align-items: center; gap: 13px; }
.step-number { display: inline-flex; width: 27px; height: 27px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 800; }
.step-number.red { background: var(--ct-red); }.step-number.blue { background: var(--ct-blue); }.step-number.gold { background: var(--ct-yellow); }.step-number.green { background: var(--ct-green); }
.step-icon { width: 25px; height: 25px; fill: none; stroke: var(--ct-navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step strong { min-height: 30px; color: var(--ct-navy); font-size: 10px; line-height: 1.25; }
.step small { margin-top: 5px; color: var(--ct-muted); font-size: 9px; line-height: 1.4; }
.step-chevron { width: 18px; height: 18px; margin-top: 13px; fill: none; stroke: #879cb2; stroke-width: 2.5; }
.friend-card { position: relative; display: flex; min-width: 0; flex-direction: column; padding: 9px 9px 7px; border-radius: 9px; background: #fff4d9; }
.friend-card strong { color: var(--ct-navy); font-size: 10px; line-height: 1.25; }
.friend-card strong .icon { width: 21px; height: 21px; margin-right: 4px; color: var(--ct-blue); vertical-align: middle; }
.friend-card small { margin-top: 7px; color: var(--ct-body); font-size: 9px; line-height: 1.42; }
.friend-heart { position: absolute; right: 8px; bottom: 7px; width: 16px; height: 16px; fill: var(--ct-red); stroke: var(--ct-red); }

/* Posts and events */
.editorial-section { display: grid; grid-template-columns: 1fr .96fr; gap: 28px; padding-top: 13px; padding-bottom: 12px; }
.editorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.post-card > a { display: block; height: 100%; }
.post-image, .event-image { position: relative; height: 78px; overflow: hidden; background: #edf3f8; }
.post-tag { top: auto; bottom: -1px; }
.post-body, .event-body { padding: 7px 7px 8px; }
.post-body h3, .event-body h3 { min-height: 27px; font-size: 10px; line-height: 1.22; }
.post-body p { min-height: 31px; margin-bottom: 4px; font-size: 9px; -webkit-line-clamp: 3; }
.post-date { color: var(--ct-muted); font-size: 9px; }
.event-image time { position: absolute; z-index: 2; left: 7px; top: 6px; display: flex; min-width: 34px; min-height: 39px; align-items: center; justify-content: center; flex-direction: column; padding: 4px; border-radius: 5px; color: var(--ct-navy); background: #fff; font-size: 13px; font-weight: 900; line-height: 1; box-shadow: 0 2px 8px rgba(5, 42, 82, .15); }
.event-image time small { margin-top: 2px; font-size: 8px; }
.event-meta { display: flex; align-items: center; gap: 3px; margin-top: 4px; color: var(--ct-body); font-size: 9px; line-height: 1.2; }
.event-meta .icon { width: 9px; height: 9px; color: var(--ct-navy); }
.event-action { display: flex; height: 27px; align-items: center; justify-content: center; gap: 5px; margin-top: 7px; border-radius: 5px; color: #fff; background: linear-gradient(100deg, #f3263c, #fb4050); font-size: 9px; font-weight: 800; }
.event-action .icon { width: 10px; height: 10px; }

/* Contact */
.contact-band { padding: 11px 0 10px; background: linear-gradient(96deg, #eef8fe, #e7f2fb); }
.contact-layout { display: flex; align-items: center; gap: 18px; }
.contact-intro { width: 306px; flex: 0 0 306px; padding-right: 18px; border-right: 1px solid #cfdeeb; }
.contact-intro h2 { font-size: 22px; }
.contact-intro p { margin: 6px 0 0; color: var(--ct-body); font-size: 10px; line-height: 1.45; }
.contact-form { display: flex; min-width: 0; flex: 1; align-items: flex-end; gap: 18px; }
.form-grid { display: grid; min-width: 0; flex: 1; grid-template-columns: 152px 1fr; gap: 6px 13px; }
.form-grid label { display: flex; min-width: 0; flex-direction: column; gap: 2px; color: var(--ct-body); font-size: 9px; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; height: 23px; min-width: 0; padding: 3px 7px; border: 1px solid var(--ct-border); border-radius: 3px; outline: none; background: #fff; font-size: 9px; }
.form-grid textarea { min-height: 23px; max-height: 58px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: #7ea8cf; box-shadow: 0 0 0 2px rgba(8, 118, 213, .09); }
.contact-action { width: 154px; flex: 0 0 154px; }
.contact-action .rv-button { width: 100%; min-height: 36px; padding: 8px 11px; border-radius: 7px; font-size: 10px; }
.form-feedback { min-height: 10px; margin: 4px 0 0; color: var(--ct-body); font-size: 9px; line-height: 1.3; }

/* Footer */
.site-footer { padding-top: 10px; color: #fff; background: radial-gradient(circle at 20% 0, #0a4774 0, var(--ct-navy-deep) 43%, #001d39 100%); }
.footer-grid { display: grid; grid-template-columns: 2fr .95fr 1.2fr 1.25fr 1.7fr; gap: 22px; align-items: start; padding-bottom: 8px; }
.footer-logo img { display: block; width: 175px; height: auto; margin-top: 0; }
.footer-grid strong { display: block; margin-bottom: 3px; font-size: 10px; }
.footer-grid a:not(.footer-social a), .footer-grid span { display: flex; align-items: center; gap: 4px; font-size: 9px; line-height: 1.55; opacity: .97; }
.footer-grid a:hover { text-decoration: underline; }
.footer-grid .icon { width: 9px; height: 9px; }
.footer-social { display: flex; gap: 7px; margin-top: 5px; }
.footer-social a { display: inline-flex; width: 17px; height: 17px; align-items: center; justify-content: center; border-radius: 5px; color: #fff; background: #0876d5; }
.footer-social a:nth-child(2) { background: linear-gradient(135deg, #6d3bd2, #e63778, #ff9d31); }.footer-social a:nth-child(3) { background: #e42835; }
.footer-social a[hidden] { display: none; }
.footer-social .icon { width: 11px; height: 11px; }
.footer-motto { display: flex; min-height: 68px; align-items: center; justify-content: center; flex-direction: column; border-left: 1px solid #6885a0; font-size: 12px; line-height: 1.35; text-align: center; }
.footer-motto i { display: block; width: 35px; height: 3px; margin-top: 9px; border-radius: 4px; background: var(--ct-yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0 7px; border-top: 1px solid #31516f; }
.footer-bottom small { font-size: 9px; }.footer-bottom a { font-weight: 800; }

/* WordPress portal pages use the exact same shell */
.ct-page-main { min-height: 610px; padding-bottom: 44px; background: #fff; }
.ct-page-hero { padding: 34px 0 30px; background: linear-gradient(105deg, #eef8fe, #fff 60%, #e6f2fa); }
.ct-page-hero .breadcrumbs { display: flex; gap: 6px; margin-bottom: 10px; color: var(--ct-muted); font-size: 11px; }
.ct-page-hero h1 { max-width: 800px; margin: 0; color: var(--ct-navy); font-size: 38px; font-weight: 900; letter-spacing: -1.4px; line-height: 1.05; }
.ct-page-hero p { max-width: 680px; margin: 10px 0 0; color: var(--ct-body); font-size: 14px; line-height: 1.6; }
.ct-content-section { padding-top: 28px; }
.ct-category-links { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 18px; }
.ct-category-links a { padding: 8px 12px; border: 1px solid var(--ct-border); border-radius: 999px; color: var(--ct-navy); background: #fff; font-size: 11px; font-weight: 750; transition: .18s ease; }
.ct-category-links a:hover, .ct-category-links a:focus-visible { border-color: var(--ct-blue); color: var(--ct-blue); box-shadow: 0 3px 10px rgba(8, 118, 213, .1); }
.ct-filter-bar { display: grid; grid-template-columns: 1fr 220px auto; gap: 10px; margin-bottom: 22px; padding: 13px; border: 1px solid var(--ct-border); border-radius: 13px; background: #fff; box-shadow: var(--ct-shadow); }
.ct-filter-bar input, .ct-filter-bar select, .ct-form input, .ct-form select, .ct-form textarea { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid var(--ct-border); border-radius: 7px; outline: 0; background: #fbfdff; }
.ct-filter-bar input:focus, .ct-filter-bar select:focus, .ct-form input:focus, .ct-form select:focus, .ct-form textarea:focus { border-color: #7ea8cf; box-shadow: 0 0 0 3px rgba(8, 118, 213, .1); }
.ct-directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ct-directory-grid .business-photo { height: 168px; }
.ct-directory-grid .business-body { min-height: 160px; padding: 13px; }
.ct-directory-grid .business-body h3 { font-size: 16px; }.ct-directory-grid .business-body p { font-size: 12px; }.ct-directory-grid .business-location { font-size: 11px; }
.ct-directory-grid .mini-button { height: 34px; font-size: 10px; }
.ct-prose { max-width: 760px; color: var(--ct-body); font-size: 15px; line-height: 1.8; }
.ct-prose h2, .ct-prose h3 { color: var(--ct-navy); line-height: 1.25; }.ct-prose img { height: auto; border-radius: 12px; }
.ct-single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 34px; padding-top: 28px; }
.ct-feature-image { width: 100%; max-height: 470px; object-fit: cover; border-radius: 14px; }
.ct-detail-card { position: sticky; top: 18px; padding: 20px; border: 1px solid var(--ct-border); border-radius: 13px; background: #fff; box-shadow: var(--ct-shadow); }
.ct-detail-card h2 { margin: 0 0 14px; font-size: 18px; }.ct-detail-list { display: grid; gap: 11px; }
.ct-detail-item { display: flex; gap: 9px; color: var(--ct-body); font-size: 12px; line-height: 1.45; }.ct-detail-item .icon { color: var(--ct-navy); }
.ct-detail-actions { display: grid; gap: 8px; margin-top: 18px; }.ct-detail-actions .rv-button { width: 100%; }
.ct-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 28px; }.ct-pagination a, .ct-pagination span { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid var(--ct-border); border-radius: 7px; font-size: 12px; font-weight: 700; }.ct-pagination .current { color: #fff; border-color: var(--ct-navy); background: var(--ct-navy); }
.ct-form-shell { max-width: 810px; margin: 28px auto 0; overflow: hidden; border: 1px solid var(--ct-border); border-radius: 16px; background: #fff; box-shadow: var(--ct-shadow); }
.ct-form-progress { display: grid; grid-template-columns: repeat(3, 1fr); background: #f0f7fc; }.ct-form-progress span { padding: 13px; color: var(--ct-muted); font-size: 11px; font-weight: 700; text-align: center; }.ct-form-progress span.is-active { color: #fff; background: var(--ct-navy); }
.ct-form { padding: 25px; }.ct-form fieldset { padding: 0; border: 0; }.ct-form legend { margin-bottom: 8px; color: var(--ct-navy); font-size: 22px; font-weight: 900; }.ct-form-intro { margin: 0 0 20px; color: var(--ct-body); line-height: 1.6; }
.ct-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }.ct-form-grid label { display: grid; gap: 6px; color: var(--ct-body); font-size: 11px; font-weight: 700; }.ct-form-grid label.full { grid-column: 1 / -1; }.ct-form textarea { min-height: 110px; resize: vertical; }
.ct-consent { display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: 8px !important; }.ct-consent input { width: 18px; min-height: 18px; margin: 1px 0 0; }
.ct-form-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; }.ct-form-message { margin-top: 12px; padding: 10px 12px; border-radius: 7px; font-size: 12px; }.ct-form-message:empty { display: none; }.ct-form-message.is-error { color: #8e1b29; background: #fff0f2; }.ct-form-message.is-success { color: #086638; background: #eaf9f1; }
.ct-otp-input { max-width: 240px; font-size: 25px !important; font-weight: 800; letter-spacing: 9px; text-align: center; }
.ct-upload-note { color: var(--ct-muted); font-size: 10px; font-weight: 500; }
.ct-bus-page-search { margin-top: -18px; }.ct-bus-page-search .tool-card { padding: 16px; }.ct-bus-directory { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }.ct-bus-directory .bus-source-note { grid-column: 1 / -1; }
.ct-notice { margin: 20px 0; padding: 14px 16px; border-left: 4px solid var(--ct-yellow); border-radius: 0 8px 8px 0; color: var(--ct-body); background: #fff8e5; line-height: 1.55; }

/* Tablet */
@media (max-width: 960px) {
  .container { width: min(100% - 40px, var(--ct-container)); }
  .header-inner { width: min(100% - 40px, 1000px); }
  .nav { gap: 15px; }.header-register { min-width: 150px; }.brand, .brand img { width: 160px; }
  .hero-main-image { right: 0; left: 42%; }.hero-photo-strip { right: -80px; }.hero-handwriting { left: 50%; }
  .business-grid { grid-template-columns: repeat(3, 1fr); }.business-photo { height: 120px; }.business-body { min-height: 120px; }
  .steps-card { grid-template-columns: 1fr 14px 1fr 14px 1fr 14px 1fr; }.friend-card { grid-column: 1 / -1; margin-top: 5px; }.join-layout { align-items: stretch; flex-direction: column; }.join-intro { width: 100%; flex-basis: auto; }.join-intro br { display: none; }
  .contact-intro { width: 250px; flex-basis: 250px; }.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }.footer-motto { grid-column: 1 / -1; min-height: 65px; border-top: 1px solid #56728e; border-left: 0; }
}

/* Mobile */
@media (max-width: 760px) {
  .container { width: calc(100% - 30px); }
  .site-header { height: 68px; }.header-inner { gap: 10px; }.brand, .brand img { width: 156px; }.nav-toggle { display: inline-flex; margin-left: auto; }.header-register { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 68px; z-index: 100; display: none; align-items: stretch; gap: 5px; margin: 0; padding: 12px 15px 16px; background: #fff; box-shadow: var(--ct-shadow); }.nav.is-open { display: flex; flex-direction: column; }.nav a { height: 39px; padding: 0 8px; font-size: 13px; }.nav a.active::after { display: none; }.nav .nav-search { width: auto; justify-content: flex-start; }
  .hero { height: 500px; }.hero-main-image { inset: 285px -15px 0 0; background-position: 48% 48%; }.hero-fade { inset: 0 0 150px; background: linear-gradient(180deg, #f5fbff 0%, #eff8fe 77%, rgba(239, 248, 254, 0)); }.hero-content { align-items: flex-start; padding-top: 28px; }.hero-copy { width: 100%; padding-left: 0; }.hero h1 { font-size: clamp(32px, 10vw, 42px); }.hero-copy > p { max-width: 570px; font-size: 13px; }.hero-photo-strip { display: none; }.hero-handwriting { left: auto; right: 18px; top: 304px; font-size: 21px; }.hero-actions { flex-wrap: wrap; }.hero-actions .rv-button { min-width: 0 !important; flex: 1 1 180px; }
  .tools-panel { grid-template-columns: 1fr; margin-top: -20px; }.tool-card { padding: 12px; }.tool-title strong { font-size: 13px; }.tool-title small { font-size: 10px; }.tool-fields { flex-wrap: wrap; }.tool-fields .field-with-icon--wide { flex: 1 1 100%; }.field-with-icon--select { flex: 1 1 150px; }.bus-fields .field-with-icon { flex: 1 1 40%; }.tool-fields input, .tool-fields select { font-size: 11px; }.tool-fields > .rv-button { font-size: 10px; }.bus-results-list { grid-template-columns: 1fr; }.bus-results-header { align-items: flex-start; flex-direction: column; }.bus-day-switch { width: 100%; }.bus-day-switch button { flex: 1; }
  .section-heading p { margin-left: 0; }.section-heading h2 { font-size: 21px; }.business-grid { grid-template-columns: repeat(2, 1fr); }.business-photo { height: 112px; }.business-body h3 { font-size: 12px; }.business-body p, .business-location { font-size: 9px; }.business-tag { font-size: 8px; }.mini-button { font-size: 8px; }
  .steps-card { grid-template-columns: repeat(2, 1fr); gap: 15px; padding: 14px; }.step-chevron { display: none; }.friend-card { grid-column: 1 / -1; min-height: 90px; }
  .editorial-section { grid-template-columns: 1fr; gap: 23px; }.post-image, .event-image { height: 105px; }.post-body h3, .event-body h3 { min-height: 30px; font-size: 11px; }.post-body p, .event-meta { font-size: 9px; }.post-date { font-size: 8px; }
  .contact-layout, .contact-form { align-items: stretch; flex-direction: column; }.contact-intro { width: 100%; flex-basis: auto; padding-right: 0; padding-bottom: 12px; border-right: 0; border-bottom: 1px solid #cfdeeb; }.contact-intro p { font-size: 11px; }.form-grid { grid-template-columns: 1fr; }.form-grid label, .form-grid input, .form-grid select, .form-grid textarea { font-size: 11px; }.form-grid input, .form-grid select, .form-grid textarea { height: 39px; }.contact-action { width: 100%; flex-basis: auto; }.contact-action .rv-button { min-height: 42px; font-size: 11px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }.footer-logo { grid-column: 1 / -1; }.footer-grid strong { font-size: 11px; }.footer-grid a:not(.footer-social a), .footer-grid span { font-size: 9px; }.footer-bottom { align-items: center; flex-direction: column; text-align: center; }.footer-bottom small { font-size: 8px; }
  .ct-page-hero h1 { font-size: 31px; }.ct-filter-bar { grid-template-columns: 1fr; }.ct-directory-grid { grid-template-columns: repeat(2, 1fr); }.ct-single-layout { grid-template-columns: 1fr; }.ct-detail-card { position: static; }.ct-form-grid { grid-template-columns: 1fr; }.ct-form-grid label.full { grid-column: auto; }.ct-bus-directory { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .hero { height: 520px; }.hero-main-image { top: 320px; }.hero-handwriting { top: 338px; }.hero h1 { font-size: 34px; letter-spacing: -1.2px; }.hero-actions .rv-button { flex-basis: 100%; }
  .business-grid { grid-template-columns: 1fr 1fr; gap: 8px; }.business-photo { height: 92px; }.business-actions { grid-template-columns: 1fr; }.mini-button { height: 27px; }.editorial-grid { grid-template-columns: 1fr 1fr; }.editorial-grid > :nth-child(3) { grid-column: 1 / -1; }
  .section-heading { align-items: flex-end; }.section-heading > a { font-size: 10px; }.steps-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }.friend-card { grid-column: 1 / -1; }
  .ct-directory-grid { grid-template-columns: 1fr; }.ct-form { padding: 19px; }.ct-form-progress span { padding: 10px 5px; font-size: 10px; }
}

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