/* ============================================
   CrossBridge Community Church — Shared Styles
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #1a5276;
  --primary-dark: #0e3a56;
  --primary-light: #2980b9;
  --secondary: #4a69bd;
  --accent: #e74c3c;
  --teal: #1b7a7d;
  --dark: #1a1a2e;
  --light: #f8f9fa;
  --gray: #6c757d;
  --white: #ffffff;
  --gold: #f1c40f;
}
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; color: #333; line-height: 1.6; overflow-x: hidden; }
/* Jump-link targets land below the fixed navbar */
section[id], .cb-section[id], [id].section { scroll-margin-top: 90px; }

/* NAVIGATION */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26, 82, 118, 0.95); backdrop-filter: blur(10px);
  padding: 0 2rem; transition: all 0.3s ease;
}
.navbar.scrolled { background: rgba(14, 58, 86, 0.98); box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.nav-container { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 80px; }
.nav-logo img { height: 55px; }
.nav-links { display: flex; list-style: none; gap: 0.3rem; align-items: center; }
.nav-links a {
  color: white; text-decoration: none; font-size: 0.82rem; font-weight: 500;
  padding: 0.5rem 0.7rem; border-radius: 4px; transition: all 0.3s;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.nav-links a:hover { background: rgba(255,255,255,0.15); }
.nav-links .btn-give { background: var(--accent); padding: 0.5rem 1.2rem; border-radius: 25px; font-weight: 600; }
.nav-links .btn-give:hover { background: #c0392b; }
.nav-links .active-link { background: rgba(255,255,255,0.15); }
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.hamburger span { width: 28px; height: 3px; background: white; border-radius: 3px; transition: 0.3s; }

/* PAGE HERO (subpages) */
.page-hero {
  padding: 10rem 2rem 5rem; text-align: center; color: white; position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 50%, var(--teal) 100%);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('https://res.cloudinary.com/d7ulwne5/image/fetch/f_auto,q_auto,w_1600,c_limit/https://crossbridgecommunitychurch.com/wp-content/uploads/2023/08/CBCC-Home-page-1.png') center/cover;
  opacity: 0.1;
}
.page-hero * { position: relative; }
.page-hero > :not(.hero-bg-img):not(.hero-video):not(.hero-overlay) { z-index: 2; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: 3rem; margin-bottom: 1rem; }
.page-hero p { font-size: 1.15rem; opacity: 0.9; max-width: 700px; margin: 0 auto; }

/* JUMP-LINK PILLS (anchor navigation) — auto-generated, so flexbox + gap give
   even spacing horizontally and between wrapped rows */
.jump-pills { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.9rem; max-width: 900px; margin: 0 auto; padding: 0 1rem; }
.jump-pills p { margin: 0; }
[data-section-type="jump-pills"] { padding-top: 2rem; padding-bottom: 1rem; }
[data-section-type="jump-pills"] + section,
[data-section-type="jump-pills"] + .section { padding-top: 1.5rem; }

/* FORM THANK-YOU (after submit) */
.form-thankyou { text-align: center; padding: 2rem 1rem; }
.form-thankyou h3 { font-family: 'Playfair Display', serif; color: var(--primary-dark); font-size: 1.6rem; margin-bottom: 0.5rem; }
.form-thankyou p { color: var(--gray); }

/* IMAGE CAPTIONS (text overlaid on an image) */
.img-frame-rel { position: relative; }
.img-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 1.25rem 1.5rem; color: #fff; line-height: 1.3;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
}
.img-caption.text-dark { color: #1a1a2e; text-shadow: none; background: linear-gradient(to top, rgba(255,255,255,0.85), rgba(255,255,255,0)); }
.img-caption.align-left { text-align: left; }
.img-caption.align-center { text-align: center; }
.img-caption.size-sm { font-size: 1rem; font-weight: 600; }
.img-caption.size-md { font-size: 1.4rem; font-weight: 700; font-family: 'Playfair Display', serif; }
.img-caption.size-lg { font-size: 2.1rem; font-weight: 700; font-family: 'Playfair Display', serif; }

/* AUTO LATEST-SERMON (Vimeo) embed */
.sermon-embed { position: relative; padding-bottom: 56.25%; height: 0; max-width: 800px; margin: 0 auto 1.5rem; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.sermon-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sermon-auto-info { text-align: center; }
.sermon-auto-info .sermon-title { font-family: 'Playfair Display', serif; color: var(--primary-dark); margin-bottom: 0.25rem; }
.sermon-auto-info .sermon-meta { color: var(--gray); font-size: 0.9rem; margin-bottom: 1rem; }
.jump-pills a {
  padding: 0.6rem 1.4rem; border-radius: 999px;
  background: #fff; color: var(--primary-dark); border: 2px solid var(--primary-light);
  font-weight: 600; font-size: 0.92rem; text-decoration: none; transition: all 0.2s; white-space: nowrap;
}
.jump-pills a:hover, .jump-pills a:focus { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-1px); }
.jump-pills a.active-link { background: var(--teal); color: #fff; border-color: var(--teal); }

/* FULL-SCREEN HERO (homepage) */
.hero {
  height: 100vh; min-height: 600px; position: relative; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 50%, var(--teal) 100%);
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(14, 58, 86, 0.55);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; text-align: center; color: white; padding: 2rem; max-width: 900px; }
.hero-content h1 { font-family: 'Playfair Display', serif; font-size: 3.5rem; font-weight: 700; margin-bottom: 1.5rem; line-height: 1.2; }
.hero-content p { font-size: 1.25rem; font-weight: 300; opacity: 0.9; margin-bottom: 2.5rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* BUTTONS */
.btn { display: inline-block; padding: 0.9rem 2.2rem; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: all 0.3s; cursor: pointer; border: none; text-transform: uppercase; letter-spacing: 1px; }
.btn-primary { background: white; color: var(--primary-dark); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: white; }
.btn-teal { background: var(--teal); color: white; }
.btn-teal:hover { background: #15645f; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: #c0392b; transform: translateY(-2px); }
.btn-dark { background: var(--primary-dark); color: white; }
.btn-dark:hover { background: var(--primary); transform: translateY(-2px); }
.btn-sm { padding: 0.6rem 1.5rem; font-size: 0.85rem; }

/* SERVICE TIMES BAR */
.service-bar { background: var(--dark); color: white; text-align: center; padding: 1rem 2rem; font-size: 0.95rem; letter-spacing: 1px; }
.service-bar strong { color: var(--gold); }

/* Inline links inside dark bars/sections render light (not browser-default
   blue), so a Google-Maps/address link in the black bar stays readable.
   Excludes .btn so styled buttons keep their own colors. */
.service-bar a:not(.btn), .section-dark a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.service-bar a:not(.btn):hover, .section-dark a:not(.btn):hover { color: var(--gold); }

/* SECTION STYLES */
.section { padding: 6rem 2rem; }
.section-alt { background: var(--light); }
.section-dark { background: linear-gradient(135deg, var(--primary-dark), var(--teal)); color: white; position: relative; overflow: hidden; }
.section-dark::before { content: ''; position: absolute; inset: 0; background: url('https://res.cloudinary.com/d7ulwne5/image/fetch/f_auto,q_auto,w_1600,c_limit/https://crossbridgecommunitychurch.com/wp-content/uploads/2023/08/3.png') center/cover; opacity: 0.1; }
.section-dark > * { position: relative; }
.section-center { text-align: center; }
.container { max-width: 1200px; margin: 0 auto; }
.container-sm { max-width: 900px; margin: 0 auto; }
.container-lg { max-width: 1400px; margin: 0 auto; }
.section-subtitle { color: var(--teal); font-weight: 600; text-transform: uppercase; letter-spacing: 3px; font-size: 0.85rem; margin-bottom: 0.5rem; }
.section-dark .section-subtitle { color: var(--gold); }
.section-title { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--primary-dark); margin-bottom: 1.5rem; }
.section-dark .section-title { color: white; }
.section-text { color: var(--gray); max-width: 800px; margin: 0 auto 3rem; font-size: 1.1rem; line-height: 1.8; }
.section-dark .section-text { color: rgba(255,255,255,0.85); }

/* CARDS */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.card {
  background: white; border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.3s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.card-img { height: 200px; position: relative; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-icon-badge {
  position: absolute; bottom: -25px; right: 20px; width: 50px; height: 50px;
  background: var(--teal); border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: white; font-size: 1.3rem; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.card-body { padding: 2rem 1.5rem 1.5rem; }
.card-body h3 { font-size: 1.3rem; color: var(--primary-dark); margin-bottom: 0.75rem; }
.card-body p { color: var(--gray); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem; }
.card-link { color: var(--teal); font-weight: 600; text-decoration: none; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.3rem; }
.card-link:hover { gap: 0.6rem; }

/* GLASS CARD (for dark sections) */
.card-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.glass-card {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 16px;
  padding: 2rem 1.5rem; text-align: center; transition: all 0.3s;
  /* equal-height cards (grid) with content centered so varying text stays balanced */
  display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.glass-card > * { max-width: 100%; }
.glass-card .icon:empty { display: none; }
.glass-card:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); }
.glass-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }
.glass-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; color: white; }
.glass-card p { font-size: 0.9rem; opacity: 0.8; line-height: 1.6; color: white; }

/* IMAGE OVERLAY CARD */
.overlay-card { position: relative; border-radius: 16px; overflow: hidden; height: 280px; cursor: pointer; transition: transform 0.3s; }
.overlay-card:hover { transform: translateY(-5px); }
.overlay-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.overlay-card:hover img { transform: scale(1.08); }
.overlay-card .card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); display: flex; align-items: flex-end; padding: 1.5rem; }
.overlay-card h3 { color: white; font-size: 1.2rem; font-weight: 600; }

/* FEATURE SPLIT (two-col layout) */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin: 3rem auto; max-width: 1100px; }
.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }
.feature-img { border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.feature-img img { width: 100%; display: block; }
.feature-text h3 { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--primary-dark); margin-bottom: 0.75rem; }
.feature-text p { color: #555; line-height: 1.8; margin-bottom: 1.5rem; }
.feature-text ul { list-style: none; margin-bottom: 1.5rem; padding-left: 0; }
.feature-text ul li { padding: 0.4rem 0 0.4rem 1.6rem; position: relative; color: #555; font-size: 0.95rem; }
.feature-text ul li::before { content: '✓'; position: absolute; left: 0; top: 0.4rem; color: var(--teal); font-weight: 700; }
.feature-text ol { margin-bottom: 1.5rem; padding-left: 1.6rem; }
.feature-text ol li { padding: 0.4rem 0; padding-left: 0.4rem; color: #555; font-size: 0.95rem; }
.feature-text ol li::marker { color: var(--teal); font-weight: 700; }

/* SERMON */
.sermon-series-badge { display: inline-block; background: var(--teal); color: white; padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.75rem; font-weight: 600; margin-bottom: 1rem; }
.sermon-meta { color: var(--gray); font-size: 0.9rem; margin-bottom: 1rem; }

/* CONTACT GRID */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 1100px; margin: 3rem auto 0; }
.contact-info-card { background: white; border-radius: 16px; padding: 3rem; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.contact-item { display: flex; gap: 1rem; margin-bottom: 2rem; align-items: flex-start; }
.contact-icon {
  width: 50px; height: 50px; background: linear-gradient(135deg, var(--primary), var(--teal));
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.2rem; flex-shrink: 0;
}
.contact-item h4 { color: var(--primary-dark); margin-bottom: 0.3rem; }
.contact-item p { color: var(--gray); font-size: 0.95rem; }
.contact-map { border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.1); min-height: 400px; }
.contact-map iframe { width: 100%; height: 100%; border: 0; min-height: 400px; }

/* Embedded video iframes (Vimeo, YouTube) — responsive */
.video-placeholder { width: 100%; }
.video-placeholder iframe {
  width: 100% !important;
  max-width: 100%;
  aspect-ratio: 800 / 659;
  height: auto !important;
  border: 0;
  display: block;
}
.social-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-link {
  width: 45px; height: 45px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  display: flex; align-items: center; justify-content: center;
  color: white; text-decoration: none; font-size: 1.1rem; transition: all 0.3s;
}
.social-link:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.social-link svg { display: block; }

/* FORMS */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; color: var(--primary-dark); margin-bottom: 0.5rem; font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.85rem 1rem; border: 2px solid #e0e0e0; border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.95rem; transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--teal);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-card { background: white; border-radius: 16px; padding: 2.5rem; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.form-card h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--primary-dark); margin-bottom: 0.5rem; }
.form-card > p { color: var(--gray); margin-bottom: 2rem; font-size: 0.95rem; }

/* PATHWAY / STEPS */
.pathway { display: flex; gap: 0; max-width: 1000px; margin: 3rem auto; position: relative; }
.pathway::before {
  content: ''; position: absolute; top: 40px; left: 60px; right: 60px;
  height: 3px; background: linear-gradient(to right, var(--primary), var(--teal));
}
.pathway-step { flex: 1; text-align: center; position: relative; }
.pathway-step .step-num {
  width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--teal));
  color: white; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700; margin: 0 auto 1rem; position: relative; z-index: 1;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.pathway-step h4 { color: var(--primary-dark); margin-bottom: 0.5rem; font-size: 1rem; }
.pathway-step p { color: var(--gray); font-size: 0.85rem; padding: 0 0.5rem; line-height: 1.5; }

/* INFO BLOCKS */
.info-block { margin-bottom: 3rem; }
.info-block h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--primary-dark); margin-bottom: 0.75rem; }
.info-block p { color: #555; line-height: 1.8; margin-bottom: 1rem; }
.info-block ul { margin-bottom: 1rem; padding-left: 0; list-style: none; }
.info-block ul li { padding: 0.3rem 0 0.3rem 1.4rem; position: relative; color: #555; }
.info-block ul li::before { content: '•'; position: absolute; left: 0; top: 0.3rem; color: var(--teal); font-weight: 700; }

/* TEAM GRID */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-top: 3rem; }
.team-member { text-align: center; }
.team-member .avatar {
  width: 140px; height: 140px; border-radius: 50%; margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: white; overflow: hidden;
}
.team-member .avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-member h4 { color: var(--primary-dark); margin-bottom: 0.25rem; }
.team-member p { color: var(--gray); font-size: 0.85rem; }
.team-grid .staff-placeholder {
  grid-column: 1 / -1; color: var(--gray); font-size: 0.9rem;
  background: #f3f6f6; border: 1px dashed #cfdede; border-radius: 12px; padding: 1rem 1.25rem;
}

/* Upcoming events (Planning Center) */
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; text-align: left; }
.event-card { display: flex; gap: 1rem; background: #fff; border: 1px solid #e7edec; border-radius: 14px; padding: 1.1rem 1.25rem; box-shadow: 0 4px 14px rgba(0,0,0,0.04); }
.event-card .ev-date {
  flex: 0 0 60px; height: 66px; border-radius: 10px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--teal));
}
.event-card .ev-mon { font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; }
.event-card .ev-day { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.event-card .ev-body { flex: 1; min-width: 0; }
.event-card .ev-body h4 { color: var(--primary-dark); margin: 0 0 0.25rem; font-size: 1.05rem; }
.event-card .ev-when { color: var(--gray); font-size: 0.85rem; margin: 0 0 0.15rem; }
.event-card .ev-loc { color: var(--gray); font-size: 0.82rem; margin: 0 0 0.6rem; }
.event-card .btn-sm { margin-top: 0.35rem; }
.events-empty {
  grid-column: 1 / -1; text-align: center; color: var(--gray);
  background: #f3f6f6; border: 1px dashed #cfdede; border-radius: 14px; padding: 2rem 1.5rem;
}
.events-empty p { margin: 0 0 1rem; }

/* Registration (sign-up) cards */
.reg-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e7edec; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,0.04); }
.reg-card .reg-img { aspect-ratio: 16/9; background: #eef3f3; overflow: hidden; }
.reg-card .reg-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reg-card .reg-body { padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; }
.reg-card .reg-body h4 { color: var(--primary-dark); margin: 0; font-size: 1.05rem; }
.reg-card .reg-desc { color: #555; font-size: 0.85rem; margin: 0; line-height: 1.5; }
.reg-card .reg-closes { color: var(--gray); font-size: 0.78rem; margin: 0; }
.reg-card .btn-sm { align-self: flex-start; margin-top: 0.4rem; }

/* CTA BAND */
.cta-band { background: linear-gradient(135deg, var(--primary), var(--secondary)); padding: 5rem 2rem; text-align: center; color: white; position: relative; }
/* When a background image is set on a gradient section (via the editor), hide the
   faint dark-section texture so the chosen photo reads cleanly. */
.section-dark.has-bg-img::before { display: none; }
.cta-band h2 { font-family: 'Playfair Display', serif; font-size: 2.5rem; margin-bottom: 1rem; }
.cta-band p { opacity: 0.9; max-width: 600px; margin: 0 auto 2rem; font-size: 1.05rem; }

/* FOOTER */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 4rem 2rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 3rem; max-width: 1200px; margin: 0 auto; }
.footer-brand img { height: 50px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75); transition: 0.3s; }
.footer-social a:hover { background: rgba(255,255,255,0.16); color: #fff; transform: translateY(-2px); }
.footer-social svg { display: block; }
.footer h4, .footer h3, .footer .footer-col-h { color: white; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; font-weight: 700; }

/* Vimeo click-to-play facade (loads the player only on click) */
.vimeo-facade { position: relative; width: 100%; max-width: 800px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,0.15); background: linear-gradient(135deg, var(--primary-dark), var(--teal)); }
.vimeo-facade-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.vimeo-facade::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.22); z-index: 1; transition: background 0.2s; }
.vimeo-facade:hover::after { background: rgba(0,0,0,0.08); }
.vimeo-facade iframe { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; aspect-ratio: auto !important; border: 0; z-index: 3; }
.vimeo-facade-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,0.92); transition: transform 0.2s, background 0.2s; z-index: 2; }
.vimeo-facade:hover .vimeo-facade-play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.vimeo-facade-play::before { content: ''; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent var(--primary-dark); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.footer ul a:hover { color: white; padding-left: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 3rem; padding-top: 1.5rem; text-align: center; font-size: 0.85rem; max-width: 1200px; margin-left: auto; margin-right: auto; }

/* RESPONSIVE */
@media (max-width: 968px) {
  .feature-split { grid-template-columns: 1fr; gap: 2rem; }
  .feature-split.reverse { direction: ltr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .pathway { flex-direction: column; gap: 1.5rem; }
  .pathway::before { display: none; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none; position: fixed; top: 80px; left: 0; right: 0;
    background: var(--primary-dark); flex-direction: column; padding: 2rem; gap: 0.5rem;
  }
  .nav-links.active { display: flex; }
  .hamburger { display: flex; }
  .hero-content h1 { font-size: 2.2rem; }
  .page-hero h1 { font-size: 2rem; }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 2rem; }
}
@media (max-width: 480px) {
  .card-grid-4 { grid-template-columns: 1fr; }
  .card-grid-5 { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
