/* ============================================
   Cherished Memories Photography — Main Styles
   ============================================ */

/* --- CSS Variables --- */
:root {
  --red: #B22234;
  --red-light: #D4485A;
  --red-dark: #8C1B2A;
  --red-muted: #E8C4C9;
  --red-subtle: #FDF5F6;
  --black: #111111;
  --charcoal: #1E1E1E;
  --dark-gray: #2A2A2A;
  --mid: #4A4A4A;
  --warm: #7A7A7A;
  --cool: #999999;
  --line: #E2E0DD;
  --silk: #F5F4F2;
  --cream: #FAF9F7;
  --white: #FFFFFF;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Outfit', 'Helvetica Neue', sans-serif;
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--mid);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Utility --- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.container { max-width: 1100px; margin: 0 auto; }
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.mb-48 { margin-bottom: 48px; }
.mb-56 { margin-bottom: 56px; }
.mb-60 { margin-bottom: 60px; }
.p-80 { padding: 80px 24px; }
.p-100 { padding: 100px 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.grid-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.35s;
  padding: 16px 0;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* CM monogram in nav */
.nav-logo-mark {
  height: 42px;
  width: auto;
  object-fit: contain;
  /* White on dark hero background */
  filter: brightness(0) invert(1);
  transition: filter 0.35s;
}

.nav.scrolled .nav-logo-mark {
  /* Original colors on white nav (black CM + red heart) */
  filter: none;
}

/* CM monogram in footer */
.footer-logo-mark {
  height: 36px;
  width: auto;
  object-fit: contain;
  /* White on dark footer */
  filter: brightness(0) invert(1);
}

.nav-logo-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  transition: color 0.35s;
  letter-spacing: 0px;
  text-transform: uppercase;
}

.nav-logo-sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.35s;
  font-weight: 500;
}

.nav.scrolled .nav-logo-text { color: var(--black); }
.nav.scrolled .nav-logo-sub { color: var(--cool); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 550;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.nav.scrolled .nav-link { color: var(--black); }
.nav.scrolled .nav-link:hover,
.nav.scrolled .nav-link.active { color: var(--red); }

.nav-phone {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.35s;
}

.nav.scrolled .nav-phone { color: var(--mid); }

.nav-mobile {
  display: none;
  cursor: pointer;
  color: #fff;
  background: none;
  border: none;
  padding: 4px;
}

.nav.scrolled .nav-mobile { color: var(--black); }

/* Mobile nav */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.show { display: flex; }
  .nav-links .nav-link { color: var(--black); }
  .nav-links .nav-link:hover,
  .nav-links .nav-link.active { color: var(--red); }
  .nav-links .nav-phone { color: var(--mid); }
  .nav-mobile { display: block; }
}

/* --- Buttons --- */
.btn {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s;
  border-radius: 2px;
  padding: 17px 38px;
}

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); padding: 16px 37px; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.07); }
.btn-black { background: var(--black); color: #fff; }
.btn-black:hover { background: var(--charcoal); }
.btn-full { width: 100%; }

/* --- Section Labels & Headings --- */
.section-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 10px;
}

.section-heading {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--black);
  line-height: 1.15;
}

.accent-line {
  width: 40px;
  height: 3px;
  background: var(--red);
  border-radius: 1px;
  margin: 0 auto 18px;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  overflow: hidden;
}

.hero--short { min-height: 55vh; }

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: kenburns 25s ease-in-out infinite alternate;
  transform-origin: center center;
}

@keyframes kenburns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.15) translate(-2%, -1.5%); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0.65) 50%, rgba(10, 10, 10, 0.78) 100%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background: repeating-conic-gradient(#fff 0% 25%, transparent 0% 50%) 0 0 / 2px 2px;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  padding: 0 24px;
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 28px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero h1 em {
  color: var(--red-light);
  font-style: italic;
}

.hero p {
  font-family: var(--sans);
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin: 0 auto 44px;
  max-width: 480px;
  font-weight: 300;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.hero-est {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 32px;
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: bob 2.5s ease-in-out infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.25));
}

