/*
Theme Name:  Waverley Montessori
Theme URI:   https://https://waverleymontessori.com.au/
Author:      Your Name
Description: Custom Montessori school theme with ACF content management
Version:     1.0.0
License:     GNU General Public License v2 or later
Text Domain: montessori
*/

/* =========================================================
   CSS VARIABLES — edit colours here only
   ========================================================= */
:root {
  /* Brand palette */
  --clr-cream: #faf6f0;
  --clr-sand: #f0e8d8;
  --clr-warm-white: #fffdf9;
  --clr-sage: #b8c9b0;
  --clr-sage-dark: #7a9b70;
  --clr-terracotta: #c97d5a;
  --clr-terracotta-light: #e8a882;
  --clr-sky: #a8c4d4;
  --clr-sky-light: #d4e8f0;
  --clr-mauve: #c4a8c0;
  --clr-yellow: #e8d878;
  --clr-brown: #8b6b4a;
  --clr-text: #3d3028;
  --clr-text-light: #7a6555;
  --clr-white: #ffffff;

  /* Typography */
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Nunito", "Helvetica Neue", sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 6rem;
  --space-xl: 9rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-soft: 0 4px 24px rgba(61, 48, 40, 0.08);
  --shadow-card: 0 8px 40px rgba(61, 48, 40, 0.12);

  /* Container */
  --container-max: 1160px;
  --container-pad: 1.5rem;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--clr-cream);
  color: var(--clr-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--clr-brown);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}
h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}
h4 {
  font-size: 1.2rem;
}

p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   LAYOUT UTILITIES
   ========================================================= */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--space-lg);
}
.section--large {
  padding-block: var(--space-xl);
}

.text-center {
  text-align: center;
}
.text-light {
  color: var(--clr-text-light);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

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

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  text-align: center;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn--primary {
  background: var(--clr-terracotta);
  color: var(--clr-white);
  border-color: var(--clr-terracotta);
}
.btn--primary:hover {
  background: #b56a48;
  border-color: #b56a48;
}

.btn--secondary {
  background: transparent;
  color: var(--clr-terracotta);
  border-color: var(--clr-terracotta);
}
.btn--secondary:hover {
  background: var(--clr-terracotta);
  color: var(--clr-white);
}

.btn--white {
  background: var(--clr-white);
  color: var(--clr-brown);
  border-color: var(--clr-white);
}
.btn--white:hover {
  background: var(--clr-sand);
}

/* =========================================================
   SECTION LABEL (small eyebrow text)
   ========================================================= */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-sage-dark);
  margin-bottom: 0.75rem;
}

/* =========================================================
   SITE HEADER & NAV
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184, 201, 176, 0.3);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}
.site-logo img {
  height: 44px;
  width: auto;
  max-height: 44px;
  object-fit: contain;
}
.site-logo .custom-logo {
  height: 44px;
  width: auto;
  max-height: 44px;
  object-fit: contain;
}

.site-logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--clr-brown);
  line-height: 1.5;
}
.site-logo-text span {
  display: block;
  font-size: 0.7rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--clr-sage-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-menu a {
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-text);
  transition:
    background 0.2s,
    color 0.2s;
}
.nav-menu a:hover,
.nav-menu .current-menu-item a {
  background: var(--clr-sand);
  color: var(--clr-brown);
}

.nav-cta {
  margin-left: 0.5rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-brown);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 101; /* sits above the nav overlay */
  }

  .site-logo img {
    height: 36px;
  }
  .site-logo-text {
    font-size: 0.95rem;
  }
  .site-logo-text span {
    font-size: 0.6rem;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(
      100dvh - 72px
    ); /* explicit height so overflow-y actually works */
    background: var(--clr-cream);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* don't centre — let items stack from the top */
    gap: 1.5rem;
    z-index: 98;
    overflow-y: auto;
    padding-block: 3rem var(--space-md);
    -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
  }
  .nav-menu.is-open {
    display: flex;
  }
  .nav-menu a {
    font-size: 1.3rem;
  }

  /* Animate hamburger → ✕ when open */
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
} /* =========================================================
   VIDEO HERO
   ========================================================= */
.hero-video {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: var(--clr-white);
}

.hero-video__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fallback image shown before video loads */
.hero-video__bg .fallback-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Warm overlay so text is readable */
.hero-video__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(61, 48, 40, 0.55) 0%,
    rgba(139, 107, 74, 0.45) 50%,
    rgba(61, 48, 40, 0.6) 100%
  );
  z-index: 1;
}

