/* ============================================================
   MomCo South — local recreation of momcosouth.com (Wix)
   Palette from the Wix theme: peach/terracotta accents
   Headings: IvyMode on Wix (licensed) -> Fraunces as free stand-in
   Body: Montserrat
   ============================================================ */

:root {
  --white: #ffffff;
  --off-white: #f7f7f7;
  --coral: #f16846;         /* sampled from brand hero artwork */
  --peach-light: #f9c5b4;   /* color_21 */
  --peach: #f3a78f;         /* color_22 */
  --terracotta: #9e3b1b;    /* color_24 */
  --brown-dark: #4f1d0e;    /* color_25 */
  --ink: #000000;
  --gray: #404040;
  --max-w: 1140px;
  --font-head: "Fraunces", "Libre Baskerville", Georgia, serif;
  --font-body: "Montserrat", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

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

h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.2; }

a { color: var(--terracotta); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-block;
  padding: 13px 30px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: .3px;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.btn:hover { background: var(--ink); color: var(--white); }
.btn.btn-dark { background: var(--ink); color: var(--white); }
.btn.btn-dark:hover { background: var(--coral); border-color: var(--coral); }

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 6px rgba(0,0,0,.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
}
.site-header .logo img { height: 88px; width: auto; }

.main-nav > ul { display: flex; gap: 34px; list-style: none; }
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 18px;
  letter-spacing: .5px;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active { color: var(--terracotta); border-bottom-color: var(--terracotta); }

/* Dropdown ("More") */
.main-nav .has-dropdown { position: relative; }
.main-nav .dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 170px;
  background: var(--white);
  list-style: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: 8px 0;
  display: none;
  z-index: 200;
}
.main-nav .has-dropdown:hover .dropdown,
.main-nav .has-dropdown:focus-within .dropdown { display: block; }
.main-nav .dropdown li { display: block; }
.main-nav .dropdown a { display: block; padding: 10px 22px; border-bottom: none; }
.main-nav .dropdown a:hover { background: var(--off-white); border-bottom: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--ink);
}

/* ---------------- Hero (home) ---------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: url("../images/momco-group-cover.jpg") center/cover no-repeat;
}
.hero .hero-card {
  background: var(--white);
  color: var(--ink);
  text-align: center;
  max-width: 545px;
  margin: 60px 24px 60px 4%;
  padding: 50px 55px 60px;
  box-shadow: 0 10px 40px rgba(0,0,0,.12);
}
.hero .hero-logo { width: 305px; max-width: 100%; margin: 0 auto 40px; }
.hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  font-weight: 600;
  margin-bottom: 34px;
}
.hero p { font-size: 1.05rem; margin-bottom: 44px; text-align: left; }
.hero .hero-cta { display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; }

/* ---------------- Sections ---------------- */
.section { padding: 90px 0; }
.section.alt { background: var(--off-white); }
.section.peach { background: var(--peach-light); }
.section.coral { background: var(--coral); color: var(--white); }
.section.coral h2 { color: var(--white); }

.section-label {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .85rem;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.section h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 24px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col .col-img img { border-radius: 8px; box-shadow: 0 12px 40px rgba(0,0,0,.15); }
.lead {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.25;
  margin-bottom: 24px;
  color: var(--ink);
}
.section p + p { margin-top: 16px; }

/* ---------------- Split section (What is MomCo South?) ---------------- */
.split-section { display: grid; grid-template-columns: 1fr 1fr; }
.split-panel-black {
  background: #000;
  color: var(--white);
  padding: 110px 60px;
  min-height: 620px;
}
.split-panel-black h2 {
  color: var(--white);
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 500;
  line-height: 1.15;
}
.split-panel-black .dash { width: 28px; height: 2px; background: var(--white); margin-top: 48px; }
.split-content { padding: 110px 9% 110px 60px; }
.split-content p:not(.lead) { max-width: 46ch; }

@media (max-width: 860px) {
  .split-section { grid-template-columns: 1fr; }
  .split-panel-black { min-height: unset; padding: 70px 32px; }
  .split-content { padding: 60px 32px; }
}

.cta-banner { text-align: left; padding: 100px 0 120px; }
.cta-banner h2 {
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: 1px;
  margin-bottom: 0;
}

/* ---------------- Page hero (interior pages) ---------------- */
.page-hero {
  background: var(--peach-light);
  text-align: center;
  padding: 90px 24px 70px;
}
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); color: var(--brown-dark); margin-bottom: 20px; }
.page-hero p { max-width: 820px; margin: 0 auto 14px; }
.page-hero.has-bg { position: relative; color: var(--white); background: var(--brown-dark) center/cover no-repeat; }
.page-hero.has-bg::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.page-hero.has-bg > * { position: relative; }
.page-hero.has-bg h1 { color: var(--white); }

