:root {
  --brand-ink: #000c6a;
  --brand-sand: #eef9fb;
  --brand-gold: #65bacc;
  --brand-mint: #d7f0f5;
  --maene-green: #000c6a;
  --maene-green-dark: #000c6a;
  --maene-green-soft: #e8f7fa;
  --maene-border: #c8e9f0;
  --maene-text: #000c6a;
  --maene-text-soft: #40528a;
  --maene-card-shadow: 0 10px 30px rgba(0, 12, 106, 0.08);
  --maene-card-shadow-soft: 0 8px 24px rgba(0, 12, 106, 0.06);
}

html {
  font-size: 15px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  background:
    radial-gradient(circle at top left, rgba(101, 186, 204, 0.22), transparent 30%),
    linear-gradient(180deg, #f8fdff 0%, #eef9fb 100%);
  color: var(--brand-ink);
}

.logo-brand {
  display: inline-flex;
  align-items: center;
  padding: 0;
  margin-right: 1.5rem;
}

.logo-brand img {
  width: clamp(150px, 18vw, 240px);
  height: auto;
  display: block;
}

.site-footer {
  margin-top: 3rem;
  background: var(--brand-ink);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--brand-gold);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(150px, 0.75fr));
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.site-footer-brand {
  display: grid;
  align-content: start;
  gap: 1.25rem;
}

.site-footer-brand img {
  width: min(230px, 100%);
  border-radius: 0.35rem;
  background: #fff;
  padding: 0.55rem 0.75rem;
}

.site-footer-brand p {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.site-footer-brand span {
  color: var(--brand-gold);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-footer-column {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.site-footer-column h2 {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.site-footer-column a {
  font-size: 1rem;
  line-height: 1.45;
}

.site-footer-socket {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.48);
  padding-top: 1.5rem;
}

.site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.site-footer-language {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.site-footer-language label {
  margin: 0;
  color: #fff;
  font-weight: 800;
}

.site-footer-language select {
  border: 0;
  background: transparent;
  color: #fff;
  font-weight: 800;
}

.site-footer-language option {
  color: var(--brand-ink);
}

.public-nav-link {
  color: var(--maene-text) !important;
  font-weight: 650;
}

.public-nav-link:hover,
.public-nav-link:focus-visible {
  color: var(--maene-green-dark) !important;
}

.public-nav-menu {
  border: 1px solid var(--maene-border);
  border-radius: 0.75rem;
  box-shadow: var(--maene-card-shadow-soft);
  padding: 0.6rem;
}

.public-nav-menu .dropdown-item {
  border-radius: 0.55rem;
  color: var(--brand-ink);
  font-weight: 650;
  padding: 0.65rem 0.85rem;
}

.public-nav-menu .dropdown-item:hover,
.public-nav-menu .dropdown-item:focus {
  background: var(--maene-green-soft);
  color: var(--brand-ink);
}

.public-nav-actions .btn {
  border-radius: 999px;
  font-weight: 650;
  min-width: 84px;
}

.cookie-consent-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1090;
}

.cookie-consent-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--maene-border);
  border-radius: 0.5rem;
  background: #fff;
  color: var(--maene-text);
  box-shadow: 0 1rem 2.5rem rgba(0, 12, 106, 0.18);
  padding: 1rem;
}

.cookie-consent-content h2 {
  margin: 0 0 0.25rem;
  color: var(--brand-ink);
  font-size: 1rem;
  font-weight: 800;
}

.cookie-consent-content p {
  margin: 0;
  color: var(--maene-text-soft);
  line-height: 1.5;
}

.cookie-consent-content a {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--brand-ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.cookie-consent-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.cookie-consent-actions .btn {
  min-width: 9rem;
}

.nav-register-button {
  border-color: var(--maene-green);
  background: var(--maene-green);
  box-shadow: 0 8px 18px rgba(47, 107, 89, 0.18);
}

.nav-register-button:hover,
.nav-register-button:focus-visible {
  border-color: var(--brand-gold);
  background: var(--brand-gold);
  color: var(--brand-ink);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-select:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(19, 34, 56, 0.18);
}

.btn-dark,
.btn-dark:disabled,
.btn-dark.disabled,
.btn-outline-dark:hover,
.btn-outline-dark:focus-visible,
.btn-outline-dark:active,
.btn-outline-dark.active,
.show > .btn-outline-dark.dropdown-toggle {
  border-color: var(--brand-ink) !important;
  background-color: var(--brand-ink) !important;
  color: #fff !important;
}

.btn-dark:hover,
.btn-dark:focus-visible,
.btn-dark:active,
.btn-dark.active,
.show > .btn-dark.dropdown-toggle {
  border-color: var(--brand-ink) !important;
  background-color: var(--brand-ink) !important;
  color: #fff !important;
}

.btn-outline-dark {
  border-color: var(--brand-ink) !important;
  color: var(--brand-ink) !important;
}

.field-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  margin-left: 0.35rem;
  border: 1px solid rgba(19, 34, 56, 0.22);
  border-radius: 50%;
  background: #fff;
  color: #4c5a6a;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  vertical-align: 0.1rem;
}

.field-help:hover,
.field-help[aria-expanded="true"],
.field-help:focus-visible {
  border-color: var(--brand-gold);
  color: var(--brand-ink);
  box-shadow: 0 0 0 0.18rem rgba(101, 186, 204, 0.2);
  outline: 0;
}

.field-help-popover {
  position: absolute;
  z-index: 1080;
  max-width: min(320px, calc(100vw - 2rem));
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(19, 34, 56, 0.14);
  border-radius: 0.65rem;
  background: #fff;
  color: var(--maene-text);
  box-shadow: 0 1rem 2.5rem rgba(19, 34, 56, 0.16);
  font-size: 0.9rem;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.25rem);
  transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s ease;
  visibility: hidden;
}

