/* =========================================================
   facilities.css  —  FINAL CLEAN VERSION
   ========================================================= */

/* ---------- PAGE VARIABLES ---------- */
:root {
  --fac-gold-text:   #8b6824;
  --fac-icon-circle: #eef1f6;
}

/* ---------- GLOBAL SECTION SPACING + BG ---------- */
section {
  padding: 90px 0;
  background-color: var(--bg-page);
}
.bg-alt {
  background-color: var(--bg-page);
}

/* Navbar is fully handled by style.css */

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: 70px 0 60px;
  background-color: var(--bg-page);
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--font-body);
  opacity: 0;
  animation: fadeUp 0.55s ease-out 0.1s forwards;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  min-height: 340px;
  gap: 0;
}
.hero-left {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-right: 40px;
}
.hero-left .section-title {
  opacity: 0;
  animation: fadeUp 0.65s ease-out 0.28s forwards;
}
.hero-spacer {
  grid-column: 2;
  grid-row: 1;
}

.hero-quote {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  border-left: 2px solid var(--accent-gold);
  padding-left: 22px;
  max-width: 320px;
  font-style: italic;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0 0 0 auto;
  opacity: 0;
  animation: fadeUp 0.55s ease-out 0.52s forwards;
}

/* ---------- HERO IMAGE BANNER ---------- */
.hero-banner {
  max-width: 1200px;
  margin: 50px auto 0;
  padding: 0 20px;
}
.hero-banner-inner {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  height: 540px;
  background: #cfd6dc;
}
.hero-banner-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 8s ease-in-out infinite alternate;
}
.hero-banner-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 36px 44px 40px;
  background: linear-gradient(180deg, rgba(10,31,63,0) 0%, rgba(10,31,63,.7) 70%, rgba(10,31,63,.9) 100%);
  color: var(--white);
  opacity: 0;
  animation: overlayRise 0.7s ease-out 0.6s forwards;
}
.hero-banner-overlay h3 {
  font-family: var(--font-heading);
  color: var(--white);
  font-weight: 700;
  font-size: 26px;
  margin-bottom: 8px;
}
.hero-banner-overlay p {
  font-size: 14.5px;
  max-width: 420px;
  line-height: 1.6;
  opacity: .92;
}

/* =========================================================
   COMMUNICATION SECTION
   ========================================================= */
.comm-content {
  display: flex;
  align-items: center;
  gap: 70px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.comm-text {
  flex: 1 1 380px;
  max-width: 460px;
}
.comm-sparkle {
  font-size: 20px;
  color: var(--accent-gold);
  margin-bottom: 6px;
}
.comm-feature {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.comm-feature .check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dff0e2;
  color: var(--green-text);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-top: 2px;
}
.comm-feature p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
}
.comm-feature p strong {
  color: var(--text-dark);
  font-weight: 600;
}
.comm-image {
  flex: 1 1 420px;
  max-width: 480px;
}
.comm-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 18px;
}

/* =========================================================
   EXPERIENTIAL / BENTO SECTION
   ========================================================= */
.section-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 56px;
}

