:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #e5e5ea;
  --paper: #ffffff;
  --soft: #f5f5f7;
  --teal: #0071e3;
  --deep: #111827;
  --coral: #b45309;
  --sun: #f5c451;
  --shadow: 0 18px 44px rgba(29, 29, 31, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand img,
.admin-brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.site-nav a,
.lang-switch a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a.is-active,
.site-nav a:hover,
.lang-switch a.is-active,
.lang-switch a:hover {
  color: var(--deep);
  background: var(--soft);
}

.lang-switch {
  display: flex;
  gap: 2px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 700;
}

.layout {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 78vh;
  background: var(--hero-image) center / cover no-repeat;
}

.hero-shade {
  min-height: inherit;
  display: flex;
  align-items: center;
  background: rgba(5, 57, 72, 0.62);
}

.hero-content {
  width: min(720px, calc(100% - 32px));
  margin-left: clamp(16px, 8vw, 96px);
  color: white;
}

.hero h1,
.page-title h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary,
button.primary {
  color: white;
  background: var(--teal);
}

.button.secondary,
button.secondary {
  color: var(--deep);
  background: white;
  border-color: var(--line);
}

.button.light {
  color: white;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.12);
}

.band {
  padding: clamp(48px, 8vw, 96px) 0;
}

.alt-band,
.intro-band {
  background: var(--soft);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.rich-text {
  font-size: 18px;
  color: var(--muted);
}

.rich-text p:first-child {
  margin-top: 0;
}

.cutout {
  max-height: 420px;
  justify-self: center;
  object-fit: contain;
}

.tax-image {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.tax-image-link {
  display: block;
  justify-self: center;
  text-decoration: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.person-card,
.event-card,
.content-panel,
.contact-box,
.admin-card,
.stat-grid > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 30px rgba(16, 32, 40, 0.06);
}

.feature-card {
  display: block;
  min-height: 260px;
  padding: 24px;
  text-decoration: none;
}

.feature-card span,
.event-card span,
.page-title span,
.section-heading span,
.meta {
  color: var(--coral);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.feature-card h2,
.content-panel h2,
.event-card h2,
.person-card h2,
.section-heading h2 {
  margin: 10px 0;
  line-height: 1.1;
  letter-spacing: 0;
}

.feature-card p,
.content-panel p,
.event-card p,
.person-card p {
  color: var(--muted);
}

.page-title {
  padding: clamp(54px, 8vw, 96px) 0;
  background: var(--deep);
  color: white;
}

.page-title p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.meeting-title {
  background: #0c5661;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.content-panel {
  padding: 24px;
}

.content-panel:nth-child(3) {
  grid-column: 1 / -1;
}

.price-table {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.price-table > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  align-items: center;
  padding: 14px;
  border-radius: 8px;
  background: var(--soft);
}

.price-table small {
  grid-column: 1 / -1;
  color: var(--muted);
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  padding-left: 26px;
  position: relative;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sun);
}

.form-embed {
  height: min(900px, 88vh);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.form-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.person-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 18px;
}

.person-card img {
  width: 180px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: var(--soft);
}

.text-link {
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.gallery-item {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.map-canvas {
  width: 100%;
  height: min(620px, 70vh);
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--soft);
}

.event-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.event-card {
  padding: 18px;
}

.event-form,
.admin-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: white;
}

textarea {
  resize: vertical;
}

.wide,
.event-form .button,
.admin-form .button,
.admin-form h2,
.admin-form > .lang-admin-tabs,
.admin-form > .admin-lang-panel,
.price-admin,
.team-admin-item,
.check-row {
  grid-column: 1 / -1;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
}

.contact-box {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.flash {
  width: min(1160px, calc(100% - 32px));
  margin: 16px auto;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 750;
}

.flash-success {
  background: #e7f6ef;
  color: #145c3b;
}

.flash-error {
  background: #fde9e6;
  color: #8b2d21;
}

.coming-soon-page {
  min-height: 100vh;
  background: var(--deep);
}

.coming-soon {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.coming-panel {
  width: min(560px, 100%);
  color: white;
  text-align: center;
}

.coming-panel img {
  width: 220px;
  margin: 0 auto 24px;
}

.coming-panel h1 {
  font-size: clamp(36px, 8vw, 64px);
  line-height: 1;
  margin: 0 0 14px;
}

.inline-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 28px;
}

.inline-form label {
  color: rgba(255, 255, 255, 0.82);
  text-align: left;
}

.inline-form button {
  align-self: end;
  border: 0;
  border-radius: 8px;
  padding: 11px 16px;
  color: var(--deep);
  background: var(--sun);
  font-weight: 850;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(16px, 4vw, 48px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  font-weight: 750;
  text-decoration: none;
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--soft);
  padding: 24px;
}

.login-panel {
  width: min(420px, 100%);
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.login-panel img {
  width: 76px;
}

.login-panel form {
  display: grid;
  gap: 14px;
}

.admin-page {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  background: var(--soft);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px;
  background: white;
  border-right: 1px solid var(--line);
}

.admin-sidebar nav {
  display: grid;
  gap: 4px;
}

.admin-sidebar nav a,
.admin-exit {
  padding: 10px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 750;
}

.admin-sidebar nav a.is-active,
.admin-sidebar nav a:hover,
.admin-exit:hover {
  color: var(--deep);
  background: var(--soft);
}

.admin-exit {
  margin-top: auto;
}

.admin-exit + .admin-exit {
  margin-top: 0;
}

.admin-main {
  padding: clamp(18px, 4vw, 44px);
}

.admin-section {
  display: grid;
  gap: 22px;
}

.admin-section h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-grid > div {
  display: grid;
  gap: 4px;
  padding: 20px;
}

.stat-grid strong {
  font-size: 40px;
  line-height: 1;
}

.stat-grid span,
.admin-note {
  color: var(--muted);
}

.analytics-stats {
  margin-top: -8px;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.metric-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.metric-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.metric-list span {
  color: var(--muted);
}

.metric-list strong {
  font-size: 18px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  grid-column: 1 / -1;
}

.lang-admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.lang-admin-tabs button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 8px 12px;
  font-weight: 850;
  color: var(--muted);
}

.lang-admin-tabs button.is-active {
  color: white;
  border-color: var(--teal);
  background: var(--teal);
}

.admin-lang-panel {
  display: none;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.admin-lang-panel.is-active {
  display: grid;
}

.price-admin {
  display: grid;
  gap: 10px;
}

.price-admin > div {
  display: grid;
  gap: 10px;
}

.team-admin-item,
.admin-card {
  padding: 16px;
}

.team-admin-item {
  display: grid;
  gap: 14px;
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-card.compact {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

.admin-card h3,
.admin-card p {
  margin: 0;
}

.admin-card p {
  color: var(--muted);
}

.admin-event-image {
  width: min(360px, 100%);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin: 12px 0;
}

.event-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.event-detail-list div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.event-detail-list dt {
  color: #86868b;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.event-detail-list dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.check-row {
  display: flex;
  align-items: center;
}

.check-row input {
  width: auto;
}

.site-header {
  min-height: 68px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.brand img,
.admin-brand img {
  border-radius: 8px;
}

.site-nav a {
  font-weight: 600;
  color: #424245;
}

.site-nav a.is-active,
.site-nav a:hover {
  background: #f5f5f7;
  color: #000;
}

.lang-menu {
  position: relative;
  justify-self: end;
}

.lang-menu summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #424245;
  background: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
}

.lang-menu summary::-webkit-details-marker {
  display: none;
}

.lang-menu summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.lang-menu[open] summary::after {
  transform: rotate(225deg) translateY(-1px);
}

.lang-menu-list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 80;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.lang-menu-list a {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #424245;
  font-weight: 700;
}

.lang-menu-list a:hover,
.lang-menu-list a.is-active {
  background: var(--soft);
  color: #000;
}

.hero {
  min-height: 72vh;
  position: relative;
  background-position: center 42%;
}

.hero-shade {
  min-height: inherit;
  align-items: flex-end;
  padding: clamp(72px, 12vw, 132px) 0 clamp(38px, 7vw, 78px);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.48)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.08));
}

.hero-content {
  width: min(900px, calc(100% - 32px));
  margin-left: clamp(16px, 7vw, 88px);
  color: white;
}

.hero-logo {
  width: 138px;
  margin-bottom: 22px;
}

.hero h1 {
  max-width: 820px;
  color: white;
  font-size: clamp(58px, 9vw, 118px);
  letter-spacing: 0;
}

.hero p {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  margin-top: 30px;
}

.hero-meta-strip {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.hero-meta-strip span {
  padding: 8px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 800;
}

.hero .button.light {
  color: white;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.12);
}

.redesigned-intro {
  background: #fbfbfd;
}

.intro-showcase {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.intro-single {
  display: block;
}

.intro-copy {
  display: grid;
  align-content: center;
  gap: 22px;
  padding: clamp(26px, 5vw, 48px);
}

.section-kicker {
  color: #86868b;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.intro-text {
  color: #1d1d1f;
  max-width: 860px;
  font-size: clamp(19px, 2.1vw, 28px);
  line-height: 1.25;
  font-weight: 680;
}

.intro-text p {
  margin: 0;
  color: inherit;
}

.intro-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.intro-pills div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5f5f7;
}

.intro-pills strong,
.intro-pills span {
  display: block;
}

.intro-pills strong {
  color: #1d1d1f;
  font-size: 18px;
}

.intro-pills span {
  margin-top: 8px;
  color: #6e6e73;
  font-size: 14px;
  line-height: 1.28;
}


.hero h1,
.page-title h1,
.admin-section h1 {
  font-weight: 800;
}

.page-title {
  background: var(--soft);
  color: var(--ink);
}

.page-title p {
  color: var(--muted);
}

.page-title span,
.section-heading span,
.feature-card span,
.event-card span,
.meta {
  color: #86868b;
  font-weight: 700;
}

.meeting-title {
  background: #fbfbfd;
}

.feature-card,
.person-card,
.event-card,
.content-panel,
.contact-box,
.admin-card,
.stat-grid > div {
  box-shadow: none;
}

.feature-card:hover,
.event-card:hover,
.gallery-item:hover,
.person-card:hover {
  border-color: #d2d2d7;
  transform: translateY(-1px);
  transition: border-color 160ms ease, transform 160ms ease;
}

.button.primary,
button.primary {
  background: #0071e3;
}

.button.secondary,
button.secondary {
  background: #f5f5f7;
}

.price-groups {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.price-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.price-group h3 {
  margin: 0;
  padding: 14px 16px;
  text-align: center;
  font-size: 18px;
  border-bottom: 1px solid var(--line);
  background: #fbfbfd;
}

.price-scroll {
  overflow-x: auto;
}

.price-group table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.price-group th,
.price-group td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  white-space: nowrap;
}

.price-group tbody th {
  text-align: left;
  font-weight: 800;
}

.price-group tr:last-child th,
.price-group tr:last-child td {
  border-bottom: 0;
}

.map-band {
  padding-top: 36px;
  background: #fbfbfd;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.35fr);
  gap: 18px;
  align-items: stretch;
}

.map-results {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: min(720px, 74vh);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  overflow: hidden;
}

.map-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.map-results-head span {
  color: #86868b;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.map-results-head strong {
  font-size: 22px;
}

.map-canvas {
  height: min(720px, 74vh);
  min-height: 560px;
  border-color: #ececf0;
  box-shadow: 0 20px 48px rgba(29, 29, 31, 0.1);
}

.map-layout .map-canvas {
  position: sticky;
  top: 88px;
  border-radius: 8px;
}

.map-layout .event-list {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 10px;
  margin: 0;
  padding: 14px;
  overflow: auto;
}

.map-layout .event-card {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-color: transparent;
  background: #fbfbfd;
  box-shadow: none;
}

.map-layout .event-card:has(> img) {
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: start;
  column-gap: 14px;
}

.map-layout .event-card > img {
  width: 112px;
  height: 82px;
  object-fit: cover;
  border-radius: 8px;
  grid-row: 1 / span 5;
  margin: 0;
}

.map-layout .event-card:hover,
.map-layout .event-card.is-active {
  border-color: #d2d2d7;
  background: white;
}

.map-layout .event-card h2 {
  margin: 0;
  font-size: 19px;
}

.map-layout .event-card p {
  margin: 0;
}

.acro-pin {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 6px;
  background: #111827;
  transform: rotate(-45deg);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.22);
}

.acro-pin span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: white;
  transform: rotate(45deg);
}

.acro-popup .leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(29, 29, 31, 0.18);
}

.acro-popup .leaflet-popup-content {
  margin: 0;
}

.map-popup-card {
  padding: 16px;
}

.map-popup-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

.map-popup-card span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #86868b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.map-popup-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.15;
}

