/* === 7REND Media VSL page (matches 7rend.co.za) === */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --ink: #1a1a1a;
  --ink-dim: #4d4d4d;
  --muted: #8a8a8a;
  --accent: #ff9900;
  --accent-dark: #e08600;
  --black: #111111;
  --line: rgba(0, 0, 0, 0.12);
  --radius: 16px;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }

body {
  font-family: "Space Grotesk", sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Archivo Black", sans-serif;
  font-weight: 900;
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.eyebrow {
  display: inline-block;
  background: var(--black);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
}

.hl-accent {
  color: var(--accent);
  position: relative;
  white-space: nowrap;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M4 10 C 50 4, 110 3, 196 7' fill='none' stroke='%23ff9900' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat bottom / 100% 0.28em;
  padding-bottom: 0.3em;
}

/* === Header bar === */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  background: #fff;
  padding: 18px clamp(20px, 5vw, 64px);
  box-shadow: 0 2px 14px rgba(17, 17, 17, 0.1);
}

.top__links { display: flex; gap: clamp(14px, 3vw, 34px); }

.top__links a {
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s ease;
}

.top__links a:hover { color: var(--accent); }

.top__brand { display: flex; justify-content: center; }
.top__logo { height: 38px; width: auto; }

.top__cta-wrap { display: flex; justify-content: flex-end; }

.top__cta {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent-dark);
  border-radius: 8px;
  padding: 12px 24px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.top__cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255, 153, 0, 0.4); }

.top__links .short { display: none; }

@media (max-width: 640px) {
  .top { padding: 12px 14px; gap: 8px; }
  .top__links .long { display: none; }
  .top__links .short { display: inline; }
  .top__links a { font-size: 0.8rem; }
  .top__logo { height: 26px; }
  .top__cta { font-size: 0.8rem; padding: 10px 14px; }
}

/* === Hero === */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px 20px 60px;
  text-align: center;
}

.hero > .eyebrow { margin-bottom: 34px; }

.hero h1 {
  font-size: clamp(1.7rem, 4.8vw, 3.1rem);
  margin: 20px auto 18px;
  max-width: 900px;
  white-space: pre-line;
}

.hero__sub {
  color: var(--ink-dim);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 620px;
  margin: 0 auto 34px;
  font-weight: 500;
}

/* === VSL frame === */
.vsl {
  position: relative;
  max-width: 860px;
  margin: 0 auto 34px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 4px solid var(--black);
  background: var(--bg-soft);
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.18);
}

.vsl iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.vsl-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background:
    radial-gradient(ellipse at 28% 18%, rgba(255, 153, 0, 0.14), transparent 55%),
    radial-gradient(ellipse at 78% 85%, rgba(255, 153, 0, 0.1), transparent 55%),
    var(--bg-soft);
}

.vsl-placeholder__play {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 10px rgba(255, 153, 0, 0.22), 0 14px 34px rgba(255, 153, 0, 0.45);
}

.vsl-placeholder__play::after {
  content: "";
  display: block;
  margin-left: 7px;
  border-style: solid;
  border-width: 16px 0 16px 26px;
  border-color: transparent transparent transparent #ffffff;
}

.vsl-placeholder p {
  font-family: "Archivo Black", sans-serif;
  color: var(--ink);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.btn--primary {
  background: var(--accent);
  color: #ffffff;
  border-bottom: 4px solid var(--accent-dark);
  box-shadow: 0 12px 28px rgba(255, 153, 0, 0.35);
}

.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(255, 153, 0, 0.5); }

.hero__cta { font-size: 1.08rem; }

/* === Proof === */
.proof { padding: 0 0 70px; }

/* Stats: full-bleed black bar, mirrors the 7rend.co.za countdown strip */
.stats {
  background: var(--black);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  padding: 34px clamp(20px, 6vw, 80px);
  margin-bottom: 64px;
}

.stats[hidden] { display: none; }

.stat { text-align: center; padding: 8px; }

.stat__num {
  display: block;
  font-family: "Archivo Black", sans-serif;
  font-size: 2.1rem;
  color: var(--accent);
  line-height: 1.15;
}

.stat__label {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.proof__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.section-head { text-align: center; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.4rem, 3.4vw, 2.1rem); margin-top: 12px; }

/* Before / after */
.ba-grid { display: grid; gap: 20px; margin-bottom: 64px; }

.ba-card {
  background: #fff;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 8px 8px 0 rgba(17, 17, 17, 0.08);
}

