.hero {
  position: relative;
  min-height: 635px;
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 36px;
  align-items: center;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
.hero::before {
  width: 82vw;
  height: 460px;
  left: 28vw;
  top: 0;
  border-radius: 52% 48% 49% 51% / 22% 54% 46% 78%;
  background: linear-gradient(115deg, rgba(100, 179, 44, .20), rgba(112, 112, 112, .07) 45%, rgba(42, 148, 160, .13));
  transform: rotate(-7deg);
}
.hero h1 span { display: block; color: var(--green); }
.hero-copy p { max-width: 540px; font-size: 20px; }
.actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-media {
  position: relative;
  min-height: 465px;
  filter: drop-shadow(0 18px 55px rgba(29, 37, 35, .12));
}
.hero-media.compact { min-height: 420px; }
.floating-card {
  position: absolute;
  right: 0;
  bottom: 38px;
  z-index: 3;
  width: 330px;
  padding: 16px 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}
.floating-card strong,
.floating-card span,
.floating-card b { display: block; }
.floating-card b {
  position: absolute;
  right: 16px;
  top: 24px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #F4F7F2;
  color: var(--green-dark);
  font-size: 13px;
}

.stats {
  position: relative;
  z-index: 2;
  width: min(1000px, calc(100% - var(--space-page)));
  margin-top: -38px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(229, 235, 230, .84);
  border-radius: 30px;
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}
.stats div { padding: 22px 24px; }
.stats strong { display: block; font-size: 26px; }
.stats span { display: block; margin-top: 7px; color: var(--muted); font-size: 13px; }

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 24px;
  align-items: stretch;
}
.pool-panel { background: linear-gradient(135deg, rgba(232, 248, 240, .92), rgba(241, 251, 232, .92)); }
.lane-list { display: grid; gap: 12px; margin: 20px 0; }
.lane-row {
  display: grid;
  grid-template-columns: 58px 1fr 26px;
  gap: 14px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .82);
}
.lane-row span { height: 7px; border-radius: 999px; background: #DFEAE4; overflow: hidden; }
.lane-row i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--aqua), var(--green)); }

.compliance {
  display: grid;
  grid-template-columns: .9fr 1.3fr;
  gap: 28px;
}
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.check-grid li {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
}
.check-grid span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.45; }

.page-hero {
  margin-top: 74px;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 36px;
  align-items: center;
}
.page-title,
.activity-detail { margin-top: 74px; }