.bento {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.bento-card {
  border-radius: 18px;
  overflow: hidden;
  background: #E4E4F0;
  border: 1px solid #eaeaf2;
}
.card-tall {
  display: flex;
  flex-direction: column;
}
.card-tall .img-wrap {
  height: 300px;
  overflow: hidden;
}
.card-tall .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-tall .card-body {
  padding: 28px 32px 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.card-tall .card-body h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.card-tall .card-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 380px;
}
.card-tall .card-icon {
  font-size: 22px;
  color: var(--fac-gold-text);
  flex-shrink: 0;
  margin-top: 6px;
}

.bento-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.split-card {
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
  min-height: 230px;
  border: 1px solid #eaeaf2;
}
.split-card .text-side {
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-card.light .text-side { background: #E4E4F0; }
.split-card.dark  .text-side { background: var(--primary-dark); color: var(--white); }
.split-card .text-side h3 {
  font-size: 19px;
  margin-bottom: 10px;
  line-height: 1.3;
}
.split-card.light .text-side h3 { color: var(--text-dark); }
.split-card.dark  .text-side h3 { color: var(--white); }
.split-card .text-side p {
  font-size: 13.5px;
  line-height: 1.6;
}
.split-card.light .text-side p { color: var(--text-muted); }
.split-card.dark  .text-side p { color: rgba(255,255,255,.78); }

.split-card .img-side {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E4E4F0 !important;   /* never white */
}
.split-card.dark .img-side { background: rgba(255,255,255,0.06) !important; }
.split-card .img-side img {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}

/* =========================================================
   SPORTS SECTION
   ========================================================= */
.sports-content {
  display: flex;
  align-items: center;
  gap: 70px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.sports-image {
  flex: 1 1 380px;
  max-width: 460px;
  order: 1;
}
.sports-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}
.sports-text {
  flex: 1 1 380px;
  max-width: 460px;
  order: 2;
}
.sports-feature {
  display: flex;
  gap: 18px;
  margin-bottom: 30px;
  align-items: flex-start;
}
.sports-feature .icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--fac-icon-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  color: var(--primary-dark);
}
.sports-feature h4 {
  font-size: 17px;
  margin-bottom: 6px;
}
.sports-feature p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 340px;
}

.tagline {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-family: var(--font-body);
}

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
  background: var(--primary-dark);
  border-radius: 24px;
  padding: 64px 40px 56px;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  margin-bottom: 18px;
  color: var(--white);
}
.cta-banner p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,.8);
  max-width: 460px;
  margin: 0 auto 32px;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes kenBurns {
  from { transform: scale(1);    transform-origin: center center; }
  to   { transform: scale(1.06); transform-origin: center center; }
}
@keyframes overlayRise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up[data-delay="1"] { transition-delay: 0.08s; }
.fade-up[data-delay="2"] { transition-delay: 0.18s; }
.fade-up[data-delay="3"] { transition-delay: 0.28s; }
.fade-up[data-delay="4"] { transition-delay: 0.38s; }

.bento-card,
.split-card {
  will-change: transform;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.bento-card:hover,
.split-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(10, 31, 63, 0.10);
}

.card-tall .img-wrap img,
.split-card .img-side img {
  transition: transform 0.55s ease;
}
.bento-card:hover .img-wrap img,
.split-card:hover .img-side img {
  transform: scale(1.04);
}

/* --- Reduced motion override --- */
@media (prefers-reduced-motion: reduce) {
  .eyebrow,
  .hero-left .section-title,
  .hero-quote,
  .hero-banner-overlay {
    opacity: 1 !important;
    animation: none !important;
  }
  .hero-banner-inner img {
    animation: none !important;
  }
  .fade-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .bento-card,
  .split-card,
  .card-tall .img-wrap img,
  .split-card .img-side img {
    transition: none !important;
    will-change: auto;
  }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* ---- Tablet landscape (≤ 980px) ---- */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: unset;
    gap: 32px;
  }
  .hero-left  { grid-column: 1; grid-row: 1; padding-right: 0; }
  .hero-spacer { display: none; }
  .hero-quote {
    grid-column: 1;
    grid-row: 2;
    margin-left: 0;
    max-width: 100%;
    border-left: none;
    border-top: 2px solid var(--accent-gold);
    padding-left: 0;
    padding-top: 16px;
  }
  .bento { grid-template-columns: 1fr; }
  .split-card { grid-template-columns: 1fr 1fr; }
}

/* ---- Tablet portrait (≤ 900px) ---- */
@media (max-width: 900px) {
  section { padding: 60px 0; }
  .hero   { padding: 40px 0 28px; }

  .hero-banner { margin-top: 36px; padding: 0 16px; }
  .hero-banner-inner { height: 300px; border-radius: 16px; }
  .hero-banner-overlay { padding: 24px 28px 28px; }
  .hero-banner-overlay h3 { font-size: 20px; }
  .hero-banner-overlay p  { font-size: 13px; max-width: 100%; }

  .comm-content { flex-direction: column; gap: 32px; }
  .comm-text  { max-width: 100%; flex-basis: auto; }
  .comm-image { max-width: 100%; flex-basis: auto; order: -1; }
  .comm-image img { height: 260px; }

  .sports-content { flex-direction: column; gap: 32px; }
  .sports-image { max-width: 100%; flex-basis: auto; order: 1; width: 100%; }
  .sports-image img { height: 280px; width: 100%; margin: 0; }
  .sports-text  { max-width: 100%; flex-basis: auto; order: 2; }

  .card-tall .card-body { flex-direction: column; }
  .card-tall .img-wrap  { height: 240px; }
  .split-card { grid-template-columns: 1fr 1fr; min-height: 200px; }

  .cta-banner { border-radius: 18px; padding: 46px 24px; }
  .cta-banner h2 { font-size: 28px; }
}