.ba-card__title {
  font-family: "Archivo Black", sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}

.ba-card__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.ba-col__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.ba-col--before .ba-col__tag { background: #e9e9e9; color: var(--ink-dim); }
.ba-col--after .ba-col__tag { background: var(--accent); color: #fff; }

.ba-col__media {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.ba-col__media img { width: 100%; height: 100%; object-fit: cover; }

.ba-col__caption { margin-top: 10px; color: var(--ink-dim); font-size: 0.92rem; }
.ba-col--after .ba-col__caption { color: var(--ink); font-weight: 700; }

/* Testimonials */
.tm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }

.tm-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.tm-card blockquote { font-size: 1.02rem; margin-bottom: 16px; font-weight: 500; }
.tm-card blockquote::before { content: "“"; color: var(--accent); font-size: 1.5em; line-height: 0; margin-right: 2px; font-family: "Archivo Black", sans-serif; }
.tm-card strong { font-family: "Archivo Black", sans-serif; font-size: 0.9rem; display: block; text-transform: uppercase; letter-spacing: 0.03em; }
.tm-card span { color: var(--muted); font-size: 0.9rem; }

.tm-card__link {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.tm-card__link:hover { text-decoration: underline; }

.tm-img {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 14px 40px rgba(17, 17, 17, 0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tm-img img { display: block; width: 100%; height: auto; }

a.tm-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(17, 17, 17, 0.22);
}

/* === Packages === */
.packages { max-width: var(--maxw); margin: 0 auto; padding: 20px 20px 70px; }

.packages__sub { color: var(--ink-dim); max-width: 580px; margin: 14px auto 0; font-weight: 500; }

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
  align-items: stretch;
}

.pkg {
  position: relative;
  background: #fff;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  padding: 32px 26px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 8px 8px 0 rgba(17, 17, 17, 0.08);
}

.pkg--featured {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
  box-shadow: 8px 8px 0 rgba(255, 153, 0, 0.9);
}

.pkg__tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: "Archivo Black", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.pkg h3 { font-size: 1.25rem; margin-bottom: 4px; }
.pkg__tagline { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; font-weight: 500; }
.pkg--featured .pkg__tagline { color: rgba(255, 255, 255, 0.6); }

.pkg__price { font-family: "Archivo Black", sans-serif; margin-bottom: 22px; }
.pkg__price strong { font-size: 2rem; font-weight: 900; }
.pkg--featured .pkg__price strong { color: var(--accent); }
.pkg__price span { color: var(--muted); font-size: 0.95rem; font-family: "Space Grotesk", sans-serif; font-weight: 500; }
.pkg--featured .pkg__price span { color: rgba(255, 255, 255, 0.6); }

.pkg ul { list-style: none; margin-bottom: 26px; flex: 1; }

.pkg li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--ink-dim);
  font-size: 0.97rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pkg--featured li { color: rgba(255, 255, 255, 0.85); border-bottom-color: rgba(255, 255, 255, 0.1); }

.pkg li:last-child { border-bottom: 0; }

.pkg li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.pkg .btn { width: 100%; }

.pkg-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  margin-top: 26px;
}

.pkg:not(.pkg--featured) .btn {
  background: #fff;
  border: 2px solid var(--black);
  border-bottom-width: 4px;
  color: var(--ink);
  box-shadow: none;
}

.pkg:not(.pkg--featured) .btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* === Viral video carousel === */
.carousel { padding: 10px 0 70px; overflow: hidden; }

#carousel-label {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 153, 0, 0.35);
}

.marquee { overflow: hidden; margin-top: 6px; padding: 4px 0 18px; }

.marquee__track {
  display: flex;
  gap: 14px;
  width: max-content;
  will-change: transform;
}

.marquee__track a,
.marquee__track span { display: block; flex-shrink: 0; }

.marquee__track img {
  height: clamp(150px, 20vw, 240px);
  width: auto;
  border-radius: 12px;
  display: block;
  box-shadow: 0 8px 26px rgba(17, 17, 17, 0.1);
  transition: transform 0.15s ease;
}

.marquee__track a:hover img { transform: scale(1.03); }

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
}

/* === Lead form === */
.capture { padding: 30px 20px 90px; background: var(--bg-soft); }

.capture__card {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid var(--black);
  border-radius: 20px;
  padding: 42px 36px;
  text-align: center;
  box-shadow: 10px 10px 0 rgba(17, 17, 17, 0.1);
}

