/* Maria's Bake & Brew — social proof + CTA sections */

/* ── Section shared ── */
.sp-section {
  max-width: none;
  margin: 0;
  padding: 80px 40px;
}

.sp-section-head {
  text-align: center;
  margin-bottom: 48px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.sp-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 12px;
}

.sp-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--green-deep);
  line-height: 1.2;
  margin: 0;
}

.sp-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 10px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ── Google Reviews ── */
.reviews-rating {
  display: flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  max-width: 1100px;
  margin: 20px auto 40px;
  flex-wrap: wrap;
  background: var(--cream);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  padding: 14px 28px;
  animation: pillIn 0.6s cubic-bezier(.2, 1.2, .4, 1) backwards;
  animation-delay: 0.1s;
}

@keyframes pillIn {
  0%   { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.reviews-rating-score {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1;
}

.reviews-rating-stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
  margin-bottom: 4px;
}

.reviews-rating-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.reviews-rating-meta a {
  color: var(--green-deep);
  text-decoration: none;
  border-bottom: 1px dotted var(--green-mid);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.review-card {
  background: var(--cream);
  border: 1px solid var(--card-border);
  border-top: 3px solid var(--gold);
  border-radius: 14px;
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 8px 24px rgba(30, 61, 47, 0.06);
  position: relative;
  transition: transform 0.3s cubic-bezier(.2, .8, .3, 1), box-shadow 0.3s;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(30, 61, 47, 0.12);
}

.review-card:hover .review-text::before {
  transform: scale(1.15) rotate(-6deg);
  opacity: 0.55;
}

.review-text::before {
  transition: transform 0.3s cubic-bezier(.2, .8, .3, 1), opacity 0.3s;
  transform-origin: top left;
}

.review-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--gold);
}

.review-stars svg {
  animation: starPop 0.5s cubic-bezier(.2, 1.4, .4, 1) backwards;
}

.review-stars svg:nth-child(1) { animation-delay: 0.05s; }
.review-stars svg:nth-child(2) { animation-delay: 0.12s; }
.review-stars svg:nth-child(3) { animation-delay: 0.19s; }
.review-stars svg:nth-child(4) { animation-delay: 0.26s; }
.review-stars svg:nth-child(5) { animation-delay: 0.33s; }

@keyframes starPop {
  0%   { transform: scale(0) rotate(-180deg); opacity: 0; }
  60%  { transform: scale(1.3) rotate(10deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.7;
  font-style: italic;
  margin: 0;
  flex: 1;
}

.review-text::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.35;
  position: absolute;
  top: 8px;
  left: 20px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--card-border);
  padding-top: 14px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--cream), 0 0 0 4px var(--gold);
}

.review-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.3;
}

.review-date {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ── TikTok videos ── */
.tiktok-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.tiktok-grid .tiktok-card {
  flex: 0 1 320px;
  max-width: 320px;
}

.tiktok-card {
  position: relative;
  aspect-ratio: 9 / 16;
  background: linear-gradient(135deg, #1a1a2e, #0f0f1a);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--card-border);
  transition: transform 0.25s cubic-bezier(.2, .8, .3, 1);
}

.tiktok-card:hover {
  transform: translateY(-3px);
}

.tiktok-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.tiktok-card .tiktok-embed {
  margin: 0 !important;
  max-width: 100% !important;
  min-width: 0 !important;
  width: 100% !important;
}

.tiktok-card blockquote.tiktok-embed {
  background: transparent;
  border: 0;
  padding: 0;
}

.tiktok-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  padding: 20px;
  text-align: center;
}

.tiktok-placeholder-icon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  font-weight: 600;
}

.tiktok-placeholder-text {
  font-size: 0.78rem;
  opacity: 0.7;
  line-height: 1.5;
}

.tiktok-handle {
  text-align: center;
  margin-top: 32px;
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.tiktok-handle a {
  color: var(--green-deep);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 2px;
}

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
  color: var(--cream);
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background-image: repeating-linear-gradient(90deg, var(--gold) 0 12px, var(--cream) 12px 24px, var(--green-mid) 24px 36px);
  background-size: 48px 8px;
  background-repeat: repeat-x;
}

.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(201, 168, 76, 0.12) 0%, transparent 50%),
                    radial-gradient(circle at 80% 70%, rgba(201, 168, 76, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cta-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 500;
  margin-bottom: 14px;
}

.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.15;
  margin: 0 0 14px;
}

.cta-title em {
  font-style: italic;
  color: var(--gold-light);
}

.cta-text {
  font-size: 0.95rem;
  color: rgba(248, 243, 235, 0.75);
  line-height: 1.7;
  margin: 0 auto 36px;
  max-width: 540px;
}

.cta-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.cta-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  color: var(--cream);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(.2, .8, .3, 1);
  backdrop-filter: blur(8px);
  text-align: left;
}

.cta-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.cta-btn-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(201, 168, 76, 0.18);
  border: 1px solid rgba(201, 168, 76, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-light);
}

.cta-btn-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta-btn-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cta-btn-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 243, 235, 0.6);
  font-weight: 400;
}

.cta-btn-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
}

.cta-btn-sub {
  font-size: 0.78rem;
  color: rgba(248, 243, 235, 0.65);
  margin-top: 2px;
}

@media (max-width: 720px) {
  .sp-section { padding: 60px 20px; }
  .cta-section { padding: 60px 20px; }
  .cta-buttons { grid-template-columns: 1fr; }
  .tiktok-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
}
