:root {
  --home-ink: #19365a;
  --home-cream: #faf6ee;
  --home-paper: #fffdf9;
  --home-line: rgba(25, 54, 90, 0.1);
  --home-soft: #eef5ff;
  --home-green: #8dc63f;
  --home-blue: #2a6db5;
}

@keyframes homeFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes brandPulse {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }

  50% {
    transform: scale(1.04) rotate(-2deg);
  }
}

@keyframes sectionGlow {
  0%, 100% {
    box-shadow: 0 18px 40px rgba(22, 47, 77, 0.08);
  }

  50% {
    box-shadow: 0 24px 56px rgba(22, 47, 77, 0.12);
  }
}

body.page-home-landing {
  background:
    radial-gradient(circle at left top, rgba(141, 198, 63, 0.16), transparent 28%),
    radial-gradient(circle at right bottom, rgba(42, 109, 181, 0.12), transparent 24%),
    #f0ebe0;
}

.page-home-landing .home-app {
  background: var(--home-cream);
  overflow: visible;
}

.home-navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 20px;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(25, 54, 90, 0.08);
}

.home-brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.home-brand-logo {
  width: auto;
  height: clamp(42px, 5vw, 60px);
  max-width: 126px;
  flex: 0 0 auto;
  transform-origin: center;
  animation: brandPulse 6.5s ease-in-out infinite;
}

.home-nav-links {
  display: none;
  align-items: center;
  gap: 18px;
}

.home-nav-links a {
  color: #4b6581;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.home-menu-logout {
  display: none;
  width: 100%;
  border: 0;
  background: transparent;
  color: #4b6581;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.home-menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: rgba(77, 116, 240, 0.1);
  color: rgba(77, 116, 240, 1);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(77, 116, 240, 0.14);
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.home-menu-toggle:hover {
  transform: translateY(-1px);
  background: rgba(77, 116, 240, 0.16);
  box-shadow: inset 0 0 0 1px rgba(77, 116, 240, 0.22);
}

.home-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.home-navbar.is-menu-open .home-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.home-navbar.is-menu-open .home-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.home-navbar.is-menu-open .home-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.home-navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-user-chip {
  display: none;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(42, 109, 181, 0.08);
  color: var(--home-ink);
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
}

.home-user-chip:hover {
  background: rgba(42, 109, 181, 0.14);
  transform: translateY(-1px);
}

.home-user-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #607a95;
}

.home-user-chip strong {
  font-size: 13px;
  font-weight: 900;
}

.btn-logout {
  border: 0;
  border-radius: 999px;
  background: #ecf1f9;
  color: #285a96;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 16px;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(40, 90, 150, 0.14);
}

.home-landing-main {
  display: flex;
  flex-direction: column;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 28px 20px 36px;
  background:
    linear-gradient(135deg, rgba(25, 54, 90, 0.84), rgba(16, 34, 58, 0.72)),
    url('../assets/img/Blue_Tennis_Court_04.png') center 72% / cover no-repeat;
  color: #fff;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(250, 246, 238, 0) 0%, rgba(250, 246, 238, 1) 100%);
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
}

.hero-copy-block {
  max-width: 660px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(198, 210, 255, 0.88);
  color: #1b1b1b;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 6px 20px rgba(16, 34, 58, 0.2);
}