/* ---- Large mobile (≤ 640px) ---- */
@media (max-width: 640px) {
  section { padding: 48px 0; }
  .hero   { padding: 30px 0 20px; }

  /* Left-align all headings and text on mobile */
  .section-head,
  .section-head h2.section-title,
  .section-head .section-subtitle {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
  .eyebrow,
  .tagline { text-align: left; }

  .hero-left h1.section-title { font-size: 48px !important; letter-spacing: -1px !important; }

  .hero-banner { margin-top: 28px; padding: 0 12px; }
  .hero-banner-inner { height: 240px; border-radius: 14px; }
  .hero-banner-overlay { padding: 18px 20px 22px; }
  .hero-banner-overlay h3 { font-size: 17px; margin-bottom: 6px; }
  .hero-banner-overlay p  { font-size: 12.5px; }

  .comm-content { gap: 24px; }
  .comm-image img { height: 220px; border-radius: 14px; }
  .comm-text h2.section-title { font-size: 22px !important; }

  .section-head { margin-bottom: 36px; }
  .section-head h2.section-title { font-size: 22px !important; }

  /* Sports image — full width, no centering */
  .sports-image {
    width: 100%;
    max-width: 100%;
    flex-basis: auto;
    order: 1;
  }
  .sports-image img {
    height: 240px;
    border-radius: 14px;
    width: 100%;
    display: block;
    margin: 0;
  }

  /* Split cards stack vertically */
  .split-card {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  /* FIX: circular image left-aligned, bg matches card */
  .split-card .img-side {
    height: 200px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding-left: 20px;
    background: #E4E4F0 !important;  /* match card bg, no white */
  }
  .split-card.dark .img-side {
    background: #E4E4F0 !important;
    justify-content: flex-start;
    align-items: center;
    padding-left: 20px;
  }
  .split-card .img-side img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
  }

  .split-card .text-side { padding: 22px 20px; }
  .split-card .text-side h3 { font-size: 17px; }

  /* dark card: navy text block first, image below */
  .split-card.dark {
    display: flex;
    flex-direction: column;
  }

  .card-tall .img-wrap { height: 200px; }
  .card-tall .card-body { padding: 20px 20px 24px; }
  .card-tall .card-body h3 { font-size: 19px; }

  .sports-content { gap: 20px; }
  .sports-feature { gap: 14px; margin-bottom: 22px; }
  .sports-text h2.section-title { font-size: 22px !important; }

  .cta-banner { border-radius: 14px; padding: 36px 20px 32px; }
  .cta-banner h2 { font-size: 24px; }
  .cta-banner p  { font-size: 13.5px; }
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .cta-buttons .btn {
    text-align: center;
    padding: 11px 10px;
    font-size: 12.5px;
    flex: 1 1 0;
    min-width: 0;
    white-space: normal;
  }
}

/* ---- Small mobile (≤ 480px) ---- */
@media (max-width: 480px) {
  section { padding: 40px 0; }
  .hero   { padding: 24px 0 16px; }

  .hero-left h1.section-title { font-size: 38px !important; letter-spacing: -0.5px !important; }
  .hero-quote { font-size: 13.5px; }

  .hero-banner { margin-top: 22px; padding: 0 10px; }
  .hero-banner-inner { height: 200px; border-radius: 12px; }
  .hero-banner-overlay { padding: 14px 16px 18px; }
  .hero-banner-overlay h3 { font-size: 15px; }
  .hero-banner-overlay p  { display: none; }

  .comm-image img  { height: 190px; border-radius: 12px; }

  .sports-image img {
    height: 200px;
    border-radius: 12px;
    width: 100%;
    margin: 0;
  }

  .card-tall .img-wrap { height: 170px; }

  /* left-aligned circle, adjusted size */
  .split-card .img-side {
    height: 170px;
    padding-left: 16px;
    justify-content: flex-start;
    align-items: center;
  }
  .split-card.dark .img-side {
    justify-content: flex-start;
    align-items: center;
    padding-left: 16px;
  }
  .split-card .img-side img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
  }

  .section-head { margin-bottom: 28px; }
  .sports-feature .icon-circle { width: 38px; height: 38px; font-size: 15px; }
  .sports-feature h4 { font-size: 15px; }

  .cta-banner { padding: 30px 16px 28px; border-radius: 12px; }
  .cta-banner h2 { font-size: 21px; margin-bottom: 12px; }
  .cta-buttons { gap: 8px; }
  .cta-buttons .btn { padding: 10px 8px; font-size: 12px; }
}