.hero-scroll-text {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  font-weight: 500;
}

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* --- Top Announcement Bar --- */
.top-bar {
  background: var(--red);
  padding: 8px 24px;
  text-align: center;
  position: relative;
  z-index: 1001;
}

.top-bar__text {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.3px;
}

.top-bar__link {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 6px;
  transition: opacity 0.2s;
}

.top-bar__link:hover { opacity: 0.8; }

.top-bar__close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s;
}

.top-bar__close:hover { color: #fff; }

/* --- Hero Search (integrated in hero) --- */
.hero-search {
  max-width: 560px;
  margin: 0 auto 28px;
  position: relative;
}

.hero-search__input {
  width: 100%;
  padding: 20px 22px 20px 54px;
  font-family: var(--sans);
  font-size: 16px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: border-color 0.25s, background 0.25s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-search__input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.hero-search__input:focus {
  border-color: var(--red);
  background: rgba(255, 255, 255, 0.12);
}

.hero-search__icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.hero-search .search-results {
  border-radius: 0 0 4px 4px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.hero-or {
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* --- Announcement Banner --- */
.announcement-banner {
  background: var(--black);
  padding: 52px 24px;
  position: relative;
  overflow: hidden;
}

.announcement-banner::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: var(--red);
  opacity: 0.07;
  border-radius: 50%;
  pointer-events: none;
}

.announcement-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.announcement-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(178, 34, 52, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red-light);
}

.announcement-body { flex: 1; }

.announcement-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 6px;
}

.announcement-heading {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.announcement-desc {
  font-family: var(--sans);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.announcement-action { flex-shrink: 0; }

@media (max-width: 600px) {
  .announcement-inner {
    flex-direction: column;
    text-align: center;
  }
  .announcement-action { width: 100%; }
  .announcement-action .btn { width: 100%; }
}

/* --- Promotions Grid --- */
.promos-section {
  background: var(--white);
  padding: 72px 24px;
  border-bottom: 1px solid var(--line);
}

.promos-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.promos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.promo-card {
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  display: block;
}

.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 1;
}

.promo-card:hover::before { opacity: 1; }

.promo-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

.promo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-image__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--black), var(--dark-gray));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.15);
}

.promo-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: #fff;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}

.promo-body { padding: 24px; }

.promo-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.promo-desc {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--warm);
  line-height: 1.7;
  margin-bottom: 16px;
}

.promo-link {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: opacity 0.2s;
}

.promo-link:hover { opacity: 0.7; }

@media (max-width: 600px) {
  .promos-grid { grid-template-columns: 1fr; }
}

/* --- Search Bar --- */
.search-section {
  background: var(--white);
  padding: 48px 24px;
  border-bottom: 1px solid var(--line);
}

.search-wrap {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.search-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 16px;
}

.search-input-wrap {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 18px 20px 18px 50px;
  font-family: var(--sans);
  font-size: 15.5px;
  border: 1px solid var(--line);
  border-radius: 3px;
  outline: none;
  background: var(--white);
  color: var(--black);
  transition: border-color 0.2s;
}

.search-input:focus { border-color: var(--red); }

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cool);
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 3px 3px;
  max-height: 280px;
  overflow-y: auto;
  display: none;
  z-index: 10;
}

.search-results.active { display: block; }

.search-result-item {
  display: block;
  padding: 14px 20px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--mid);
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
  text-align: left;
}

.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--silk); color: var(--black); }

/* Senior search results (richer layout with deadline + book CTA) */
.search-result-item--senior {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  text-decoration: none;
}
.search-result-item--senior .search-result-name {
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
}
.search-result-item--senior .search-result-deadline {
  flex: 1;
  font-size: 12px;
  color: #999;
  white-space: nowrap;
}
.search-result-item--senior .search-result-book {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  white-space: nowrap;
  margin-left: auto;
}
.search-result-item--senior:hover .search-result-book { text-decoration: underline; }

/* --- Services --- */
.services {
  background: var(--cream);
  padding: 100px 24px;
}

.services-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--white);
  border-radius: 3px;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
  position: relative;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 1;
}

.service-card:hover::before { opacity: 1; }

.service-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.15);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  overflow: hidden;
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.service-body {
  padding: 28px 26px;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.service-icon { color: var(--red); }

.service-title {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--black);
}