/* ---------------- About intro (gradient + carousel) ---------------- */
.intro-gradient {
  background: linear-gradient(100deg, #f5d84e 0%, #f5e17a 22%, #e8ebd0 55%, #d7ede4 100%);
  padding: 54px 0;
}
.intro-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.intro-text h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 600; margin-bottom: 24px; }
.intro-text p { max-width: 56ch; }
.intro-text p + p { margin-top: 16px; }

.carousel { display: flex; align-items: center; gap: 8px; }
.carousel-arrow {
  background: none;
  border: none;
  font-size: 2.6rem;
  line-height: 1;
  color: #888;
  cursor: pointer;
  padding: 0 6px;
  transition: color .2s ease;
}
.carousel-arrow:hover { color: var(--ink); }
.carousel-track { flex: 1; display: flex; justify-content: center; gap: 26px; overflow: hidden; }
.carousel-slide { display: none; flex: 0 0 auto; }
.carousel-slide.visible { display: block; }
.carousel-slide img {
  width: 300px; height: 300px;
  max-width: 38vw;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
}

/* ---------------- Expect (about) ---------------- */
.big-serif { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 300; line-height: 1.05; }
.expect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.expect-col .big-serif { margin-bottom: 34px; }
.expect-list { display: flex; flex-direction: column; gap: 22px; }
.expect-item h3 { font-size: 1.2rem; margin-bottom: 6px; }
.expect-item p { color: var(--gray); max-width: 46ch; }
.expect-collage { width: 100%; border-radius: 6px; }

@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; }
  .expect-grid { grid-template-columns: 1fr; gap: 34px; }
  .carousel-slide img { width: 300px; height: 300px; max-width: 80vw; }
}