.hero-title {
  margin: 16px 0 10px;
  font-size: clamp(34px, 7vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-subtitle {
  max-width: 560px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.84);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 164px;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hero-btn:hover {
  transform: translateY(-1px);
}

.hero-btn-primary {
  background: linear-gradient(135deg, #8dc63f, #c8ea58);
  color: #173b10;
  box-shadow: 0 10px 26px rgba(141, 198, 63, 0.28);
}

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.hero-note {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.hero-panel {
  display: flex;
  align-items: stretch;
  animation: homeFloat 7.5s ease-in-out infinite;
}

.hero-panel-card {
  width: 100%;
  max-width: 360px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.hero-panel-title {
  font-size: 18px;
  font-weight: 900;
}

.hero-facts {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.hero-fact {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-fact-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.hero-fact-value {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  font-weight: 900;
}

.content-section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.content-section-gallery {
  padding-top: 20px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 24px;
  text-align: center;
  margin-inline: auto;
}

.section-head-left {
  text-align: left;
  margin-inline: 0;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(42, 109, 181, 0.08);
  color: var(--home-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.section-head h2 {
  margin: 14px 0 10px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.04;
  color: var(--home-ink);
}

.section-head p {
  font-size: 15px;
  line-height: 1.75;
  color: #58718d;
}

.highlight-grid,
.gallery-grid,
.pricing-grid {
  display: grid;
  gap: 16px;
}

.highlight-card,
.pricing-card,
.gallery-card,
.info-card,
.contact-card,
.map-card {
  border-radius: 26px;
  background: var(--home-paper);
  box-shadow: 0 18px 40px rgba(22, 47, 77, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.highlight-card:hover,
.pricing-card:hover,
.gallery-card:hover,
.info-card:hover,
.contact-card:hover,
.map-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(22, 47, 77, 0.12);
}

.highlight-card {
  padding: 22px 20px;
}

.highlight-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(141, 198, 63, 0.14);
  color: #4a7b1e;
  font-size: 22px;
}

.highlight-title {
  margin-top: 16px;
  font-size: 20px;
  font-weight: 900;
  color: var(--home-ink);
}

.highlight-copy {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: #5f7792;
}

.pricing-section {
  padding-top: 20px;
}

.pricing-card {
  position: relative;
  overflow: hidden;
  padding: 24px 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 249, 255, 0.98)),
    var(--home-paper);
}

.pricing-card::after {
  content: '';
  position: absolute;
  inset: auto -40px -60px auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141, 198, 63, 0.18), rgba(141, 198, 63, 0));
  pointer-events: none;
}

.pricing-card.is-featured {
  background:
    linear-gradient(145deg, rgba(25, 54, 90, 0.96), rgba(34, 77, 128, 0.96)),
    var(--home-ink);
  color: #fff;
  animation: sectionGlow 8s ease-in-out infinite;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(42, 109, 181, 0.1);
  color: var(--home-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-card.is-featured .pricing-badge {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.pricing-name {
  margin-top: 18px;
  font-size: 28px;
  line-height: 1.02;
  color: var(--home-ink);
}

.pricing-card.is-featured .pricing-name {
  color: #fff;
}

.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 14px;
}

.pricing-price {
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  color: var(--home-ink);
}

.pricing-unit {
  font-size: 15px;
  font-weight: 800;
  color: #67809b;
}

.pricing-card.is-featured .pricing-price,
.pricing-card.is-featured .pricing-unit,
.pricing-card.is-featured .pricing-copy,
.pricing-card.is-featured .pricing-feature {
  color: #fff;
}

.pricing-copy {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.75;
  color: #5f7792;
}

.pricing-feature-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.pricing-feature {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: #43607e;
}

.pricing-feature::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--home-green), #d1ef6c);
  box-shadow: 0 0 0 4px rgba(141, 198, 63, 0.14);
}

.pricing-card.is-featured .pricing-feature::before {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14);
}

.pricing-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 22px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8dc63f, #caee60);
  color: #15340f;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(141, 198, 63, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.pricing-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(141, 198, 63, 0.28);
}

.pricing-note {
  margin: 18px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  color: #6d8298;
}

.gallery-card {
  overflow: hidden;
}

.gallery-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.gallery-body {
  padding: 18px;
}

.gallery-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--home-ink);
}

.gallery-copy {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: #5f7792;
}

.info-grid {
  display: grid;
  gap: 18px;
}

.info-card {
  padding: 24px 22px;
}

.info-card-accent {
  background: linear-gradient(145deg, #19365a, #224d80);
  color: #fff;
}

.info-card-accent .section-kicker {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.info-card-accent h3,
.info-card-accent .info-copy {
  color: #fff;
}

.info-card h3 {
  margin: 14px 0 12px;
  font-size: 26px;
  line-height: 1.1;
  color: var(--home-ink);
}

.hours-list {
  display: grid;
  gap: 10px;
}

.hour-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--home-line);
  font-size: 14px;
}

.hour-row:last-child {
  border-bottom: 0;
}

.hour-day {
  color: #4e6885;
  font-weight: 700;
}

.hour-time {
  font-weight: 900;
  color: var(--home-ink);
}

.info-copy {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #5f7792;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.contact-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 12px 14px;
  border-radius: 22px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, background-color 180ms ease;
}

.contact-chip:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
}

.contact-chip-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
}

.contact-chip-icon svg {
  width: 20px;
  height: 20px;
}

.contact-chip-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-chip-label {
  font-size: 14px;
  font-weight: 900;
}

.contact-chip-hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-layout {
  display: grid;
  gap: 18px;
}

.contact-card {
  padding: 30px 28px;
}

.contact-list {
  display: grid;
  gap: 22px;
}

.contact-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--home-line);
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-label {
  display: block;
  font-size: 12px;
  font-weight: 900;
  color: var(--home-blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-value {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--home-ink);
}

.contact-value a {
  color: inherit;
  text-decoration: none;
}

.contact-venue-title {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #273241;
}

.contact-detail-list {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.contact-detail-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.contact-detail-item.is-parking {
  align-items: center;
}

.contact-detail-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
}

.contact-detail-icon svg {
  width: 26px;
  height: 26px;
}

.contact-detail-icon.is-pin {
  color: #dc4f4f;
}

.contact-detail-icon.is-parking {
  color: #3d71eb;
  align-self: center;
}

.contact-detail-text {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 800;
  color: #465568;
}

.contact-divider {
  height: 1px;
  background: var(--home-line);
}

.contact-social-block {
  display: grid;
  gap: 18px;
}

.contact-social-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
  color: #273241;
}

