/* ═══════════════════════════════════════════════
   HOME PAGE — barcelonaentrepreneurs.com

   Type scale (body = 0.9rem, small = 0.8rem, xs = 0.72rem)
   Spacing rhythm: 8 · 16 · 24 · 32 · 48 · 64 · 80 · 100
   ═══════════════════════════════════════════════ */

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 140px 40px 80px;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  margin-bottom: 28px;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.hero-sub {
  font-size: clamp(1.15rem, 1.6vw, 1.3rem);
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 44px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-join-note {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.86rem;
  color: var(--muted);
}

.social-proof-divider {
  width: 1px;
  height: 14px;
  background: var(--border);
}

.social-proof-badge {
  font-weight: 600;
  color: var(--ink);
}

.hero-members-img {
  margin-top: 44px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--ink);
  padding: 72px 0;
  position: relative;
  z-index: 1;
}

.stats-grid {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;
  text-align: center;
}

.stat-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(var(--white-rgb), 0.1);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.stat-num em {
  color: var(--red-light);
  font-style: normal;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(var(--cream-rgb), 0.5);
  margin-top: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ── MEMBERS / REVIEWS ── */
.members-section {
  padding: 100px 0 72px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.members-inner {
  text-align: center;
  padding: 0 40px;
  margin-bottom: 56px;
}

.members-inner h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 14px;
}

.score-line {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 10px;
}

.score-line strong { color: var(--ink); }

.platform-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 28px 0 0;
}

.platform-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* Review cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto 48px;
  padding: 0 80px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  position: relative;
}

.review-card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
}

.review-card-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.review-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cream-alt);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red);
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.review-role {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2px;
}

.review-stars {
  color: #E8A838;
  font-size: 0.92rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.review-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}

.review-text {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.75;
}

/* ── SCROLLING REVIEW CHIPS ── */
.scroll-section { margin-top: 32px; }

.scroll-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.scroll-track {
  display: flex;
  gap: 12px;
  animation: scrollLeft 40s linear infinite;
}

.scroll-track-rev {
  display: flex;
  gap: 12px;
  animation: scrollRight 45s linear infinite;
}

.scroll-row:hover .scroll-track,
.scroll-row:hover .scroll-track-rev {
  animation-play-state: paused;
}

@keyframes scrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.member-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 7px 14px 7px 7px;
  white-space: nowrap;
  flex-shrink: 0;
}

.chip-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cream-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--red);
  overflow: hidden;
  flex-shrink: 0;
}

.chip-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}

.chip-stars {
  font-size: 0.62rem;
  color: #E8A838;
  letter-spacing: 0.5px;
}

.chip-time {
  font-size: 0.64rem;
  color: rgba(var(--muted-rgb), 0.55);
  margin-left: 3px;
}

/* Reviews CTA */
.reviews-cta {
  text-align: center;
  margin-top: 40px;
}

.reviews-cta a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--red);
  transition: opacity 0.2s;
}

.reviews-cta a:hover { opacity: 0.7; }

/* ── WEEKLY MEETUPS ── */
.meetups-section {
  background: var(--cream-alt);
  padding: 100px 80px;
  position: relative;
  z-index: 1;
}

.meetups-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.meetups-divider {
  width: 44px;
  height: 3px;
  background: var(--red);
  margin-bottom: 24px;
  border-radius: 2px;
}

.meetups-left h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 20px;
}

.meetups-left .section-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 420px;
}