/* ---------------- KidsCo ---------------- */
.kidsco-logo { width: 200px; margin-bottom: 24px; }
.kidsco-yellow { background: #f5c81d; text-align: center; padding: 70px 0 80px; }
.kidsco-yellow .kidsco-logo-big { width: min(520px, 78%); margin: 0 auto 36px; }
.kidsco-yellow .kidsco-copy { max-width: 860px; margin: 0 auto; }
.kidsco-yellow .kidsco-copy p + p { margin-top: 20px; }
.kidsco-graphics { background: #f7f1d5; padding: 70px 0; }
.kidsco-graphics .graphics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.kidsco-graphics .graphics-row img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .kidsco-graphics .graphics-row { grid-template-columns: 1fr; }
}

/* ---------------- Theme section ---------------- */
.theme-section { background: var(--white); color: var(--ink); }
.theme-label {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  margin-bottom: 10px;
}
.theme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.theme-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.theme-tiger { width: 78%; max-width: 420px; }
.theme-card {
  background: #282626;
  color: var(--white);
  border-radius: 14px;
  padding: 34px 38px;
}
.theme-card h3 { color: var(--white); font-weight: 500; font-size: 1.5rem; margin-bottom: 14px; }
.theme-card p { font-size: .98rem; line-height: 1.55; }
.theme-card p + p { margin-top: 14px; }
.theme-buttons { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 30px; }
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 34px;
  border-radius: 40px;
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: 1px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: filter .2s ease;
}
.btn-pill:hover { filter: brightness(1.08); }
.btn-pill.navy { background: #2e3d91; color: var(--white); }
.btn-pill.yellow { background: #d8d45c; color: #6a6a24; }
@media (max-width: 860px) {
  .theme-grid { grid-template-columns: 1fr; }
  .theme-tiger { margin: 0 auto; }
}

/* ---------------- About intro / graphics row ---------------- */
.page-hero.plain { background: var(--white); position: relative; }
.page-hero.plain .sticker { width: 170px; position: absolute; right: 6%; top: 40px; transform: rotate(8deg); }
.graphics-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; align-items: center; }
.graphics-row img { width: 100%; }

/* ---------------- Team ---------------- */
.team-band { background: #2e3d91; padding: 26px 0; margin-bottom: 40px; }
.team-band h2 { color: var(--white); text-align: center; margin: 0; font-size: clamp(1.9rem, 4vw, 3rem); }
.team-intro { text-align: center; margin-bottom: 50px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(470px, 1fr)); gap: 50px 40px; align-items: start; }
.team-member { display: flex; align-items: flex-start; gap: 30px; }
.team-photo {
  flex: 0 0 auto;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 3px solid #e3b23c;
  overflow: hidden;
  background: #e5e5e5;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-meta { padding-top: 40px; }
.team-meta .role {
  text-transform: none;
  letter-spacing: .3px;
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 4px;
}
.team-meta h3 { font-size: 1.6rem; margin: 0; }
.team-bio {
  max-width: 40ch;
  margin-top: 0;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--gray);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity .25s ease, max-height .35s ease, margin-top .25s ease;
}
.team-member:hover .team-bio,
.team-member:focus-within .team-bio { opacity: 1; max-height: 500px; margin-top: 14px; }
.team-bio p + p { margin-top: 8px; }
@media (max-width: 520px) {
  .team-member { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .team-photo { width: 240px; height: 240px; }
  .team-meta { padding-top: 0; }
  .team-bio { margin-left: auto; margin-right: auto; }
}

/* ---------------- Photo-background sections ---------------- */
.section.photo-bg { padding: 120px 0; }
.overlay-card {
  background: var(--white);
  max-width: 640px;
  margin: 0 auto;
  padding: 50px 44px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,.15);
}

/* ---------------- Events (calendar) ---------------- */
.event-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; max-width: 900px; margin: 0 auto; }
.event-card {
  background: var(--white);
  border-radius: 10px;
  padding: 34px 30px;
  box-shadow: 0 6px 24px rgba(0,0,0,.07);
  text-align: center;
}
.event-card .multi { font-size: .8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--gray); }
.event-card h3 { font-size: 1.5rem; margin: 10px 0 6px; }
.event-card .meta { color: var(--gray); margin-bottom: 22px; }

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #ddd; }
.faq-item button.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1.2rem;
  padding: 22px 44px 22px 4px;
  cursor: pointer;
  position: relative;
  color: var(--ink);
}
.faq-item button.faq-q::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--terracotta);
  transition: transform .2s ease;
}
.faq-item.open button.faq-q::after { content: "–"; }
.faq-item .faq-a { display: none; padding: 0 4px 24px; color: var(--gray); }
.faq-item.open .faq-a { display: block; }

/* ---------------- Contact ---------------- */
.contact-hero { text-align: center; }
.socials-row { display: flex; gap: 22px; justify-content: center; margin: 26px 0; }
.socials-row img { width: 44px; height: 44px; }

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 34px;
  align-items: center;
}
.sponsor-grid a { display: flex; align-items: center; justify-content: center; background: var(--white); border-radius: 10px; padding: 22px; min-height: 140px; box-shadow: 0 4px 18px rgba(0,0,0,.06); }
.sponsor-grid img { max-height: 110px; width: auto; max-width: 100%; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--white); color: var(--ink); padding: 70px 0 30px; border-top: 1px solid #eee; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--coral); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.footer-social { display: flex; gap: 16px; align-items: center; }
.footer-social img { width: 34px; height: 34px; }
.footer-social span { font-size: .9rem; }
.footer-bottom { text-align: right; margin-top: 50px; font-size: .85rem; color: var(--gray); }
.footer-bottom a { color: var(--gray); }
@media (max-width: 860px) { .footer-bottom { text-align: center; } }

/* ---------------- Responsive ---------------- */
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-social { justify-content: center; }

  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 104px;
    left: 0;
    right: 0;
    background: var(--white);
    display: none;
    box-shadow: 0 10px 20px rgba(0,0,0,.1);
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; gap: 0; padding: 10px 24px 20px; }
  .main-nav li { border-bottom: 1px solid #eee; }
  .main-nav a { display: block; padding: 14px 0; border-bottom: none; }
  /* On mobile, flatten the "More" dropdown into the list */
  .main-nav .has-dropdown .more-toggle { display: none; }
  .main-nav .dropdown { position: static; display: block; box-shadow: none; padding: 0; }
  .main-nav .dropdown a { padding: 14px 0; }
}
