/* split from style.css — part 3: misc (campaign 2026-09) */
/* Footer Section */
footer {
  background: #060607;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 0 30px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-col h4 {
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  opacity: 0.7;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  margin-top: 48px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  z-index: 98;
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  fill: #fff;
  width: 32px;
  height: 32px;
}

/* Split Hero Image Side custom adjustment */
.premium-card {
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px;
  transition: var(--transition-smooth);
}

.premium-card:hover {
  border-color: hsla(var(--primary-hsl), 0.35);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* Same 1 -> 2 -> 3 step every other grid in this file uses (.bento-grid,
   .pricing-columns) — this one used to jump straight to 3 columns at 768px,
   squeezing tablet-portrait cards down to ~248px. */
@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 120px 24px 60px;
}

.hero-image-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, hsla(var(--bg-primary-hsl), 0.95) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
}

.hero-title {
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

/* Calendar Weekly Timetable Grid */
.calendar-weekly-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  overflow-x: auto;
  min-width: 950px;
  padding-bottom: 12px;
}

/* Stack the week as a vertical day list instead of forcing a 950px-wide
   sideways scroll — 900px (not 768px) matches the breakpoint the rest of the
   app's calendar views use, so tablet portrait (e.g. 800-834px) gets the
   readable stacked list instead of a horizontally-scrolling grid with no
   visual indication there's more to swipe to. */
@media (max-width: 900px) {
  .calendar-weekly-grid {
    grid-template-columns: 1fr;
    min-width: 0;
    overflow-x: visible;
  }
  .calendar-day-col {
    min-height: 0;
  }
}

.calendar-day-col {
  background: hsla(240, 6%, 10%, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 500px;
  transition: var(--transition-smooth);
}

.calendar-day-col.today {
  border-color: var(--primary);
  background: hsla(var(--primary-hsl), 0.02);
}

.calendar-day-header {
  text-align: center;
  font-family: var(--font-header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
  margin-bottom: 6px;
}

.calendar-day-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
}

.calendar-day-date {
  font-size: 0.8rem;
  color: var(--text-grey);
  margin-top: 2px;
}

.calendar-class-card {
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 12px;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition-smooth);
}

.calendar-class-card:hover {
  transform: translateY(-2px);
  border-color: hsla(var(--primary-hsl), 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.calendar-class-title {
  font-family: var(--font-header);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin: 0;
  line-height: 1.3;
}

.calendar-class-meta {
  color: var(--text-grey);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 767px) {
  body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  /* .section-padding's `padding: 80px 0` shorthand is declared after
     .container's `padding: 0 24px` shorthand, so on any element carrying
     BOTH classes (e.g. `<section class="section-padding container">`,
     used for the hero/intro text blocks on every marketing page) the later
     rule wins the whole shorthand and zeroes out the horizontal padding —
     text runs flush to the viewport edges and reads as clipped on mobile.
     Restore just the horizontal padding here with longhand properties so
     top/bottom spacing and the desktop cascade (out of scope) are untouched. */
  .section-padding.container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Keyboard users get a visible focus ring everywhere; :focus-visible keeps
   it off mouse/touch interactions so the pointer experience is unchanged. */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