.field-help-popover.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.password-field {
  position: relative;
}

.password-field-input {
  padding-right: 3rem;
}

.password-toggle-button {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: #637082;
  transform: translateY(-50%);
}

.password-toggle-button:hover,
.password-toggle-button:focus-visible {
  background: rgba(19, 34, 56, 0.08);
  color: var(--brand-ink);
  outline: 0;
}

.password-toggle-button svg {
  width: 1.15rem;
  height: 1.15rem;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  margin-right: 0.35rem;
  vertical-align: -0.15rem;
}

.btn-icon svg {
  width: 1rem;
  height: 1rem;
}

.hero-card {
  background: linear-gradient(135deg, var(--brand-sand), #ffffff 60%);
  border-radius: 1.5rem;
  border: 1px solid rgba(19, 34, 56, 0.08);
  box-shadow: 0 1rem 2rem rgba(19, 34, 56, 0.08);
}

.teacher-photo {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.stat-card {
  border: 0;
  box-shadow: 0 0.75rem 1.5rem rgba(19, 34, 56, 0.07);
}

.stat-card-link {
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.stat-card-link:hover,
.stat-card-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 1rem 2rem rgba(19, 34, 56, 0.1);
}

.stat-label {
  color: #637082;
  font-size: 0.85rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
}

.lesson-status-badge {
  border: 1px solid transparent;
  color: #132238 !important;
  font-weight: 700;
}

.lesson-status-planned {
  background: #d7e7ff !important;
  border-color: #a7c7f2;
}

.lesson-status-completed {
  background: #d7ebe3 !important;
  border-color: #a7d2bf;
}

.lesson-status-cancelled {
  background: #f7d7d7 !important;
  border-color: #e7a8a8;
}

.lesson-status-rescheduled {
  background: #fff1c7 !important;
  border-color: #e7c86f;
}

.lesson-status-noshow {
  background: #e7e9ed !important;
  border-color: #c8ccd3;
}

.lesson-status-requested {
  background: #d9f2f5 !important;
  border-color: #9ed7df;
}

.lesson-status-default {
  background: #f5f6f7 !important;
  border-color: #dfe3e6;
}

.message-thread {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.message-history-toggle {
  position: sticky;
  top: 5.5rem;
  z-index: 1;
}

.message-history-toggle .btn {
  background: #fff;
}

.message-bubble {
  max-width: 85%;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
}

.message-bubble.mine {
  align-self: flex-end;
  background: var(--brand-ink);
  color: white;
}

.message-bubble.theirs {
  align-self: flex-start;
  background: var(--brand-mint);
}

.student-messages-page .btn-outline-dark:hover,
.student-messages-page .btn-outline-dark:focus-visible {
  border-color: var(--brand-ink);
  background: var(--brand-ink);
  color: #fff;
}

.message-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
}

.message-icon-button svg {
  width: 1rem;
  height: 1rem;
}

.message-send-button {
  border-color: var(--brand-ink);
  background: var(--brand-ink);
  color: #fff;
}

.message-send-button:hover,
.message-send-button:focus-visible {
  border-color: var(--brand-ink);
  background: var(--brand-ink);
  color: #fff;
}

.messages-conversation-toggle {
  white-space: normal;
}

.message-composer-recipient {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-bottom: 0.45rem;
  color: var(--brand-ink);
  font-size: 0.92rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.teacher-message-thread-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.teacher-message-thread-actions form {
  margin: 0;
}

.teacher-message-conversation-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.monthly-earnings-mobile-list {
  display: grid;
  gap: 0.85rem;
}

.monthly-earnings-mobile-card {
  display: grid;
  gap: 0.85rem;
  border: 1px solid rgba(19, 34, 56, 0.12);
  border-radius: 0.5rem;
  background: #fff;
  padding: 1rem;
}

.monthly-earnings-mobile-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.monthly-earnings-mobile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.monthly-earnings-mobile-stats > div {
  border-radius: 0.5rem;
  background: #f5f6f7;
  padding: 0.75rem;
}

.monthly-earnings-mobile-stats span {
  display: block;
  color: #6c757d;
  font-size: 0.85rem;
}

.monthly-earnings-mobile-stats strong {
  display: block;
  color: var(--brand-ink);
  font-size: 1.05rem;
}

.payment-request-message {
  border: 1px solid rgba(19, 34, 56, 0.12);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.85rem;
}

.payment-request-qr {
  width: 180px;
  height: 180px;
  max-width: 100%;
  border: 1px solid rgba(19, 34, 56, 0.08);
  border-radius: 0.5rem;
  background: #fff;
}

.payment-copy-grid {
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
}

.lesson-credit-mobile-list {
  display: grid;
  gap: 0.85rem;
}

.lesson-credit-mobile-card {
  display: grid;
  gap: 0.85rem;
  border: 1px solid rgba(19, 34, 56, 0.1);
  border-radius: 0.75rem;
  background: #fff;
  padding: 1rem;
}

.lesson-credit-mobile-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.lesson-credit-mobile-change {
  flex-shrink: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.lesson-credit-mobile-row {
  display: grid;
  gap: 0.2rem;
}

.lesson-credit-mobile-row span {
  color: var(--maene-text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lesson-credit-mobile-row strong {
  color: var(--maene-text);
  font-size: 0.95rem;
  font-weight: 600;
}

.student-lessons-mobile-list {
  display: grid;
  gap: 0.85rem;
}

.student-lessons-mobile-card {
  display: grid;
  gap: 0.85rem;
  border: 1px solid rgba(19, 34, 56, 0.1);
  border-radius: 0.75rem;
  background: #fff;
  padding: 1rem;
}

.student-lessons-mobile-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.student-lessons-mobile-row {
  display: grid;
  gap: 0.2rem;
}

.student-lessons-mobile-row span {
  color: var(--maene-text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.student-lessons-mobile-row strong {
  color: var(--maene-text);
  font-size: 0.95rem;
  font-weight: 600;
}

.student-lessons-mobile-action {
  justify-self: start;
}

.lesson-credit-unit-price {
  display: block;
  margin-top: 0.2rem;
  color: var(--maene-text-soft);
  font-size: 0.82rem;
  font-weight: 500;
}

.teacher-students-mobile-list {
  display: grid;
  gap: 0.85rem;
}

.teacher-students-sort-form {
  max-width: 18rem;
}

.teacher-students-section {
  display: grid;
  gap: 0.75rem;
}

.teacher-students-section + .teacher-students-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(19, 34, 56, 0.1);
}

.teacher-students-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.teacher-students-section-header h2 {
  margin: 0;
  color: var(--brand-ink);
  font-size: 1.05rem;
}

.teacher-students-section-header span {
  min-width: 2rem;
  border-radius: 999px;
  background: rgba(19, 34, 56, 0.08);
  color: var(--brand-ink);
  font-weight: 700;
  line-height: 2rem;
  text-align: center;
}

.teacher-students-mobile-card {
  display: grid;
  gap: 0.9rem;
  border: 1px solid rgba(19, 34, 56, 0.1);
  border-radius: 0.75rem;
  background: #fff;
  padding: 1rem;
}

.teacher-students-mobile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.teacher-students-mobile-stats > div {
  border: 1px solid rgba(19, 34, 56, 0.08);
  border-radius: 0.65rem;
  padding: 0.75rem;
}

.teacher-students-mobile-stats span {
  display: block;
  color: var(--maene-text-soft);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.teacher-students-mobile-stats strong {
  display: block;
  color: var(--maene-text);
  font-size: 1.2rem;
}

.teacher-students-mobile-actions {
  display: grid;
  gap: 0.5rem;
}

.teacher-students-mobile-actions form,
.teacher-students-mobile-actions .btn {
  width: 100%;
}

.teacher-student-profile-actions form {
  margin: 0;
}

.teacher-map {
  min-height: 360px;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(19, 34, 56, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.teachers-map-full {
  min-height: min(68vh, 640px);
}

.teacher-map-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(215, 235, 227, 0.9), rgba(246, 239, 230, 0.95)),
    repeating-linear-gradient(0deg, rgba(19, 34, 56, 0.04), rgba(19, 34, 56, 0.04) 1px, transparent 1px, transparent 48px),
    repeating-linear-gradient(90deg, rgba(19, 34, 56, 0.04), rgba(19, 34, 56, 0.04) 1px, transparent 1px, transparent 48px);
}

.map-info-window {
  min-width: 160px;
}

.page-header-card {
  background: linear-gradient(135deg, #ffffff 0%, var(--maene-green-soft) 100%);
  border: 1px solid var(--maene-border);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(31, 42, 36, 0.05);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.page-title {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--maene-text);
}

.page-subtitle {
  margin: 0.35rem 0 0 0;
  color: var(--maene-text-soft);
}

.home-register-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-lg-end;
  gap: 0.75rem;
}

.home-landing-intro {
  display: grid;
  place-items: center;
  padding: clamp(2.25rem, 7vw, 5.5rem) 0 clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}

.home-landing-intro h1 {
  max-width: 760px;
  margin: 0;
  color: var(--maene-text);
  font-size: clamp(1.2rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.08;
}

.home-landing-after-map {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(2rem, 6vw, 5rem) 0 clamp(1.5rem, 4vw, 3rem);
}

.home-landing-copy {
  display: grid;
  gap: 1rem;
  max-width: 760px;
}

.home-hero-kicker {
  width: fit-content;
  border: 1px solid var(--maene-border);
  border-radius: 999px;
  background: #fff;
  color: var(--maene-green-dark);
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 750;
}

.home-hero-title {
  max-width: 760px;
  margin: 0;
  color: var(--maene-text);
  font-size: clamp(2.75rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 0.95;
}

.home-section-title {
  max-width: 720px;
  margin: 0;
  color: var(--maene-text);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
}

.home-hero-lead {
  max-width: 620px;
  margin: 0;
  color: var(--maene-text-soft);
  font-size: 1.1rem;
  line-height: 1.7;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.home-hero-panel {
  display: grid;
  gap: 1rem;
}

.home-hero-panel-main,
.home-hero-panel-grid > div {
  border: 1px solid var(--maene-border);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--maene-card-shadow);
}

.home-hero-panel-main {
  display: grid;
  gap: 0.75rem;
  min-height: 320px;
  align-content: end;
  border-radius: 1rem;
  padding: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(0, 12, 106, 0.82)),
    url("/img/logo.png") center 24% / 190px auto no-repeat,
    #f8fbf9;
  color: #fff;
}

.home-hero-panel-main strong {
  max-width: 320px;
  font-size: 1.6rem;
  line-height: 1.1;
}

.home-hero-panel-main span:last-child {
  color: rgba(255, 255, 255, 0.82);
}

.home-hero-panel-label {
  width: fit-content;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 750;
}

.home-hero-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.home-hero-panel-grid > div {
  display: grid;
  gap: 0.2rem;
  min-height: 92px;
  align-content: center;
  border-radius: 0.75rem;
  padding: 1rem;
}

.home-hero-panel-grid strong {
  color: var(--maene-text);
  font-size: 1.1rem;
  line-height: 1.1;
}

.home-hero-panel-grid span {
  color: var(--maene-text-soft);
  font-size: 0.82rem;
}

.btn-save {
  border-radius: 999px;
  padding: 0.8rem 1.4rem;
  font-weight: 600;
  min-width: 150px;
  box-shadow: 0 8px 20px rgba(47, 107, 89, 0.15);
}

.map-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.map-toolbar-item,
.map-toolbar-count {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--maene-border);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  color: var(--maene-text);
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(31, 42, 36, 0.04);
}

.map-toolbar-count {
  margin-left: auto;
  color: var(--maene-text-soft);
}

.map-legend-pin {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(31, 42, 36, 0.18);
  flex-shrink: 0;
}

.map-legend-pin svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.map-legend-pin-academy {
  background: var(--maene-green);
  color: #fff;
}

.map-legend-pin-teacher {
  background: var(--brand-gold);
  color: var(--brand-ink);
}

.map-legend-pin-search {
  background: #d92d20;
  color: #fff;
}

.teacher-map-shell {
  overflow: hidden;
  border: 1px solid var(--maene-border);
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--maene-card-shadow);
}

.teacher-map-shell .teacher-map {
  width: 100%;
  height: min(72vh, 720px);
  min-height: 520px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.teacher-search-form {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--maene-border);
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--maene-card-shadow-soft);
}

.teacher-search-form .form-control,
.teacher-search-form .form-select {
  border-color: var(--maene-border);
  border-radius: 999px;
  min-height: 48px;
  padding-left: 1rem;
  padding-right: 1rem;
}

.teacher-search-address-row,
.teacher-search-filter-row {
  display: grid;
  gap: 1rem;
  align-items: end;
}

.teacher-search-address-row {
  grid-template-columns: minmax(240px, 2fr) minmax(120px, 0.8fr) minmax(180px, 1fr);
}

.teacher-search-filter-row {
  grid-template-columns: minmax(150px, 0.7fr) minmax(320px, 2fr) auto;
  margin-top: 1rem;
}

.teachers-search-filter-row {
  grid-template-columns: minmax(160px, 0.75fr) minmax(320px, 1.6fr) minmax(220px, 1fr);
}

.teachers-search-filter-row-secondary {
  grid-template-columns: minmax(280px, 1.25fr) minmax(280px, 1.25fr) auto;
}

.teacher-search-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.teacher-search-check {
  margin: 0;
  min-height: 48px;
  align-items: center;
}

.teacher-search-actions {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.75rem;
}

.teacher-availability-check {
  min-height: 48px;
}

.teacher-search-status {
  min-height: 1.4rem;
  margin-top: 0.75rem;
  color: var(--maene-text-soft);
  font-weight: 600;
}

.home-search-login-hint {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(101, 186, 204, 0.32);
  border-radius: 0.75rem;
  background: #fff;
  color: var(--maene-text-soft);
  font-size: 0.95rem;
}

.home-search-login-hint strong {
  color: var(--brand-ink);
}

.home-search-login-hint a {
  color: var(--brand-ink);
  font-weight: 700;
  text-decoration: none;
}

.home-search-login-hint a:hover,
.home-search-login-hint a:focus-visible {
  text-decoration: underline;
}

.home-benefit-title {
  margin: clamp(2.5rem, 6vw, 5rem) 0 clamp(1rem, 3vw, 2rem);
  color: var(--maene-text);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
}

.home-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: 0;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 1rem;
  background: #d7f0f5;
  color: var(--brand-ink);
}

.home-benefit-item {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  text-align: center;
}

.home-benefit-mark {
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: 800;
}

.home-benefit-item h2 {
  margin: 0.45rem 0 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 800;
}

.home-benefit-item p {
  max-width: 260px;
  margin: 0;
  line-height: 1.55;
}

.home-benefit-item a {
  color: inherit;
  font-weight: 750;
  text-underline-offset: 0.2em;
}

.home-testimonial {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1fr);
  overflow: hidden;
  margin-top: clamp(2rem, 5vw, 4rem);
  border-radius: 0.5rem;
  background: var(--brand-ink);
}

.home-testimonial img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.home-testimonial-quote {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1rem;
  min-height: 300px;
  padding: clamp(2rem, 5vw, 4rem);
  color: #fff;
  text-align: center;
}

.home-testimonial blockquote {
  max-width: 560px;
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.12;
}

.home-testimonial p {
  margin: 0;
  font-size: 1.05rem;
}

.home-final-cta {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  padding: clamp(3rem, 8vw, 6rem) 1rem;
  text-align: center;
}

.home-final-cta h2 {
  margin: 0;
  color: var(--maene-text);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
}

.home-final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.home-final-actions .btn {
  border-color: var(--brand-ink);
  background: var(--brand-ink);
  color: #fff;
  box-shadow: none;
  min-width: 190px;
}

.home-final-actions .btn:hover,
.home-final-actions .btn:focus-visible {
  border-color: var(--brand-gold);
  background: var(--brand-gold);
  color: var(--brand-ink);
}

.location-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid #e3ece6;
  border-radius: 0.8rem;
  background: #f9fbfa;
  cursor: pointer;
  transition: all 0.15s ease;
}

.location-option:hover {
  background: var(--maene-green-soft);
  border-color: #cfe2d7;
}

.location-option input {
  margin-top: 0.25rem;
}

.location-option-text {
  display: block;
}

.empty-state-card {
  background: #fff;
  border: 1px solid var(--maene-border);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  color: var(--maene-text-soft);
  box-shadow: 0 8px 24px rgba(31, 42, 36, 0.05);
}

.empty-state-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--maene-text);
}

.features-page {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

.knowledge-page {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

.knowledge-section {
  display: grid;
  gap: 1.25rem;
}

.features-hero {
  display: grid;
  gap: 0.85rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.features-hero .page-title {
  max-width: 820px;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1;
}

.features-hero .page-subtitle {
  max-width: 660px;
  font-size: 1.08rem;
}

.features-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.features-auth-actions .btn-outline-dark {
  background: #fff;
  box-shadow: none;
}

.features-section {
  display: grid;
  gap: 1.25rem;
}

.features-section-heading {
  display: grid;
  gap: 0.35rem;
}

.features-section-heading span {
  color: var(--brand-gold);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.features-section-heading h2 {
  margin: 0;
  color: var(--brand-ink);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  min-height: 210px;
  border: 1px solid var(--maene-border);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.88);
  padding: 1.25rem;
  box-shadow: var(--maene-card-shadow-soft);
}

.feature-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(101, 186, 204, 0.45);
  border-radius: 0.75rem;
  background: rgba(101, 186, 204, 0.14);
  color: var(--brand-ink);
}

.feature-card-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}

.feature-card h3 {
  margin: 0;
  color: var(--brand-ink);
  font-size: 1.25rem;
  font-weight: 800;
}

.feature-card p {
  margin: 0;
  color: var(--maene-text-soft);
  line-height: 1.55;
}

.features-cross-link {
  display: flex;
  justify-content: center;
}

.features-cross-link .btn {
  border-color: var(--brand-ink);
  background: var(--brand-ink);
  color: #fff;
  min-width: min(100%, 320px);
}

.features-cross-link .btn:hover,
.features-cross-link .btn:focus-visible {
  border-color: var(--brand-gold);
  background: var(--brand-gold);
  color: var(--brand-ink);
}

.home-results-section {
  margin-top: 1.5rem;
}

.map-info-window {
  color: #1f2a24;
  max-width: 280px;
  font-size: 0.95rem;
}

.map-info-type {
  display: inline-flex;
  margin-bottom: 0.35rem;
  color: var(--maene-green-dark);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.map-info-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.map-info-body {
  display: grid;
  gap: 0.35rem;
}

.map-info-body a {
  color: var(--maene-green-dark);
  font-weight: 600;
  text-decoration: none;
}

.map-info-body a:hover {
  text-decoration: underline;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.student-profile-card .form-section h2 {
  padding-top: 0.5rem;
  margin-bottom: 1rem;
}

.student-profile-card .student-option-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.student-profile-card .option-tile {
  min-height: 2.75rem;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: none;
}

.student-profile-card .option-tile:has(.form-check-input:checked) {
  border-color: var(--maene-border);
  background: var(--maene-green-soft);
  box-shadow: inset 0 0 0 1px rgba(101, 186, 204, 0.22);
}

.student-type-groups {
  display: grid;
  gap: 1rem;
}

.teacher-register-form .form-section {
  border: 1px solid rgba(19, 34, 56, 0.08);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.72);
  padding: 1.25rem;
}

.registration-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--maene-text-soft);
}

.registration-switch .btn {
  border-radius: 999px;
  font-weight: 650;
}

.teacher-register-form .form-section h2 {
  margin-bottom: 1rem;
}

.option-tile {
  min-height: 3rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(19, 34, 56, 0.12);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.option-tile:hover {
  border-color: rgba(19, 34, 56, 0.28);
  background: #fff;
}

.option-tile:has(.form-check-input:checked) {
  border-color: rgba(199, 146, 44, 0.65);
  box-shadow: 0 0 0 0.16rem rgba(199, 146, 44, 0.13);
}

.option-tile .form-check-input {
  flex: 0 0 auto;
  margin: 0;
}

.lesson-location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.audience-groups {
  display: grid;
  gap: 1rem;
}

.rate-section {
  background: linear-gradient(180deg, rgba(215, 235, 227, 0.42), rgba(255, 255, 255, 0.82)) !important;
}

.rate-table-wrap {
  border: 1px solid rgba(19, 34, 56, 0.08);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.rate-table th {
  white-space: nowrap;
  font-size: 0.9rem;
}

.rate-actions-col {
  width: 1%;
  white-space: nowrap;
}

.rate-table td[data-label]::before {
  content: none;
}

.teacher-rate-detail-table {
  border: 1px solid rgba(19, 34, 56, 0.08);
  border-radius: 0.65rem;
  overflow: hidden;
}

.teacher-credit-unit-hint {
  color: var(--maene-text-soft);
  font-size: 0.92rem;
}

.teacher-rate-detail-table thead th {
  background: rgba(215, 235, 227, 0.5);
  color: #4c5a6a;
  font-weight: 600;
  white-space: nowrap;
}

.teacher-rate-detail-table tbody th {
  white-space: nowrap;
}

.teacher-detail-page {
  max-width: 1180px;
  margin: 0 auto;
}

.teacher-detail-hero .lead {
  max-width: 720px;
}

.teacher-public-photo {
  width: clamp(112px, 16vw, 176px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid rgba(19, 34, 56, 0.08);
  box-shadow: 0 10px 24px rgba(19, 34, 56, 0.1);
  flex: 0 0 auto;
}

.teacher-detail-actions {
  display: grid;
  gap: 0.6rem;
  min-width: min(320px, 100%);
}

.teacher-detail-bio {
  white-space: pre-line;
}

.teacher-detail-facts {
  display: grid;
  gap: 1rem;
}

.teacher-detail-fact-label {
  color: #6c757d;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
  text-transform: uppercase;
}

.teacher-website-link {
  overflow-wrap: anywhere;
  text-decoration: underline;
}

.teacher-lesson-table {
  table-layout: fixed;
}

.teacher-lesson-start-col {
  width: 28%;
}

.teacher-lesson-type-col {
  width: 42%;
}

.teacher-lesson-status-col {
  width: 18%;
}

.teacher-lesson-action-col {
  width: 12%;
}

.teacher-detail-map {
  aspect-ratio: 4 / 3;
  min-height: 220px;
  border: 1px solid rgba(19, 34, 56, 0.08);
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
}

.teacher-detail-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.profile-thumb {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 1rem;
}

.availability-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.availability-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: #4c5a6a;
}

.availability-legend-swatch {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(19, 34, 56, 0.1);
}

.availability-legend-swatch.recurring {
  background: #d7ebe3;
}

.availability-legend-swatch.specific {
  background: #f6efe6;
}

.availability-legend-swatch.occupied {
  background: #d9e3f7;
}

.availability-legend-swatch.cancelled {
  background: #f7d7d7;
}

.availability-legend-swatch.blocked {
  background: #f7d7d7;
}

.availability-calendar-shell {
  border: 1px solid rgba(19, 34, 56, 0.08);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 239, 230, 0.72));
  padding: 1rem;
}

.availability-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.65rem;
}