.capture__card h2 { font-size: clamp(1.3rem, 3.2vw, 1.8rem); }
.capture__sub { color: var(--ink-dim); margin: 12px 0 30px; font-weight: 500; }

#lead-form { display: flex; flex-direction: column; gap: 16px; text-align: left; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

#lead-form label { display: flex; flex-direction: column; gap: 6px; }

#lead-form label span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

#lead-form input,
#lead-form select {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.15s ease;
  width: 100%;
}

#lead-form input:focus,
#lead-form select:focus { border-color: var(--accent); }

#lead-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }

.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

#lead-form .btn { margin-top: 8px; }

.form-error { color: #e02b2b; font-size: 0.95rem; font-weight: 500; text-align: center; }

.form-success { padding: 28px 6px 6px; }

.form-success__mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 10px rgba(255, 153, 0, 0.18);
}

.form-success p { color: var(--ink-dim); font-size: 1.05rem; font-weight: 500; }

/* === Footer === */
.footer {
  position: relative;
  background: #fff;
  box-shadow: 0 -2px 14px rgba(17, 17, 17, 0.1);
  padding: 54px clamp(20px, 5vw, 64px) 60px;
}

.footer__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}

.footer__logo { height: 44px; width: auto; margin-bottom: 8px; }

.footer__tag {
  font-family: "Archivo Black", sans-serif;
  font-size: 0.95rem;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.footer__tag .tag-accent {
  border-bottom: 3px solid var(--accent);
  padding-bottom: 1px;
}

.footer__social { display: flex; gap: 14px; }

.footer__social a { color: var(--ink); display: inline-flex; transition: color 0.15s ease, transform 0.15s ease; }
.footer__social a:hover { color: var(--accent); transform: translateY(-2px); }
.footer__social svg { width: 22px; height: 22px; }

.footer__mid { text-align: center; }
.footer__mid h2 { font-size: clamp(1.3rem, 2.8vw, 2rem); }
.footer__mid p {
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
  font-size: clamp(0.85rem, 1.6vw, 1.05rem);
  margin-top: 6px;
}

.footer__right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }

.footer__copy { color: var(--ink); font-size: 0.88rem; font-weight: 700; }

.footer__mail { font-size: 0.88rem; }
.footer__mail a { color: var(--muted); text-decoration: none; font-weight: 500; }
.footer__mail a:hover { color: var(--accent); }

@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .footer__left { display: flex; flex-direction: column; align-items: center; }
  .footer__right { align-items: center; text-align: center; }
}

/* === Mobile === */
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .ba-card__cols { grid-template-columns: 1fr; }
  .capture__card { padding: 30px 18px; }
  .capture { padding: 24px 14px 60px; }

  /* Tighter vertical rhythm so the form is fewer thumb-scrolls away */
  .hero { padding: 20px 14px 40px; }
  .hero > .eyebrow { margin-bottom: 22px; }
  .vsl { margin-bottom: 26px; border-width: 3px; border-radius: 12px; }
  .proof { padding-bottom: 44px; }
  .tm-grid { gap: 14px; }
  .packages { padding: 10px 14px 44px; }
  .pkg-grid { gap: 26px; margin-top: 32px; }
  .pkg { padding: 26px 20px 24px; }
  .carousel { padding-bottom: 44px; }
  .footer { padding: 40px 20px 44px; }

  /* Most popular package first when cards stack */
  .pkg--featured { order: -1; }

  .btn { padding: 14px 26px; }
  .hero__cta { width: min(100%, 340px); }
}

/* Square testimonial graphics: reserve space before the image loads */
.tm-img img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }

/* Mobile: testimonials become a swipeable snap carousel with a peek of the next card */
@media (max-width: 640px) {
  .tm-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    margin: 0 -14px;
    /* Generous vertical padding so card shadows fade out inside the strip
       instead of being clipped into a hard line */
    padding: 24px 14px 40px;
    scroll-padding: 0 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tm-grid::-webkit-scrollbar { display: none; }
  .tm-grid > * { flex: 0 0 86%; scroll-snap-align: center; }

  /* Packages: same swipe carousel. Growth (order:-1) is the first card shown.
     Top padding leaves room for the floating MOST POPULAR tag; the rest lets
     the offset shadows fade instead of clipping. */
  .pkg-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    margin: 28px -14px 0;
    padding: 22px 14px 30px;
    scroll-padding: 0 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .pkg-grid::-webkit-scrollbar { display: none; }
  .pkg { flex: 0 0 86%; scroll-snap-align: center; }
}