/* Where Do We Meet panel */
.meetup-where {
  margin-top: 32px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.meetup-where h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.meetup-where p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

/* Meetup highlight panel */
.meetup-highlight {
  background: var(--ink);
  border-radius: 14px;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.highlight-motto {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 28px;
}

.meetup-highlight .meetup-list li {
  color: rgba(var(--cream-rgb), 0.6);
  font-size: 0.95rem;
}

.meetup-highlight .meetup-list li::before {
  color: var(--red-light);
}

.meetup-highlight .event-btn {
  margin-top: 4px;
}

.meetup-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.meetup-list li {
  font-size: 0.92rem;
  color: var(--muted);
  padding: 5px 0;
  padding-left: 24px;
  position: relative;
}

.meetup-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.event-btn {
  display: inline-flex;
  align-items: center;
  background: var(--red);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s;
}

.event-btn:hover {
  background: var(--red-dim);
  transform: translateY(-1px);
}

/* ── PHOTO GRID ── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 220px;
  gap: 5px;
  max-width: 100%;
  margin-top: 64px;
  position: relative;
  z-index: 1;
}

.photo-item {
  background: var(--ink);
  border-radius: 4px;
  overflow: hidden;
}

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

.photo-item.tall { grid-row: span 2; }
.photo-item.wide { grid-column: span 2; }

/* ── QUOTE BLOCKS ── */
.quote-block {
  padding: 80px 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.quote-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 36px;
}

.quote-divider-line {
  width: 140px;
  height: 1px;
  background: rgba(var(--red-rgb), 0.25);
}

.quote-divider-icon {
  font-family: var(--font-heading);
  font-size: 6rem;
  color: var(--red);
  font-weight: 900;
  line-height: 0.5;
}

.quote-text {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto;
  color: var(--muted);
}

.quote-author-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.quote-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

.quote-author {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 500;
}

.quote-author strong { color: var(--ink); }

/* ── DARK SECTIONS ── */
.dark-section {
  background: var(--ink);
  color: var(--white);
  padding: 80px 80px;
  position: relative;
  z-index: 1;
}

.dark-section .section-label {
  color: var(--red-light);
}

.dark-section .section-sub {
  color: rgba(var(--cream-rgb), 0.65);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 420px;
}

.dark-section .divider {
  width: 40px;
  height: 3px;
  background: var(--red);
  margin-bottom: 24px;
  border-radius: 2px;
}

.dark-section h2 { margin-bottom: 16px; }

.rolodex-cta { margin-top: 24px; }

/* Rolodex */
.rolodex-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.rolodex-visual {
  height: 360px;
  background: rgba(var(--white-rgb), 0.03);
  border: 1px solid rgba(var(--white-rgb), 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.rolodex-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Grow Your Business */
.dark-alt { background: var(--ink); }

.grow-stacked {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.grow-stacked .section-label {
  color: var(--red-light);
}

.grow-stacked h2 {
  color: var(--white);
  margin-bottom: 36px;
}

.grow-testimonial {
  background: rgba(var(--white-rgb), 0.04);
  border: 1px solid rgba(var(--white-rgb), 0.08);
  border-radius: 14px;
  padding: 36px 40px;
  margin-bottom: 48px;
}

.grow-quote {
  font-size: 1.02rem;
  font-weight: 400;
  color: rgba(var(--cream-rgb), 0.7);
  line-height: 1.8;
  margin-bottom: 0;
}

.grow-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(var(--white-rgb), 0.06);
}

.grow-author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.grow-author-role {
  font-size: 0.82rem;
  color: rgba(var(--cream-rgb), 0.5);
  margin-top: 2px;
  line-height: 1;
}

.grow-stars {
  color: #E8A838;
  font-size: 1rem;
  letter-spacing: 2px;
}

.grow-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 480px;
  margin: 0 auto;
}

.grow-video {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
}

.video-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

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

/* ── WORKSHOPS ── */
.workshops-section {
  background: var(--ink);
  position: relative;
  z-index: 1;
}

.workshops-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 64px 80px;
}

.workshops-hero-photo {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 52%;
  background: var(--ink);
  overflow: hidden;
}

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

.workshops-hero-content {
  position: relative;
  z-index: 2;
  max-width: 460px;
}

.workshops-hero-content h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.workshops-hero-content p {
  font-size: 0.9rem;
  color: rgba(var(--cream-rgb), 0.6);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 380px;
}

.btn-portal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.86rem;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}

.btn-portal:hover {
  background: var(--red-dim);
  transform: translateY(-1px);
}

.btn-portal-icon {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(var(--white-rgb), 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.45rem;
}

/* Workshop cards */
.workshops-cards-wrap { padding: 40px 80px 64px; }

.workshops-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.workshops-label span {
  font-size: 0.84rem;
  color: rgba(var(--cream-rgb), 0.45);
  white-space: nowrap;
  font-weight: 500;
}

.workshops-label-line {
  flex: 1;
  height: 1px;
  background: rgba(var(--white-rgb), 0.08);
}

.workshop-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.workshop-card {
  background: rgba(var(--red-rgb), 0.06);
  border: 1px solid rgba(var(--red-rgb), 0.25);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.workshop-card:hover { border-color: var(--red); }

.workshop-thumb {
  aspect-ratio: 16 / 10;
  background: var(--ink);
  overflow: hidden;
}

.workshop-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.workshop-body { padding: 20px 24px 24px; }

.workshop-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 10px;
}

.workshop-host-name {
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(var(--cream-rgb), 0.75);
}

.workshop-host-role {
  font-size: 0.76rem;
  color: rgba(var(--cream-rgb), 0.4);
  margin-top: 2px;
}

/* Workshop quote */
.workshops-quote {
  padding: 56px 80px 72px;
  text-align: center;
}

.workshops-quote-text {
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(var(--cream-rgb), 0.65);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 28px;
}

.workshops-quote-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.wq-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(var(--white-rgb), 0.05);
  border: 1px solid rgba(var(--white-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(var(--cream-rgb), 0.4);
  overflow: hidden;
}

.wq-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wq-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(var(--cream-rgb), 0.7);
  text-align: left;
}

.wq-role {
  font-size: 0.74rem;
  color: rgba(var(--cream-rgb), 0.4);
  margin-top: 2px;
}

/* ── CTA SECTION ── */
.cta-section {
  background: var(--ink);
  padding: 100px 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-sub {
  color: rgba(var(--cream-rgb), 0.6);
  margin-bottom: 36px;
  font-size: 0.9rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.topic-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.topic-tag {
  background: rgba(var(--white-rgb), 0.04);
  border: 1px solid rgba(var(--white-rgb), 0.1);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.76rem;
  color: rgba(var(--cream-rgb), 0.55);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cta-bottom {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(var(--white-rgb), 0.06);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-mini-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-light);
  opacity: 0.7;
  margin-bottom: 16px;
}

.cta-testimonial {
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(var(--cream-rgb), 0.55);
  line-height: 1.75;
  margin: 0 auto 16px;
}

.cta-testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(var(--cream-rgb), 0.4);
}

.cta-testimonial-author strong {
  color: rgba(var(--cream-rgb), 0.65);
}

.cta-author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(var(--white-rgb), 0.1);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero h1 { font-size: clamp(2rem, 7vw, 2.6rem); margin-bottom: 20px; }
  .hero { padding: 110px 24px 56px; }
  .hero-sub { margin-bottom: 32px; }
  .hero-cta { margin-bottom: 28px; }
  .social-proof-rating { display: none; }

  .stats-bar { padding: 48px 24px; }
  .stats-grid { flex-direction: column; gap: 28px; }
  .stat-divider { width: 60px; height: 1px; align-self: center; }

  .members-inner { padding: 0 24px; }
  .cards-grid { grid-template-columns: 1fr; padding: 0 24px; }

  .meetups-section { padding: 60px 24px; }
  .meetups-grid { grid-template-columns: 1fr; gap: 36px; }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 4px;
    margin-top: 40px;
  }
  .photo-item { min-height: 160px; }
  .photo-item.tall { grid-row: auto; }
  .photo-item.wide { grid-column: auto; }

  .quote-block { padding: 56px 24px; }

  .dark-section { padding: 56px 24px; }
  .rolodex-grid { grid-template-columns: 1fr; gap: 36px; }
  .rolodex-visual { height: 220px; }
  .grow-testimonial { padding: 28px 24px; }
  .grow-videos { max-width: 320px; gap: 12px; }
  .grow-author-row { flex-direction: column; align-items: flex-start; gap: 12px; }

  .workshops-hero { padding: 48px 24px; min-height: auto; }
  .workshops-hero-photo { display: none; }
  .workshops-cards-wrap { padding: 28px 24px 48px; }
  .workshop-cards { grid-template-columns: 1fr; }
  .workshops-quote { padding: 36px 24px 48px; }

  .cta-section { padding: 56px 24px; }
}