.availability-calendar-weekday {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #637082;
  padding-bottom: 0.2rem;
}

.availability-calendar-cell {
  min-height: 8.5rem;
  border: 1px solid rgba(19, 34, 56, 0.08);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.88);
  padding: 0.75rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.availability-calendar-cell:hover {
  transform: translateY(-1px);
  box-shadow: 0 0.7rem 1.4rem rgba(19, 34, 56, 0.08);
}

.availability-calendar-cell.selected {
  border-color: var(--brand-ink);
  box-shadow: 0 0 0 2px rgba(19, 34, 56, 0.12);
}

.availability-calendar-cell.today .availability-calendar-day-number {
  color: var(--brand-gold);
}

.availability-calendar-cell.has-blocked {
  background: linear-gradient(180deg, rgba(247, 215, 215, 0.6), rgba(255, 255, 255, 0.92));
}

.availability-calendar-cell.muted {
  visibility: hidden;
  min-height: 0;
  padding: 0;
  border: 0;
}

.availability-calendar-day-number {
  font-size: 1rem;
  font-weight: 700;
}

.availability-calendar-entry-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.availability-calendar-entry,
.availability-calendar-more {
  border-radius: 0.6rem;
  padding: 0.35rem 0.5rem;
  font-size: 0.74rem;
  line-height: 1.3;
}