.service-desc {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--warm);
  line-height: 1.75;
}

/* --- Stats Bar --- */
.stats {
  background: var(--black);
  padding: 80px 24px;
}

.stats-inner {
  max-width: 950px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
}

.stat-number {
  font-family: var(--serif);
  font-size: 54px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  font-style: italic;
  text-align: center;
}

.stat-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 12px;
  font-weight: 500;
  text-align: center;
}

/* --- Award --- */
.award {
  background: var(--black);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.award::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  width: 240px;
  height: 240px;
  background: var(--red);
  opacity: 0.08;
  border-radius: 50%;
}

.award::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: var(--red);
  opacity: 0.05;
  border-radius: 50%;
}

.award-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.award-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(178,34,52,0.15);
  border: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}

.award-text {
  flex: 1;
  min-width: 260px;
}

.award-title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}

.award-desc {
  font-family: var(--sans);
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 100px 24px;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: var(--charcoal);
  background-size: cover;
  background-position: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(30, 30, 30, 0.92) 0%, rgba(30, 30, 30, 0.85) 100%);
}

.cta-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: var(--red);
  opacity: 0.05;
  border-radius: 50%;
  pointer-events: none;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red-light);
  font-weight: 500;
  margin-bottom: 16px;
}

.cta-heading {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 18px;
  line-height: 1.15;
}

.cta-desc {
  font-family: var(--sans);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  margin: 0 0 36px;
  font-weight: 300;
}

/* --- Testimonial --- */
.testimonial {
  background: var(--cream);
  padding: 80px 24px;
}

.testimonial-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-bottom: 24px;
}

.testimonial-quote {
  font-family: var(--serif);
  font-size: clamp(19px, 2.8vw, 26px);
  font-weight: 400;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.65;
  margin: 0 0 20px;
}

.testimonial-author {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--cool);
  font-weight: 500;
}

/* --- Footer --- */
.site-footer {
  background: var(--black);
  padding: 56px 24px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.footer-heading {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-link {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 10px;
  display: block;
  transition: color 0.2s;
}

.footer-link:hover { color: rgba(255, 255, 255, 0.6); }

.footer-brand-text {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.75;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--sans);
  font-size: 13px;
  margin-bottom: 10px;
}

.footer-contact-item--address {
  align-items: flex-start;
}

.footer-bar {
  max-width: 1100px;
  margin: 32px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--sans);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.18);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* --- Forms --- */
.form-input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 15px;
  border: 1px solid var(--line);
  border-radius: 3px;
  outline: none;
  background: var(--white);
  color: var(--black);
  transition: border-color 0.2s;
}

.form-input:focus { border-color: var(--red); }

.form-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mid);
  display: block;
  margin-bottom: 7px;
  font-weight: 600;
}

/* --- Policy / Article Pages --- */
.policy-content h1 {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
}

.policy-content h2 {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: var(--black);
  margin: 32px 0 12px;
}

.policy-content h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin: 24px 0 8px;
}

.policy-content p {
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 12px;
}

.policy-content .policy-effective {
  font-size: 13px;
  color: var(--warm);
  margin-bottom: 24px;
}

.policy-content ul {
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--mid);
  line-height: 1.85;
  margin: 8px 0 16px 24px;
}

.policy-content ul li {
  margin-bottom: 6px;
}

.policy-content ul ul {
  margin-top: 6px;
  margin-bottom: 6px;
}

.policy-content hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}

.policy-content a {
  color: var(--red);
  font-weight: 600;
}

.policy-content a:hover {
  color: var(--red-dark);
}

.policy-content strong {
  color: var(--charcoal);
}

/* --- Order Tracking --- */
.tracking-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}

.tracking-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--warm);
}

.tracking-value {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  text-align: right;
}

.tracking-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.tracking-badge--processing {
  background: #FFF3CD;
  color: #856404;
}

.tracking-badge--shipped {
  background: #D4EDDA;
  color: #155724;
}

.tracking-link {
  color: var(--red) !important;
  font-weight: 600 !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  word-break: break-all;
}

.tracking-link:hover {
  color: var(--red-dark) !important;
}

.carrier-icon {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  vertical-align: middle;
  margin-right: 4px;
}