.map-popup-card p {
  margin: 7px 0;
  color: var(--muted);
}

.map-popup-card small {
  display: block;
  margin-top: 8px;
  color: #424245;
  font-weight: 700;
}

.popup-links {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.popup-links a {
  color: #0071e3;
  font-weight: 800;
  text-decoration: none;
}

.communities-band {
  background: white;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.community-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfd;
  color: inherit;
  text-decoration: none;
}

.community-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.community-card > div {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.community-card span {
  color: #86868b;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.community-card h3,
.community-card p {
  margin: 0;
}

.community-card p {
  color: var(--muted);
}

.event-card {
  cursor: pointer;
}

.section-heading p {
  max-width: 660px;
  margin: 8px 0 0;
  color: var(--muted);
}

.turnstile-field {
  min-height: 72px;
}

.event-form.step-form {
  display: block;
  max-width: 940px;
  margin-top: 28px;
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 60px rgba(29, 29, 31, 0.08);
}

.step-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 28px;
}

.step-progress span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

.step-progress span.is-active {
  color: white;
  border-color: #1d1d1f;
  background: #1d1d1f;
}

.step-progress span.is-complete {
  color: #0b6b43;
  border-color: #c8eadb;
  background: #edf8f3;
}

.form-step {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-step[hidden] {
  display: none !important;
}

.form-step.is-active {
  display: block;
}

.form-step legend {
  display: grid;
  gap: 5px;
  margin-bottom: 18px;
}

.form-step legend span {
  color: #86868b;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.form-step legend strong {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1;
}

.step-hint {
  max-width: 660px;
  margin: 0 0 18px;
  color: var(--muted);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.step-grid .wide {
  grid-column: 1 / -1;
}

.step-actions {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.step-actions [data-step-count] {
  justify-self: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.step-actions [hidden] {
  display: none;
}

.admin-title-row,
.team-admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.price-admin-group {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.price-admin-columns,
.price-admin-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.price-admin-row {
  grid-template-columns: 1.2fr repeat(3, 1fr);
}

.contact-intro {
  max-width: 760px;
}

.contact-icons-band {
  padding-top: clamp(34px, 6vw, 64px);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 5px 16px;
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(29, 29, 31, 0.06);
}

.contact-card:hover {
  border-color: #d2d2d7;
  transform: translateY(-2px);
  transition: border-color 160ms ease, transform 160ms ease;
}

.contact-card:nth-child(3) .contact-icon {
  color: #1877f2;
}

.contact-icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #0071e3;
  background: #f5f9ff;
}

.contact-icon svg {
  width: 28px;
  height: 28px;
}

.contact-icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-icon .fb-icon path {
  fill: currentColor;
  stroke: none;
}

.contact-icon .fb-icon {
  width: 24px;
  height: 24px;
  overflow: visible;
}

.contact-card small {
  color: #86868b;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  align-self: end;
}

.contact-card strong {
  overflow-wrap: anywhere;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.12;
  align-self: start;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav,
  .lang-menu {
    grid-column: 1 / -1;
  }

  .lang-menu {
    justify-self: center;
    width: min(320px, 100%);
  }

  .lang-menu summary {
    justify-content: center;
    width: 100%;
  }

  .lang-menu-list {
    left: 50%;
    right: auto;
    width: min(320px, calc(100vw - 32px));
    transform: translateX(-50%);
  }

  .site-nav {
    display: none;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .site-nav.is-open {
    display: flex;
  }

  .feature-grid,
  .event-list,
  .team-grid,
  .content-grid,
  .intro-showcase,
  .map-layout,
  .step-progress,
  .step-grid,
  .contact-cards,
  .community-grid,
  .analytics-grid,
  .event-form,
  .admin-form,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .two-col,
  .contact-layout,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .person-card {
    grid-template-columns: 120px 1fr;
  }

  .person-card img {
    width: 120px;
  }

  .map-results {
    min-height: auto;
  }

  .map-layout .map-canvas {
    position: relative;
    top: auto;
  }

  .map-layout .event-list {
    max-height: none;
  }

  .intro-pills {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-page {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .page-home .hero-content,
  .page-home .hero h1,
  .page-home .hero p,
  .page-home .hero .button,
  .page-home .hero-meta-strip span {
    color: var(--ink) !important;
  }

  .page-home .hero-shade {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78));
  }

  .page-home .hero-meta-strip {
    border-color: rgba(29, 29, 31, 0.12);
    background: rgba(255, 255, 255, 0.74);
  }

  .page-home .hero-meta-strip span {
    background: rgba(29, 29, 31, 0.06);
  }

  .page-home .hero .button.primary,
  .page-home .hero .button.light {
    border-color: rgba(29, 29, 31, 0.22);
    background: rgba(255, 255, 255, 0.78);
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 74vh;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78));
  }

  .hero-content,
  .hero h1,
  .hero p,
  .hero-meta-strip span {
    color: var(--ink);
  }

  .hero-logo {
    width: 58px;
    border-radius: 8px;
    margin-bottom: 18px;
  }

  .hero-meta-strip {
    border-color: rgba(29, 29, 31, 0.12);
    background: rgba(255, 255, 255, 0.74);
  }

  .hero-meta-strip span {
    background: rgba(29, 29, 31, 0.06);
  }

  .hero .button.light {
    color: var(--ink);
    border-color: rgba(29, 29, 31, 0.22);
    background: rgba(255, 255, 255, 0.66);
  }

  .hero .button.primary {
    color: var(--ink);
    border-color: rgba(29, 29, 31, 0.16);
    background: rgba(255, 255, 255, 0.82);
  }

  .person-card,
  .admin-card.compact,
  .price-admin > div,
  .price-admin-columns,
  .price-admin-row {
    grid-template-columns: 1fr;
  }

  .person-card img {
    width: 100%;
    max-width: 220px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .step-actions {
    grid-template-columns: 1fr;
  }

  .step-actions [data-step-count] {
    justify-self: start;
  }

  .inline-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 1180px) {
  body.page-home .hero,
  body.page-home .hero * {
    color: #1d1d1f !important;
    text-shadow: none !important;
  }

  body.page-home .hero-shade {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78)) !important;
  }

  body.page-home .hero .button.primary,
  body.page-home .hero .button.light {
    color: #1d1d1f !important;
    border-color: rgba(29, 29, 31, 0.24) !important;
    background: rgba(255, 255, 255, 0.82) !important;
  }

  body.page-home .hero-meta-strip {
    border-color: rgba(29, 29, 31, 0.14) !important;
    background: rgba(255, 255, 255, 0.76) !important;
  }

  body.page-home .hero-meta-strip span {
    color: #1d1d1f !important;
    background: rgba(29, 29, 31, 0.06) !important;
  }
}