/* ---- Extra small (≤ 380px) ---- */
@media (max-width: 380px) {
  section { padding: 32px 0; }
  .hero   { padding: 18px 0 12px; }

  .eyebrow { font-size: 10px; letter-spacing: 1.5px; margin-bottom: 10px; }
  .hero-left h1.section-title { font-size: 30px !important; letter-spacing: 0 !important; line-height: 1.2; }
  .hero-quote { font-size: 12.5px; line-height: 1.6; padding-top: 12px; }

  .hero-banner { margin-top: 16px; padding: 0 8px; }
  .hero-banner-inner { height: 170px; border-radius: 10px; }
  .hero-banner-overlay { padding: 10px 14px 14px; }
  .hero-banner-overlay h3 { font-size: 13px; margin-bottom: 4px; }

  .comm-content { gap: 18px; }
  .comm-image img { height: 170px; border-radius: 10px; }
  .comm-text h2.section-title { font-size: 19px !important; }
  .comm-feature p  { font-size: 13px; }
  .comm-feature    { gap: 10px; margin-bottom: 14px; }

  .section-head { margin-bottom: 22px; }
  .section-head h2.section-title  { font-size: 19px !important; }
  .section-head .section-subtitle { font-size: 13px !important; }

  .card-tall .img-wrap  { height: 150px; }
  .card-tall .card-body { padding: 16px 16px 20px; }
  .card-tall .card-body h3 { font-size: 16px; margin-bottom: 6px; }
  .card-tall .card-body p  { font-size: 12.5px; }

  .split-card .text-side { padding: 16px 14px; }
  .split-card .text-side h3 { font-size: 15px; margin-bottom: 6px; }
  .split-card .text-side p  { font-size: 12.5px; }

  /* left-aligned circle at 380px */
  .split-card .img-side {
    height: 140px;
    padding-left: 14px;
    justify-content: flex-start;
    align-items: center;
  }
  .split-card.dark .img-side {
    justify-content: flex-start;
    align-items: center;
    padding-left: 14px;
  }
  .split-card .img-side img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
  }

  .sports-content { gap: 16px; }
  .sports-image img {
    height: 180px;
    border-radius: 10px;
    width: 100%;
    margin: 0;
  }
  .sports-text h2.section-title { font-size: 19px !important; }
  .sports-feature { gap: 12px; margin-bottom: 18px; }
  .sports-feature .icon-circle { width: 34px; height: 34px; font-size: 14px; }
  .sports-feature h4 { font-size: 14px; margin-bottom: 4px; }
  .sports-feature p  { font-size: 12.5px; max-width: 100%; }

  .cta-banner { padding: 24px 14px 22px; border-radius: 10px; }
  .cta-banner h2 { font-size: 18px; margin-bottom: 10px; }
  .cta-banner p  { font-size: 12.5px; margin-bottom: 20px; }
  .cta-buttons { gap: 6px; }
  .cta-buttons .btn { padding: 9px 6px; font-size: 11px; }

  .bento-right { gap: 16px; }
  .bento       { gap: 16px; }
}