.carrier-icon--usps {
  background: #004B87;
  color: #fff;
}

.carrier-icon--ups {
  background: #351C15;
  color: #FFB500;
}

.carrier-icon--fedex {
  background: #4D148C;
  color: #FF6600;
}

@media (max-width: 480px) {
  .tracking-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .tracking-value {
    text-align: left;
  }
}

/* --- Steps --- */
.step-number {
  font-family: var(--serif);
  font-size: 60px;
  font-weight: 700;
  color: var(--red-muted);
  line-height: 1;
  margin-bottom: 16px;
  font-style: italic;
}

.step-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.step-desc {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--warm);
  line-height: 1.75;
}

/* --- Video Embed --- */
.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: 3px;
  overflow: hidden;
  background: var(--black);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* --- SVG icon utility --- */
.icon-svg {
  display: inline-block;
  vertical-align: middle;
}

/* --- Screen reader text (accessibility) --- */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* ============================================
   Page-Specific Styles
   ============================================ */

/* --- Order Page: Other Services Cards --- */
.other-service-card {
  padding: 24px 20px;
  background: var(--cream);
  border-radius: 3px;
  border: 1px solid var(--line);
}

.other-service-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 6px;
}

.other-service-desc {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--warm);
  line-height: 1.7;
  margin: 0 0 12px;
}

.other-service-link {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: opacity 0.2s;
}

.other-service-link:hover { opacity: 0.8; }

/* --- Seniors Page: Session Cards --- */
.session-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.session-card {
  border-radius: 3px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--white);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}

.session-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.session-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 1;
}

.session-card:hover::before {
  opacity: 1;
}

.session-photo {
  height: 320px;
  background: linear-gradient(135deg, var(--black), var(--dark-gray));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.session-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.session-photo-icon {
  color: var(--red-light);
  opacity: 0.3;
}

.session-body {
  padding: 24px;
}

.session-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 10px;
}

.session-desc {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--warm);
  line-height: 1.75;
  margin: 0 0 14px;
}

.session-features {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.session-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--mid);
}

/* --- Seniors Page: Locations Grid --- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.location-card {
  padding: 18px;
  background: var(--cream);
  border-radius: 3px;
  border: 1px solid var(--line);
}

.location-region {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 8px;
}

.location-spot {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--mid);
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
}

.location-spot:last-child { border-bottom: none; }

/* --- Seniors Page: FAQ Accordion --- */
.faq-accordion {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  margin: 0;
  background: transparent;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--black);
  text-align: left;
  line-height: 1.5;
}

.faq-question:hover { color: var(--red); }

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item--open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--warm);
  line-height: 1.7;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item--open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer > p {
  overflow: hidden;
  margin: 0;
  padding-bottom: 0;
}

.faq-item--open .faq-answer > p {
  padding-bottom: 18px;
}

.faq-answer a { color: var(--red); font-weight: 600; }
.faq-answer a:hover { text-decoration: underline; }

/* --- Studios Page --- */
.studio-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.studio-card {
  border-radius: 3px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.25s;
}

.studio-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.studio-photo {
  height: 120px;
  background: linear-gradient(135deg, var(--black), var(--dark-gray));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.studio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-body {
  padding: 20px;
}

.studio-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 10px;
}

.studio-address {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--mid);
  line-height: 1.6;
}

.studio-landmark {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--cool);
  margin-top: 6px;
  font-style: italic;
}

.studio-directions {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: opacity 0.2s;
}

.studio-directions:hover { opacity: 0.8; }

.studio-photo--coords {
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.studio-topo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.04;
}

.studio-pin {
  width: 1px;
  height: 16px;
  background: linear-gradient(to bottom, var(--red), transparent);
  position: relative;
}

.studio-pin::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  position: absolute;
  top: -3px;
  left: -2.5px;
  box-shadow: 0 0 10px rgba(178, 34, 52, 0.3);
}

.studio-city-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  z-index: 1;
}

.studio-coords {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.12);
  z-index: 1;
}

/* --- For Schools Page: Pain Cards --- */
.pain-card {
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: box-shadow 0.25s;
}

.pain-card:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
}