.activity-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 320px;
  gap: 24px;
  align-items: stretch;
  margin-top: 30px;
}
.feature-photo,
.article-hero {
  position: relative;
  min-height: 540px;
  filter: drop-shadow(0 18px 55px rgba(29, 37, 35, .12));
}
.feature-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 30px rgba(29, 37, 35, .16);
}
.feature-overlay h2 { font-size: 28px; }
.feature-overlay p { margin-bottom: 0; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.side-panel { align-self: stretch; }
.side-panel .btn { width: 100%; margin-top: 14px; }

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.mini-grid div {
  padding: 16px;
  border-radius: 20px;
  background: #F7F9F5;
  border: 1px solid var(--line);
}
.mini-grid span { display: block; margin-top: 8px; color: var(--muted); line-height: 1.45; }

.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.blog-listing {
  display: grid;
  gap: 24px;
}
.blog-featured-card,
.blog-list-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-soft);
}
.blog-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(360px, .78fr);
  min-height: 420px;
  border-radius: 30px;
}
.blog-card-image {
  display: block;
  min-height: 100%;
  background: #EEF4EA;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.blog-card-image:hover img { transform: scale(1.035); }
.blog-featured-body,
.blog-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.blog-featured-body {
  justify-content: center;
  padding: 36px;
}
.blog-featured-body time,
.blog-card-body time {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}
.blog-featured-body h2 {
  margin-top: 12px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: .98;
}
.blog-featured-body p,
.blog-card-body p {
  color: var(--muted);
  line-height: 1.55;
}
.blog-featured-body p {
  display: -webkit-box;
  min-height: 75px;
  margin: 16px 0 24px;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.blog-list-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border-radius: 24px;
}
.blog-list-card .blog-card-image {
  aspect-ratio: 1.28 / 1;
  min-height: auto;
}
.blog-list-card .blog-card-image img { min-height: 0; }
.blog-card-body {
  flex: 1;
  padding: 20px;
}
.blog-card-body h2 {
  margin-top: 8px;
  font-size: 22px;
  line-height: 1.08;
}
.blog-card-body p {
  display: -webkit-box;
  min-height: 67px;
  margin: 12px 0 18px;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.blog-read-more {
  margin-top: auto;
  color: var(--green-dark);
  font-weight: 850;
}
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.pagination a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .82);
  color: var(--ink);
  font-weight: 850;
}
.pagination a.is-active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}
.article-breadcrumb {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.article-breadcrumb a { color: var(--green-dark); font-weight: 780; }
.article-title-full { margin-top: 24px; }
.article-detail-layout {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: start;
}
.article-main-photo {
  position: relative;
  min-height: 520px;
  margin-bottom: 18px;
  filter: drop-shadow(0 18px 55px rgba(29, 37, 35, .12));
}
.article-layout {
  margin-top: 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 30px;
  align-items: start;
}
.article-hero { margin-bottom: 28px; min-height: 520px; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .82);
  color: var(--muted);
  font-size: 14px;
}
.article-meta > span:first-child {
  color: var(--ink);
  font-weight: 850;
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}
.article-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 850;
  font-size: 12px;
}
.article-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 112px;
}
.blog-sidebar-card h2 {
  margin-bottom: 16px;
  font-size: 24px;
}
.blog-sidebar-card .related-list strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.22;
}
.rich-text p { font-size: 18px; }
.rich-text a {
  color: var(--green-dark);
  font-weight: 780;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .18em;
}
.rich-text a:hover,
.rich-text a:focus-visible {
  color: var(--green);
}
.rich-text blockquote {
  margin: 26px 0;
  padding: 22px 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(100, 179, 44, .12), rgba(42, 148, 160, .10));
  font-weight: 780;
}
.rich-text table {
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 10px 24px rgba(29, 37, 35, .06);
}
.rich-text th,
.rich-text td {
  padding: 14px 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.rich-text th {
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 850;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.contact-info { display: flex; flex-direction: column; }
.contact-photo {
  flex: 1;
  min-height: 270px;
  width: 100%;
  margin-top: 18px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.form-grid label { display: grid; gap: 7px; color: #45504D; font-weight: 760; }
.form-grid .wide { grid-column: 1 / -1; }
input, textarea {
  width: 100%;
  border: 1px solid rgba(229, 235, 230, .95);
  border-radius: 18px;
  padding: 14px 15px;
  background: #F9FBF7;
  color: var(--ink);
}
textarea { min-height: 132px; resize: vertical; }
.check-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin: 14px 0;
  color: #53605C;
  font-size: 13px;
  line-height: 1.4;
}
.check-row input { width: 20px; height: 20px; margin: 0; }
.hp-field { position: absolute; left: -9999px; }
.form-status { min-height: 20px; margin: 12px 0 0; font-size: 14px; font-weight: 760; }
.form-status.is-ok { color: #247A36; }
.form-status.is-error { color: #B42318; }
.map-card {
  position: relative;
  min-height: 360px;
  border-radius: 34px 22px 34px 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 34%, rgba(100, 179, 44, .26) 0 5px, transparent 6px),
    radial-gradient(circle at 68% 48%, rgba(42, 148, 160, .28) 0 6px, transparent 7px),
    linear-gradient(28deg, transparent 0 44%, rgba(100, 179, 44, .38) 45% 48%, transparent 49%),
    linear-gradient(112deg, transparent 0 42%, rgba(42, 148, 160, .30) 43% 46%, transparent 47%),
    linear-gradient(0deg, rgba(255,255,255,.66), rgba(255,255,255,.66)),
    url("../img/slide01.jpg") center / cover;
  box-shadow: var(--shadow-soft);
}
.map-pin {
  position: absolute;
  left: 54%;
  top: 44%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 50% 8px;
  transform: rotate(-45deg);
  background: var(--green);
  color: var(--white);
  font-weight: 900;
}
.map-pin::first-letter { transform: rotate(45deg); }
.map-label {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 14px 32px rgba(29, 37, 35, .12);
}

.lanes-table-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(190px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.day-card {
  min-width: 190px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .82);
}
.day-card h3 { margin-bottom: 12px; font-size: 18px; }
.day-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.day-row small { grid-column: 1 / -1; color: var(--muted); }
.muted { color: var(--muted); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.gallery-stack {
  display: grid;
  gap: 58px;
}
.gallery-block {
  display: grid;
  gap: 18px;
}
.gallery-block + .gallery-block {
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.gallery-block-head { margin-bottom: 0; }
.gallery-block-head p { max-width: 620px; }
.gallery-grid-limited .gallery-card.is-extra { display: none; }
.gallery-block.is-expanded .gallery-card.is-extra { display: block; }
.gallery-stack-compact .gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.gallery-stack-compact .gallery-card {
  min-height: 210px;
  border-radius: 22px;
}
.gallery-stack-compact .gallery-card:nth-child(5n + 1) {
  grid-row: auto;
  min-height: 210px;
}
.gallery-card {
  position: relative;
  min-height: 270px;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  background: #EDF4EA;
}
.gallery-card:nth-child(5n + 1) { grid-row: span 2; min-height: 430px; }
.gallery-card button {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  text-align: left;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}
.gallery-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 28px rgba(29, 37, 35, .14);
}
.gallery-card figcaption strong,
.gallery-card figcaption span { display: block; }
.gallery-card figcaption span { color: var(--muted); font-size: 14px; margin-top: 3px; }
.gallery-card figcaption { pointer-events: none; }
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12, 20, 18, .78);
  backdrop-filter: blur(10px);
}
.gallery-lightbox.is-open { display: flex; }
.gallery-lightbox figure {
  width: min(1040px, 100%);
  max-height: 88vh;
  margin: 0;
}
.gallery-lightbox img {
  width: 100%;
  max-height: 78vh;
  display: block;
  object-fit: contain;
  border-radius: 24px;
  background: #0F1715;
}
.gallery-lightbox figcaption {
  margin-top: 12px;
  color: var(--white);
  font-weight: 780;
  text-align: center;
}
.gallery-lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 980px) {
  .hero, .page-hero, .activity-feature, .info-grid, .compliance, .contact-grid, .article-layout, .article-detail-layout, .blog-featured-card, .blog-card-grid, .blog-grid, .gallery-grid, .gallery-stack-compact .gallery-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-media, .hero-media.compact, .feature-photo, .article-hero, .article-main-photo { min-height: 430px; }
  .blog-featured-card { min-height: 0; }
  .blog-featured-body { padding: 28px; }
  .article-sidebar { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 18px; }
  .check-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero, .page-hero, .page-title, .activity-detail, .article-layout { margin-top: 56px; }
  .article-breadcrumb { margin-top: 22px; }
  .article-title-full { margin-top: 18px; }
  .hero-media, .hero-media.compact, .feature-photo, .article-hero, .article-main-photo { min-height: 390px; }
  .blog-featured-body { padding: 24px; }
  .blog-featured-body h2 { font-size: 32px; }
  .blog-card-body { padding: 18px; }
  .article-meta { align-items: flex-start; flex-direction: column; }
  .article-tags { margin-left: 0; }
  .floating-card { left: 22px; right: 22px; bottom: 18px; width: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); border-radius: 24px; }
  .stats div { padding: 18px; }
  .mini-grid, .form-grid { grid-template-columns: 1fr; }
  .map-label { display: block; }
}
