/**
 * Direct Contact–style branding pattern
 * Applied with Little Giggles logo colors (blue #3040c0, red #f01018)
 */

/* Typography — Open Sans body, Montserrat headlines (like DC slider + Divi) */
body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-heading);
  font-weight: 700;
}

/* Top utility bar (DC red/navy strip with contact) */
.top-bar {
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 0.45rem 0;
  min-height: var(--topbar-h);
}

.top-bar a {
  color: rgba(255, 255, 255, 0.92);
}

.top-bar a:hover {
  color: var(--white);
}

.top-bar-accent {
  flex-shrink: 0;
  background: var(--red);
  padding: 0.2rem 0.65rem;
  border-radius: 3px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.top-bar-utilities {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem 1.15rem;
  margin-left: auto;
  min-width: 0;
}

.top-bar-social {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.top-bar-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 4px;
  color: var(--white);
  transition: background 0.2s ease, color 0.2s ease;
}

.top-bar-icon-btn:hover {
  background: var(--red);
  color: var(--white);
}

.top-bar-icon-btn svg {
  width: 14px;
  height: 14px;
  display: block;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.top-bar-item:hover {
  color: var(--white);
}

.top-bar-item-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--white);
}

.top-bar-item-icon svg {
  width: 17px;
  height: 17px;
  display: block;
}

.top-bar-item-icon--house svg {
  width: 16px;
  height: 16px;
}

.top-bar-item-icon--headset svg {
  width: 18px;
  height: 18px;
}

.top-bar-item-text {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-bar-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  padding-left: 0.35rem;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.top-bar-quick a {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.top-bar-quick a:hover {
  color: var(--white);
}

/* Header — white bar, logo, bold uppercase nav (DC pattern) */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}

.header-inner {
  min-height: var(--header-h);
  height: auto;
}

.site-header {
  overflow: visible;
}

.brand--image-only .brand-logo {
  height: 54px;
  max-width: min(210px, 30vw);
}

.header-cta-desktop.btn {
  border-radius: 999px;
  padding: 0.48rem 1.2rem;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  box-shadow: 0 2px 10px rgba(251, 32, 86, 0.28);
}

.nav-desktop a {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-heading);
  border-radius: 0;
  padding: 0.5rem 0.75rem;
}

.nav-desktop a:hover {
  background: transparent;
  color: var(--red);
  opacity: 0.85;
}

.nav-desktop a.active {
  background: transparent;
  color: var(--red);
}

/* Pill buttons (DC + old Little Giggles rounded CTAs) */
.btn {
  border-radius: 30px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 700;
  padding: 0.65rem 1.35rem;
}

.btn:not(.header-cta-desktop) {
  padding: 0.65rem 1.35rem;
}

.btn-primary {
  box-shadow: 0 2px 8px rgba(251, 32, 86, 0.35);
}

.btn-navy {
  box-shadow: 0 2px 8px rgba(0, 0, 139, 0.25);
}

.btn-outline-light {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}

.btn-outline-light:hover {
  background: var(--gray-100);
  color: var(--red-dark);
}

/* Hero — Montserrat titles, balanced overlay */
.hero-text-track h1 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero-text-track .hero-lead {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.hero-school-name {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 0.5rem;
}

.hero-eyebrow {
  color: var(--white);
  background: var(--red);
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 3px;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.hero-overlay {
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 139, 0.22) 0%,
      rgba(0, 0, 102, 0.12) 40%,
      transparent 65%
    ),
    linear-gradient(
      to top,
      rgba(0, 0, 70, 0.78) 0%,
      rgba(0, 0, 139, 0.5) 38%,
      transparent 72%
    );
}

.hero--video .hero-eyebrow {
  margin: 0 auto 0.75rem;
}

/* Brand strip under hero */
.tagline-bar {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 0.85rem 1rem;
  border-bottom: 4px solid var(--navy);
}

.tagline-bar em {
  color: var(--white);
  font-style: normal;
  opacity: 0.95;
}

/* Section rhythm — white / light gray alternation (DC) */
section {
  padding: 54px 0;
}

.section-muted {
  background: var(--cream);
}

.section-white {
  background: var(--white);
}

.section-title h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-heading);
  position: relative;
  padding-bottom: 0.75rem;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--red);
  margin: 0.65rem auto 0;
  border-radius: 2px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Feature cards — icon on brand color, white cards on gray bg */
.section-muted .feature-card {
  border-top: 4px solid var(--navy);
}

.feature-icon {
  background: var(--navy);
  color: var(--white);
  font-size: 1.5rem;
}

.feature-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 139, 0.15);
}

.stat-card {
  background: var(--white);
  border-left: none;
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow);
}

.stat-card strong {
  font-family: var(--font-display);
  color: var(--red);
  text-transform: uppercase;
  font-size: 0.95rem;
}

/* Program & news cards */
.program-card,
.news-card {
  border: 1px solid var(--gray-200);
}

.news-card time {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
}

/* Page hero inner pages */
.page-hero {
  border-bottom: 4px solid var(--red);
}

.page-hero:not(.page-hero--photo) {
  background: var(--navy);
}

.page-hero h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Footer — darker than logo blue, red accents */
.site-footer {
  background: linear-gradient(165deg, var(--footer-blue-deep) 0%, var(--footer-blue) 55%, #080c2a 100%);
  color: rgba(255, 255, 255, 0.9);
  border-top: 4px solid var(--red);
  padding: 3rem 0 0;
}

.site-footer .brand-logo {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.site-footer > .container > p,
.site-footer .footer-grid + .container p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer h4 {
  color: var(--white);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.1em;
  margin: 0 0 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--red);
}

.site-footer li {
  color: rgba(255, 255, 255, 0.82);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.28);
  border-top: 1px solid rgba(240, 16, 24, 0.35);
  margin-top: 2.5rem;
  padding: 1.15rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1.5rem;
  text-align: left;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-copy {
  margin: 0;
}

.footer-credit {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.65);
}

.footer-credit a {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}

.footer-credit a:hover {
  color: var(--white);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}

/* Facebook block — keep branded, not generic FB-only blue */
.facebook-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 50%, var(--red-dark) 100%);
}

/* Form section */
.form-section {
  background: var(--navy);
  border-top: 4px solid var(--red);
}

/* Route chips */
.route-chip {
  background: var(--navy);
}

.route-chip:hover {
  background: var(--red);
}

/* Mobile nav */
.nav-toggle span {
  background: var(--red);
}

@media (max-width: 992px) {
  .top-bar-item-text {
    max-width: 160px;
  }

  .top-bar-quick {
    display: none;
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
  }

  .top-bar-utilities {
    justify-content: center;
    margin-left: 0;
    width: 100%;
  }

  .top-bar-item--address .top-bar-item-text {
    display: none;
  }
}

@media (max-width: 480px) {
  .top-bar-item:not(.top-bar-item--phone) .top-bar-item-text {
    display: none;
  }
}