.pain-header {
  padding: 22px 28px;
  background: var(--black);
  display: flex;
  align-items: center;
  gap: 16px;
}

.pain-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(178, 34, 52, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-light);
  flex-shrink: 0;
}

.pain-problem {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: line-through;
  margin-bottom: 2px;
}

.pain-solution {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.pain-body {
  padding: 26px 28px;
  background: var(--white);
}

.pain-desc {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--mid);
  line-height: 1.75;
  margin: 0;
}

/* --- For Schools Page: Checklist --- */
.check-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  background: var(--white);
  border-radius: 3px;
  border: 1px solid var(--line);
}

.check-icon { color: var(--red); flex-shrink: 0; }

.check-text {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--charcoal);
  font-weight: 450;
}

/* --- For Schools Page: Trust Bar --- */
.trust {
  background: var(--black);
  padding: 72px 24px;
}

.trust-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
  text-align: center;
}

.trust-icon {
  color: var(--red);
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
}

.trust-label {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.trust-sub {
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

/* --- For Schools Page: Comparison Table --- */
.compare-table {
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.compare-header {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  background: var(--black);
}

.compare-header div {
  padding: 14px 20px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

.compare-header .chain-col { text-align: center; }
.compare-header .cmp-col { color: var(--red-light); font-weight: 700; text-align: center; }

.compare-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  border-top: 1px solid var(--line);
}

.compare-row:nth-child(odd) { background: var(--white); }
.compare-row:nth-child(even) { background: var(--cream); }

.compare-row div {
  padding: 14px 20px;
  font-family: var(--sans);
  font-size: 13.5px;
}

.compare-feature { color: var(--black); font-weight: 550; }
.compare-chain { color: var(--cool); text-align: center; }
.compare-cmp { color: var(--black); text-align: center; font-weight: 650; }

/* --- About Page --- */
.about-story {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--mid);
  line-height: 1.85;
}

.about-story p {
  margin-bottom: 18px;
}

.about-story p:last-child { margin-bottom: 0; }

.about-stat-number {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 700;
  color: var(--red);
  font-style: italic;
}

/* --- About Page: Team --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 32px 20px;
}

.team-member { text-align: center; }

.team-photo {
  width: 150px;
  height: 180px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--black), var(--dark-gray));
  margin: 0 auto 14px;
  border: 2px solid var(--line);
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}

.team-role {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--warm);
}

/* --- Contact Page --- */
.contact-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.contact-section-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 20px;
}

.contact-info-item {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}

.contact-info-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--black);
}

.contact-info-value {
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--mid);
}

a.contact-info-value:hover { color: var(--red); }

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.contact-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--silk);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  transition: all 0.2s;
}

.contact-social-link:hover {
  background: var(--red);
  color: #fff;
}

/* --- Form success state --- */
.cmp-form-success {
  padding: 36px;
  background: var(--red-subtle);
  border-radius: 3px;
  border: 1px solid var(--red-muted);
  text-align: center;
}

.cmp-form-success h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}

.cmp-form-success p {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--mid);
  margin: 0;
}

/* --- School Gallery: Breadcrumb --- */
.sg-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.sg-breadcrumb a {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}

.sg-breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.sg-breadcrumb__sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 10px;
}

.sg-breadcrumb__current {
  color: rgba(255, 255, 255, 0.7);
}

/* --- School Gallery: Access Code Callout --- */
.sg-access-callout {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.sg-access-callout__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-top: 1px;
}

.sg-access-callout__body {
  flex: 1;
  min-width: 0;
}

.sg-access-callout__label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cool);
  margin-bottom: 4px;
}

.sg-access-callout__text {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--mid);
  line-height: 1.65;
}

.sg-access-callout__text strong {
  color: var(--black);
  font-weight: 700;
}

.sg-access-callout__code {
  display: inline-block;
  background: var(--red-subtle);
  color: var(--red-dark);
  font-weight: 700;
  font-size: 13px;
  padding: 2px 10px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  font-family: var(--sans);
}

/* --- School Gallery: Info Bar --- */
.sg-info-bar {
  padding: 32px 24px;
  border-bottom: 1px solid var(--line);
}

.sg-info-bar__inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