.availability-calendar-entry.recurring {
  background: #d7ebe3;
}

.availability-calendar-entry.specific {
  background: #f6efe6;
}

.availability-calendar-entry.occupied {
  background: #d9e3f7;
}

.availability-calendar-entry.cancelled {
  background: #f7d7d7;
  color: #7a1f1f;
  text-decoration: line-through;
}

.availability-calendar-entry.blocked {
  background: #f7d7d7;
}

.availability-calendar-more {
  background: rgba(19, 34, 56, 0.06);
  color: #4c5a6a;
  font-weight: 600;
}

.availability-calendar-details {
  border-top: 1px solid rgba(19, 34, 56, 0.08);
  padding-top: 1rem;
}

.availability-day-summary {
  min-height: 5rem;
}

.availability-day-entry-stack {
  display: grid;
  gap: 0.75rem;
}

.availability-day-entry {
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(19, 34, 56, 0.08);
}

.availability-day-entry.recurring {
  background: rgba(215, 235, 227, 0.7);
}

.availability-day-entry.specific {
  background: rgba(246, 239, 230, 0.9);
}

.availability-day-entry.occupied {
  background: rgba(217, 227, 247, 0.8);
}

.availability-day-entry.cancelled {
  background: rgba(247, 215, 215, 0.75);
  border-color: rgba(122, 31, 31, 0.22);
}