.contact-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.contact-social-link {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(77, 116, 240, 0.1);
  color: rgba(77, 116, 240, 1);
  text-decoration: none;
  box-shadow:
    inset 0 0 0 1px rgba(77, 116, 240, 0.14),
    0 10px 24px rgba(77, 116, 240, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-social-link:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(77, 116, 240, 0.2),
    0 14px 28px rgba(77, 116, 240, 0.16);
}

.contact-social-link svg {
  width: 28px;
  height: 28px;
}

.contact-social-link i {
  font-size: 28px;
  line-height: 1;
}

.contact-social-link.is-line {
  background: rgba(77, 116, 240, 0.1);
}

.contact-social-link.is-facebook {
  background: rgba(77, 116, 240, 0.1);
}

.contact-social-link.is-instagram {
  background: rgba(77, 116, 240, 0.1);
}

.contact-line-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 14px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f9962, #3f8451);
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(63, 132, 81, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-line-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(63, 132, 81, 0.24);
}

.contact-line-cta-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
}

.contact-line-cta-icon svg {
  width: 24px;
  height: 24px;
}

.contact-line-cta-icon i {
  font-size: 22px;
  line-height: 1;
}

.map-card {
  overflow: hidden;
  min-height: 320px;
}

.map-embed {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
}

.motion-enter,
.motion-reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0) scale(0.985);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--motion-delay, 0ms);
  will-change: opacity, transform;
}

.motion-enter.is-visible,
.motion-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@media (min-width: 640px) {
  .highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .home-user-chip {
    display: block;
  }

  .hero-shell {
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 380px);
    align-items: center;
    gap: 40px;
  }

  .highlight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
  }

  .map-card,
  .map-embed {
    min-height: 420px;
  }
}

@media (min-width: 1024px) {
  .home-navbar {
    padding: 12px 42px;
  }

  .home-brand-logo {
    height: clamp(50px, 4vw, 68px);
    max-width: 142px;
  }

  .home-menu-toggle {
    display: none;
  }

  .home-nav-links {
    display: inline-flex;
  }

  .hero-section {
    padding: 62px 42px 80px;
    min-height: 78vh;
  }

  .hero-shell {
    width: min(1220px, 100%);
    margin: 0 auto;
    gap: 30px;
  }

  .hero-title {
    max-width: 760px;
  }

  .content-section {
    width: min(1220px, calc(100% - 84px));
    padding: 76px 0;
  }
}

@media (max-width: 767px) {
  .home-navbar {
    flex-wrap: wrap;
    padding: 8px 14px;
    gap: 12px;
  }

  .home-brand-logo {
    height: 30px;
    max-width: 84px;
  }

  .home-menu-toggle {
    margin-left: auto;
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .home-nav-links {
    display: grid;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    gap: 0;
    padding: 12px 14px 24px;
    background: rgba(255, 253, 249, 0.98);
    box-shadow: 0 30px 40px rgba(22, 47, 77, 0.12);
    backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid rgba(25, 54, 90, 0.05);
  }

  .home-navbar.is-menu-open .home-nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .home-nav-links a {
    padding: 14px 16px;
    border-radius: 16px;
  }

  .home-menu-logout:not([hidden]) {
    display: block;
    padding: 14px 16px;
    border-radius: 16px;
  }

  .home-nav-links a:hover,
  .home-menu-logout:hover {
    background: rgba(42, 109, 181, 0.08);
  }

  .home-navbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .btn-logout {
    display: none;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 24px 22px;
  }

  .hero-section {
    padding-top: 22px;
  }

  .hero-panel-card {
    max-width: none;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .home-navbar {
    flex-wrap: wrap;
  }

  .home-menu-toggle {
    margin-left: auto;
  }

  .home-nav-links {
    display: grid;
    order: 4;
    width: 100%;
    gap: 8px;
    padding: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 220ms ease, opacity 180ms ease, padding 180ms ease;
  }

  .home-navbar.is-menu-open .home-nav-links {
    max-height: 260px;
    opacity: 1;
    padding-top: 4px;
    pointer-events: auto;
  }

  .home-nav-links a {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
  }

  .home-menu-logout:not([hidden]) {
    display: block;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
  }

  .btn-logout {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-brand-logo,
  .hero-panel,
  .pricing-card.is-featured {
    animation: none;
  }

  .highlight-card,
  .pricing-card,
  .gallery-card,
  .info-card,
  .contact-card,
  .map-card,
  .pricing-link,
  .contact-chip,
  .home-menu-toggle,
  .home-nav-links {
    transition: none;
  }

  .motion-enter,
  .motion-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