.hero-video__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: var(--space-md);
  padding-top: 96px; /* clear fixed header */
}

.hero-video__eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-video__heading {
  color: var(--clr-white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 16px rgba(61, 48, 40, 0.4);
}

.hero-video__sub {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 2rem;
  text-shadow: 0 1px 8px rgba(61, 48, 40, 0.3);
}

.hero-video__btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.5);
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* =========================================================
   INTRO STRIP (below hero)
   ========================================================= */
.intro-strip {
  background: var(--clr-sand);
  padding-block: 3.5rem;
  text-align: center;
}
.intro-strip p {
  max-width: 680px;
  margin-inline: auto;
  font-size: 1.2rem; /* was 1.1rem */
  color: var(--clr-text-light);
  line-height: 1.8; /* add a touch more breathing room */
}

/* =========================================================
   FEATURE CARDS (Values / Programs preview)
   ========================================================= */
.feature-cards {
  background: var(--clr-warm-white);
}

.feature-card {
  background: var(--clr-cream);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  margin-inline: auto;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}
.feature-card__icon--sage {
  background: var(--clr-sage);
}
.feature-card__icon--sky {
  background: var(--clr-sky-light);
}
.feature-card__icon--mauve {
  background: #e8d4e4;
}
.feature-card__icon--yellow {
  background: var(--clr-yellow);
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}
.feature-card p {
  font-size: 0.92rem;
  color: var(--clr-text-light);
}

/* =========================================================
   ABOUT PREVIEW (home page split)
   ========================================================= */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.about-split__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.about-split__image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-split__text {
  padding: var(--space-sm);
}
.about-split__text h2 {
  margin-bottom: 1rem;
}
.about-split__text p {
  color: var(--clr-text-light);
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .about-split {
    grid-template-columns: 1fr;
  }
  .about-split__image img {
    height: 300px;
  }
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials {
  background: var(--clr-sage);
}
.testimonials h2 {
  color: var(--clr-warm-white);
}
.testimonials .section-label {
  color: rgba(255, 255, 255, 0.7);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.testimonial-card {
  background: var(--clr-warm-white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
}
.testimonial-card__quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--clr-text);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
.testimonial-card__quote::before {
  content: "\201C";
  font-size: 2rem;
  color: var(--clr-terracotta);
  line-height: 0;
  vertical-align: -0.5rem;
  margin-right: 4px;
}
.testimonial-card__author {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--clr-brown);
}
.testimonial-card__role {
  font-size: 0.82rem;
  color: var(--clr-text-light);
}

/* =========================================================
   GALLERY GRID
   ========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-card);
}

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
  background: var(--clr-terracotta);
  color: var(--clr-white);
  text-align: center;
  padding-block: var(--space-lg);
}
.cta-banner h2 {
  color: var(--clr-white);
  margin-bottom: 0.75rem;
}
.cta-banner p {
  opacity: 0.9;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 2rem;
}
.cta-banner .btn--white:hover {
  background: var(--clr-terracotta-light);
  color: var(--clr-white);
}

/* =========================================================
   PAGE HERO (inner pages — no video)
   ========================================================= */
.page-hero {
  padding-top: calc(72px + var(--space-lg));
  padding-bottom: var(--space-lg);
  background: var(--clr-sand);
  text-align: center;
}
.page-hero h1 {
  margin-bottom: 0.75rem;
}
.page-hero p {
  color: var(--clr-text-light);
  font-size: 1.1rem;
  max-width: 580px;
  margin-inline: auto;
}

/* =========================================================
   ACCORDION (FAQ / Program details)
   ========================================================= */
.accordion {
  max-width: 760px;
  margin-inline: auto;
}
.accordion-item {
  border-bottom: 1px solid var(--clr-sand);
}

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-brown);
  cursor: pointer;
  gap: 1rem;
}
.accordion-trigger::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--clr-terracotta);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.accordion-trigger.is-open::after {
  transform: rotate(45deg);
}

.accordion-body {
  display: none;
  padding-bottom: 1.25rem;
  color: var(--clr-text-light);
  line-height: 1.8;
}
.accordion-body.is-open {
  display: block;
}

/* =========================================================
   PROGRAM CARDS
   ========================================================= */