/* --- School Gallery: Event Grid --- */
.school-events {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.event-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  animation: sgCardIn 0.45s ease forwards;
}

.event-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  border-color: var(--red-muted);
  transform: translateY(-2px);
}

.event-card__icon {
  flex-shrink: 0;
  width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  background: var(--cream);
  border-right: 1px solid var(--line);
  color: var(--red);
  transition: background 0.3s, color 0.3s;
}

.event-card:hover .event-card__icon {
  background: var(--red);
  color: var(--white);
}

.event-card__icon svg {
  width: 20px;
  height: 20px;
}

.event-card__body {
  flex: 1;
  min-width: 0;
  padding: 20px 20px 20px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.event-card__name {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
}

.event-card__action {
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: gap 0.25s;
}

.event-card:hover .event-card__action {
  gap: 8px;
}

.event-card__action svg {
  width: 13px;
  height: 13px;
  transition: transform 0.25s;
}

.event-card:hover .event-card__action svg {
  transform: translateX(2px);
}

@keyframes sgCardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- School Gallery: Year Group --- */
.year-group {
  margin-bottom: 52px;
}

.year-group:last-child {
  margin-bottom: 0;
}

.year-group__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.year-group__heading {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  white-space: nowrap;
  padding: 0;
  border: none;
  margin: 0;
}

.year-group__line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.year-group__count {
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--cool);
  white-space: nowrap;
}

/* --- School Gallery: Empty State --- */
.sg-empty {
  text-align: center;
  padding: 40px 0;
}

.sg-empty__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--silk);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--cool);
}

.sg-empty__title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.sg-empty__text {
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--warm);
  line-height: 1.7;
}

.sg-empty__text a {
  color: var(--red);
  font-weight: 600;
}

/* --- School Gallery: Bottom Bar --- */
.sg-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 44px 24px;
}

.sg-bottom-bar__help {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--warm);
}

.sg-bottom-bar__help a {
  color: var(--red);
  font-weight: 600;
}

/* --- School Gallery: Stagger delays --- */
.event-card:nth-child(1) { animation-delay: 0s; }
.event-card:nth-child(2) { animation-delay: 0.06s; }
.event-card:nth-child(3) { animation-delay: 0.12s; }
.event-card:nth-child(4) { animation-delay: 0.18s; }
.event-card:nth-child(5) { animation-delay: 0.24s; }
.event-card:nth-child(6) { animation-delay: 0.30s; }
.event-card:nth-child(7) { animation-delay: 0.36s; }
.event-card:nth-child(8) { animation-delay: 0.42s; }

@media (max-width: 600px) {
  .school-events {
    grid-template-columns: 1fr;
  }
  .sg-access-callout {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 20px;
  }
  .sg-bottom-bar {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .event-card__body {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }
}

/* --- School Landing: Meta Grid --- */
.school-landing-meta {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.school-landing-meta__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--mid);
}

.school-landing-meta__label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cool);
  margin-bottom: 2px;
}

.school-landing-meta__value {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--black);
  font-weight: 500;
}

/* --- School Landing: 4-Image Gallery Grid --- */
.school-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.school-gallery-grid__item {
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--black), var(--dark-gray));
}

.school-gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.school-gallery-grid__item:hover img {
  transform: scale(1.03);
}

.school-gallery-grid__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.15);
}

@media (max-width: 480px) {
  .school-gallery-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* --- School Landing: CTA Block --- */
.school-cta-block {
  background: var(--charcoal);
  padding: 80px 24px;
  text-align: center;
}

/* --- Responsive: Comparison table on mobile --- */
@media (max-width: 600px) {
  .compare-header,
  .compare-row {
    grid-template-columns: 1fr 0.8fr 0.8fr;
  }

  .compare-header div,
  .compare-row div {
    padding: 10px 12px;
    font-size: 11px;
  }

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

  .outdoor-details,
  .outdoor-types {
    grid-template-columns: 1fr !important;
  }

  .outdoor-pricing {
    grid-template-columns: 1fr !important;
  }

  .outdoor-pricing > div {
    border-right: none !important;
    border-bottom: 1px solid var(--line);
  }

  .outdoor-pricing > div:last-child {
    border-bottom: none;
  }
}