.availability-day-entry.cancelled .fw-semibold {
  color: #7a1f1f;
}

.availability-day-entry.blocked {
  background: rgba(247, 215, 215, 0.75);
}

@media (max-width: 991.98px) {
  .availability-calendar-grid {
    gap: 0.45rem;
  }

  .availability-calendar-cell {
    min-height: 7rem;
    padding: 0.6rem;
  }
}

@media (max-width: 767.98px) {
  .site-footer-main {
    grid-template-columns: 1fr;
  }

  .site-footer-socket {
    align-items: flex-start;
    flex-direction: column;
  }

  .cookie-consent-content {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-consent-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .cookie-consent-actions .btn {
    width: 100%;
  }

  .teacher-student-profile-actions {
    width: 100%;
  }

  .teacher-student-profile-actions .btn,
  .teacher-student-profile-actions form {
    width: 100%;
  }

  .teacher-students-sort-form {
    max-width: none;
  }

  .messages-sidebar-card {
    margin-bottom: 0.25rem;
  }

  .messages-conversation-list {
    padding-top: 0.25rem;
  }

  .messages-conversation-toggle {
    max-width: 9.5rem;
    line-height: 1.15;
  }

  .teacher-message-thread-header {
    align-items: stretch !important;
    flex-direction: column;
  }

  .teacher-message-thread-actions {
    display: grid !important;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .teacher-message-thread-actions .btn,
  .teacher-message-thread-actions form {
    width: 100%;
  }

  .teacher-message-conversation-footer {
    align-items: flex-start !important;
    flex-direction: column;
  }

  .teacher-message-conversation-actions {
    align-items: stretch !important;
    flex-direction: column;
    width: 100%;
  }

  .teacher-message-conversation-actions .btn {
    width: 100%;
  }

  .teacher-message-secondary-action,
  .teacher-message-send-button {
    width: 100%;
  }

  .student-message-thread-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .student-message-thread-actions .btn,
  .student-message-thread-actions form {
    width: 100%;
  }

  .rate-table-wrap {
    border: 0;
    background: transparent;
    overflow: visible;
  }

  .rate-table-wrap .table-responsive {
    overflow: visible;
  }

  .rate-table {
    display: block;
  }

  .rate-table thead {
    display: none;
  }

  .rate-table tbody {
    display: grid;
    gap: 0.85rem;
  }

  .rate-table tr {
    display: grid;
    gap: 0.75rem;
    border: 1px solid rgba(19, 34, 56, 0.12);
    border-radius: 0.5rem;
    background: #fff;
    padding: 1rem;
  }

  .rate-table td {
    display: block;
    border: 0;
    padding: 0;
  }

  .rate-table td[data-label]:not([data-label=""])::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.3rem;
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 600;
  }

  .rate-table .input-group,
  .rate-table .form-control {
    width: 100%;
  }

  .rate-actions-col {
    width: 100%;
    text-align: left !important;
  }

  .rate-actions-col .btn {
    width: 100%;
  }

  .map-toolbar {
    align-items: stretch;
  }

  .map-toolbar-item,
  .map-toolbar-count {
    width: 100%;
    justify-content: center;
  }

  .map-toolbar-count {
    margin-left: 0;
  }

  .home-search-page .map-toolbar {
    display: none;
  }

  .teacher-map-shell .teacher-map {
    height: 68vh;
    min-height: 420px;
  }

  .teacher-search-address-row,
  .teacher-search-filter-row {
    grid-template-columns: 1fr;
  }

  .teacher-search-actions {
    justify-content: stretch;
  }

  .teacher-search-actions .btn {
    width: 100%;
  }

  .home-register-actions .btn {
    width: 100%;
  }

  .home-landing-after-map {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }

  .home-landing-intro h1 {
    font-size: 1.55rem;
  }

  .home-hero-actions .btn {
    width: 100%;
  }

  .features-auth-actions .btn {
    width: 100%;
  }

  .home-hero-panel-main {
    min-height: 240px;
  }

  .home-hero-panel-grid {
    grid-template-columns: 1fr;
  }

  .home-benefit-grid,
  .home-testimonial {
    grid-template-columns: 1fr;
  }

  .home-benefit-grid {
    padding: 2rem 1rem;
  }

  .home-benefit-item {
    gap: 1rem;
  }

  .home-benefit-item a {
    margin-top: 0.35rem;
  }

  .home-testimonial img {
    min-height: 240px;
  }

  .home-final-actions {
    width: 100%;
  }

  .home-final-actions .btn {
    width: 100%;
  }

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

  .availability-calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .availability-calendar-weekday {
    display: none;
  }

  .availability-calendar-cell {
    min-height: 6.5rem;
  }
}