.program-card {
  background: var(--clr-warm-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.program-card__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.program-card__body {
  padding: var(--space-md);
}
.program-card__age {
  display: inline-block;
  background: var(--clr-sky-light);
  color: var(--clr-brown);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}
.program-card__body h3 {
  margin-bottom: 0.5rem;
}
.program-card__body p {
  font-size: 0.92rem;
  color: var(--clr-text-light);
}

/* =========================================================
   TEAM GRID
   ========================================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-md);
}
.team-card {
  text-align: center;
}

.team-single {
  display: flex;
  justify-content: center;
}

.team-single .team-card {
  max-width: 320px;
  width: 100%;
}
.team-card__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-inline: auto;
  margin-bottom: 1rem;
  border: 4px solid var(--clr-sand);
  box-shadow: var(--shadow-soft);
}
.team-card__name {
  font-weight: 700;
  color: var(--clr-brown);
}
.team-card__role {
  font-size: 0.85rem;
  color: var(--clr-sage-dark);
}
.team-card__bio {
  font-size: 0.88rem;
  color: var(--clr-text-light);
  margin-top: 0.5rem;
}

/* =========================================================
   ENROLMENT STEPS
   ========================================================= */
.steps-list {
  counter-reset: step;
  display: grid;
  gap: var(--space-md);
  max-width: 680px;
  margin-inline: auto;
}
.step-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--clr-terracotta);
  color: var(--clr-white);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-item h4 {
  margin-bottom: 0.25rem;
}
.step-item p {
  font-size: 0.92rem;
  color: var(--clr-text-light);
  margin: 0;
}

/* =========================================================
   CONTACT FORM & INFO
   ========================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-info h2 {
  margin-bottom: 1rem;
}
.contact-info p {
  color: var(--clr-text-light);
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.contact-detail__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--clr-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-detail__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--clr-sage-dark);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.contact-detail__value {
  font-size: 0.95rem;
  color: var(--clr-text);
}

/* Contact Form */
.contact-form {
  background: var(--clr-warm-white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.contact-form h3 {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clr-brown);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--clr-sand);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--clr-text);
  background: var(--clr-cream);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clr-terracotta);
  box-shadow: 0 0 0 3px rgba(201, 125, 90, 0.15);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* =========================================================
   MAP EMBED
   ========================================================= */
.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* =========================================================
   SITE FOOTER
   ========================================================= */
.site-footer {
  background: var(--clr-brown);
  color: rgba(255, 255, 255, 0.85);
  padding-block: var(--space-lg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.footer-logo {
  height: 44px; /* matches header size, adjust if you want it smaller */
  width: auto;
  display: block;
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .site-logo-text {
  color: var(--clr-white);
}
.footer-brand p {
  font-size: 0.88rem;
  margin-top: 0.75rem;
  opacity: 0.75;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--clr-white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col a {
  font-size: 0.88rem;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.footer-col a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-sm);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  opacity: 0.6;
}

/* =========================================================
   UTILITIES
   ========================================================= */
.mt-sm {
  margin-top: var(--space-sm);
}
.mt-md {
  margin-top: var(--space-md);
}
.mb-md {
  margin-bottom: var(--space-md);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* =========================================================
   TESTIMONIAL SLIDER
   ========================================================= */
.testimonial-slider {
  padding-bottom: var(--space-md);
}
.testimonial-slider .testimonial-card {
  margin: 0 0.75rem;
}
.testimonial-slider .slick-dots {
  bottom: 0;
}
.testimonial-slider .slick-dots li button:before {
  font-size: 10px;
  color: var(--clr-terracotta);
  opacity: 0.4;
}
.testimonial-slider .slick-dots li.slick-active button:before {
  opacity: 1;
}
.testimonial-slider .slick-prev,
.testimonial-slider .slick-next {
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}
.testimonial-slider .slick-prev:before,
.testimonial-slider .slick-next:before {
  color: var(--clr-brown);
  font-size: 1.4rem;
  opacity: 0.6;
}
.testimonial-slider .slick-prev:hover:before,
.testimonial-slider .slick-next:hover:before {
  opacity: 1;
}

.testimonial-slider .slick-track {
  display: flex !important;
}
.testimonial-slider .slick-slide {
  height: auto !important;
  display: flex !important;
  flex-direction: column;
}
.testimonial-slider .slick-slide > div {
  display: flex;
  flex: 1;
  width: 100%;
}
.testimonial-slider .testimonial-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}
.testimonial-slider .testimonial-card__quote {
  flex: 1; /* this pushes the author to the bottom */
}
