/* Richer section styles. Loaded after style.css and builds on its tokens. */

.icon { width: 1.5em; height: 1.5em; flex: none; }
.center { text-align: center; margin-inline: auto; }
.head-center { text-align: center; }
.head-center p { margin-inline: auto; }
.section-head h2 { position: relative; padding-bottom: 0.55em; }
.section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 5px;
  border-radius: 999px;
  background: var(--ring);
}
.head-center h2::after { left: 50%; transform: translateX(-50%); }

/* Scroll reveal (only when JS is running) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .reveal:nth-child(2) { transition-delay: 0.08s; }
  .js .reveal:nth-child(3) { transition-delay: 0.16s; }
  .js .reveal:nth-child(4) { transition-delay: 0.24s; }
  .js .reveal:nth-child(5) { transition-delay: 0.32s; }
  .js .reveal:nth-child(6) { transition-delay: 0.4s; }
}

/* Stats */
.stats { padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.stat { text-align: center; padding-inline: 0.5rem; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num {
  display: block;
  font: 800 clamp(2rem, 1.2rem + 3vw, 3.5rem)/1 var(--display);
  font-stretch: 112%;
  font-variant-numeric: tabular-nums;
  background: var(--ring);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { display: block; margin-top: 0.5rem; color: var(--smoke); font-size: var(--step--1); }
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
  .stat:nth-child(odd) { border-left: 0; }
}

/* Service cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.card {
  position: relative;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--ring);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(142, 33, 38, 0.16); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 54px;
  height: 54px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: var(--ring);
  color: #fff;
}
.card h3, .card h2 { font-size: var(--step-1); font-stretch: 108%; font-weight: 700; line-height: 1.2; margin-bottom: 0.4em; }
.card p { margin: 0; color: var(--smoke); }

/* Follower plans */
.plans {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition: transform 0.25s, box-shadow 0.25s;
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(142, 33, 38, 0.16); }
.plan-qty {
  font: 800 clamp(1.6rem, 1rem + 1.6vw, 2.25rem)/1 var(--display);
  font-stretch: 110%;
  font-variant-numeric: tabular-nums;
}
.plan-unit { margin-top: 0.35rem; color: var(--smoke); font-size: var(--step--1); }
.plan-price {
  margin: 1.25rem 0;
  padding-top: 1.25rem;
  width: 100%;
  border-top: 1px dashed var(--line);
  font: 700 var(--step-2)/1 var(--display);
  font-variant-numeric: tabular-nums;
  color: var(--red);
}
.plan .btn { margin-top: auto; padding: 0.7em 1.2em; }
.plan-featured {
  background: var(--ring);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 24px 50px rgba(142, 33, 38, 0.35);
}
.plan-featured .plan-unit { color: rgba(255, 255, 255, 0.85); }
.plan-featured .plan-price { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.plan-tag {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}
@media (max-width: 1000px) {
  .plans { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem 1rem; }
}

/* How it works */
.flow {
  counter-reset: flow;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  position: relative;
}
.flow::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 32px;
  border-top: 2px dashed var(--line);
}
.flow li { counter-increment: flow; position: relative; text-align: center; }
.flow li::before {
  content: counter(flow);
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--ring);
  box-shadow: 0 0 0 8px #fff, 0 10px 24px rgba(142, 33, 38, 0.3);
  color: #fff;
  font: 800 1.4rem var(--display);
}
.flow p { color: var(--smoke); margin-inline: auto; max-width: 26ch; }
@media (max-width: 800px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
  .flow::before { display: none; }
}

/* Dark section (property) */
.section-dark {
  color: #fff;
  background:
    radial-gradient(50% 70% at 0% 0%, rgba(227, 30, 36, 0.35), transparent 70%),
    #1B1617;
}
.section-dark > .wrap > div > p { color: rgba(255, 255, 255, 0.82); }
.photo-stack { position: relative; padding: 0 1.25rem 1.25rem 0; }
.photo-stack::before {
  content: "";
  position: absolute;
  inset: 1.25rem 0 0 1.25rem;
  border-radius: 22px;
  background: var(--ring);
}
.photo-stack img { position: relative; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 22px; }
.photo-tag {
  position: absolute;
  left: 1rem;
  bottom: 2.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  background: #fff;
  color: var(--charcoal);
  font-weight: 600;
  font-size: var(--step--1);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}
.photo-tag .icon { color: var(--red); }
.group-cards { display: grid; gap: 1rem; margin-top: 1.5rem; }
.group-cards li {
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}
.group-cards h3 { margin-bottom: 0.3em; }
.group-cards p { color: rgba(255, 255, 255, 0.78); margin-bottom: 0.9em; }
.group-cards .group-meta { align-items: center; justify-content: space-between; margin: 0; }
.group-cards .group-meta span { color: #fff; font: 700 var(--step-1) var(--display); }
.group-cards .btn { padding: 0.6em 1.2em; font-size: var(--step--1); margin: 0; }

/* Associate banner */
.partner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  border-radius: 28px;
  overflow: hidden;
  background: var(--ring);
  color: #fff;
  box-shadow: 0 30px 60px rgba(142, 33, 38, 0.28);
}
.partner-copy { padding: clamp(2rem, 5vw, 4rem); align-self: center; }
.partner-copy p { color: rgba(255, 255, 255, 0.88); }
.partner-copy .btn { margin-top: 0.75rem; }
.partner img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
@media (max-width: 800px) {
  .partner { grid-template-columns: 1fr; }
  .partner img { order: -1; max-height: 240px; }
}

/* Inner page banner */
.page-head {
  position: relative;
  color: #fff;
  background:
    radial-gradient(50% 120% at 90% 0%, rgba(227, 30, 36, 0.6), transparent 70%),
    #1B1617;
  padding-block: clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute;
  right: -90px;
  top: 50%;
  width: 360px;
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 46px rgba(255, 255, 255, 0.04), 0 0 0 92px rgba(255, 255, 255, 0.03);
  pointer-events: none;
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head .lead { color: rgba(255, 255, 255, 0.82); margin: 0; }
.page-head + .section { padding-top: var(--section); }

/* Rounder photos and form across inner pages */
.split-img { border-radius: 18px; }
.split-img { box-shadow: 0 24px 50px rgba(42, 35, 36, 0.18); }
.enquiry {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(42, 35, 36, 0.1);
}
.field input, .field select, .field textarea { border-radius: 12px; }
.founder-photo { border-radius: 22px; box-shadow: 0 24px 50px rgba(142, 33, 38, 0.3); }
img.founder-photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
  background: #fff;
  border: 6px solid #fff;
  outline: 3px solid var(--red);
  outline-offset: -3px;
}
/* Home hero
   Charcoal panel on the left, a full-height photo on the right cut by a diagonal red stripe
   (the diagonal stroke of the N in the logo), and the three main offers along the bottom.
   Fills exactly one screen under the header. */
:root { --header-h: 69px; }

.hero-x {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  background: #1E1A1B;
  color: #fff;
  overflow: hidden;
}

.hero-photo {
  --slant: clamp(90px, 20vh, 230px);
  --stripe: clamp(14px, 1.6vw, 26px);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 54%;
  background: linear-gradient(180deg, var(--red), var(--oxblood));
  clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%);
}
.hero-photo img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--stripe);
  width: calc(100% - var(--stripe));
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
  clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%);
}

.hero-x-main {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: clamp(1.5rem, 6vh, 5rem) clamp(1.25rem, 4vh, 3rem);
}
.hero-x-copy { width: 46%; }
.hero-x .hero-title {
  font-size: clamp(2.25rem, min(1rem + 4.2vw, 8vh), 5.25rem);
  font-stretch: 112%;
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 12ch;
  margin-bottom: 0.4em;
}
.hero-x .lead {
  font-size: clamp(1rem, min(0.85rem + 0.5vw, 2.5vh), 1.2rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 44ch;
  margin-bottom: 0;
}
.hero-x .btn-row { margin-top: clamp(1.25rem, 4vh, 2.25rem); }

/* Offer bar */
.hero-offers-wrap { position: relative; z-index: 2; padding-bottom: clamp(1rem, 4vh, 2.5rem); }
.hero-offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff;
  color: var(--charcoal);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.hero-offers li + li { border-left: 1px solid var(--line); }
.hero-offers a {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
  padding: clamp(0.9rem, 2.4vh, 1.4rem) clamp(1rem, 2vw, 1.75rem);
  text-decoration: none;
  border-top: 3px solid transparent;
  transition: border-color 0.2s, background-color 0.2s;
}
.hero-offers a:hover { border-top-color: var(--red); background: #FBF7F7; }
.o-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #FBE9EA;
  color: var(--red);
}
.o-text { display: grid; gap: 0.15rem; }
.o-title { font-weight: 600; line-height: 1.25; }
.o-price {
  font: 700 var(--step-1)/1.1 var(--display);
  font-variant-numeric: tabular-nums;
  color: var(--red);
}

/* Tablets and phones in portrait: photo on top with a diagonal bottom edge */
@media (max-width: 860px) and (orientation: portrait) {
  .hero-x {
    height: calc(100vh - var(--header-h));
    height: calc(100svh - var(--header-h));
    min-height: 520px;
  }
  .hero-photo {
    --cut: clamp(28px, 6vh, 64px);
    --stripe: 10px;
    position: relative;
    width: 100%;
    height: 30%;
    flex: none;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%);
  }
  .hero-photo img {
    left: 0;
    width: 100%;
    height: calc(100% - var(--stripe));
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%);
    object-position: 60% 35%;
  }
  .hero-x-main { padding-block: 0.75rem; min-height: 0; }
  .hero-x-copy { width: 100%; }
  .hero-x .hero-title { font-size: clamp(1.9rem, min(9vw, 5.6vh), 3.5rem); max-width: 13ch; }
  .hero-x .btn { padding: 0.75em 1.1em; font-size: 0.95rem; }
  .hero-x .btn-row { gap: 0.5rem; }
  .hero-offers { border-radius: 12px; }
  .hero-offers a { flex-direction: column; align-items: flex-start; gap: 0.4rem; padding: 0.8rem 0.75rem; }
  .o-icon { width: 34px; height: 34px; border-radius: 9px; }
  .o-icon .icon { width: 1.2em; height: 1.2em; }
  .o-title { font-size: 0.8rem; }
  .o-price { font-size: 0.95rem; }
}
@media (max-width: 860px) and (max-height: 720px) and (orientation: portrait) {
  .hero-photo { height: 24%; }
  .hero-x .lead { font-size: 0.92rem; }
  .o-icon { display: none; }
}
@media (max-width: 400px) and (orientation: portrait) {
  .hero-x .lead { display: none; }
}

/* Short landscape screens (phones on their side) */
@media (max-height: 560px) and (orientation: landscape) {
  .hero-x .hero-title { font-size: clamp(1.6rem, 9vh, 3rem); }
  .hero-x .lead { display: none; }
  .hero-x .btn { padding: 0.6em 1.1em; font-size: 0.9rem; }
  .hero-offers a { padding: 0.6rem 0.9rem; gap: 0.6rem; }
  .o-icon { width: 34px; height: 34px; }
  .o-title { font-size: 0.8rem; }
  .o-price { font-size: 0.95rem; }
}

/* On the home page the floating WhatsApp button waits until the hero is scrolled past,
   so it never covers the offer bar */
.has-hero .wa-float { opacity: 0; transform: scale(0.8); pointer-events: none; transition: opacity 0.25s, transform 0.25s; }
.has-hero.scrolled .wa-float { opacity: 1; transform: none; pointer-events: auto; }

/* One load sequence: photo slides in, then the copy, then the offers */
@media (prefers-reduced-motion: no-preference) {
  .hero-photo { animation: hero-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-x-copy { animation: hero-up 0.8s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-offers { animation: hero-up 0.8s 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  @keyframes hero-in { from { opacity: 0; transform: translateX(40px); } }
  @keyframes hero-up { from { opacity: 0; transform: translateY(24px); } }
}
@media (max-width: 860px) and (orientation: portrait) and (prefers-reduced-motion: no-preference) {
  .hero-photo { animation-name: hero-fade; }
  @keyframes hero-fade { from { opacity: 0; } }
}
/* ------------------------------------------------------------------
   Sections added in the UpGrow-style redesign
   ------------------------------------------------------------------ */

.ticks-list { display: grid; gap: 0.6rem; margin: 1.25rem 0; }
.ticks-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.ticks-list .icon { color: var(--red); width: 1.3em; height: 1.3em; margin-top: 0.1em; }

/* Hero trust row */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: clamp(1rem, 3vh, 1.75rem);
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.8);
}
.hero-trust li { display: flex; align-items: center; gap: 0.4rem; }
.hero-trust .icon { color: #FF6B6F; width: 1.2em; height: 1.2em; }
@media (max-width: 860px) and (max-height: 820px) and (orientation: portrait) {
  .hero-trust { display: none; }
}
@media (max-height: 560px) and (orientation: landscape) {
  .hero-trust { display: none; }
}

/* Platforms strip */
.platforms { border-bottom: 1px solid var(--line); padding-block: 1.6rem; }
.platforms-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.platforms p { margin: 0; color: var(--smoke); font-weight: 500; }
.platforms ul { display: flex; flex-wrap: wrap; gap: 0.75rem clamp(1.25rem, 3vw, 2.75rem); }
.platforms li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font: 700 1.05rem var(--display);
  font-stretch: 108%;
  color: #8A8283;
  transition: color 0.2s;
}
.platforms .icon { width: 1.7em; height: 1.7em; }
.pf-instagram:hover { color: #E1306C; }
.pf-facebook:hover { color: #1877F2; }
.pf-youtube:hover { color: #FF0000; }
.pf-whatsapp:hover { color: #1DA851; }
.pf-google:hover { color: #4285F4; }
@media (max-width: 700px) {
  .platforms-row { justify-content: center; text-align: center; }
  .platforms ul { justify-content: center; }
}

/* Tabs (pricing and niche example) */
.tablist { display: none; }
.js .tablist { display: flex; }
.js .panel-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
html:not(.js) .tabpanel + .tabpanel { margin-top: 3rem; }
.tabpanel[hidden] { display: none !important; }
.tabpanel:focus-visible { outline: 3px solid var(--red); outline-offset: 6px; border-radius: 12px; }

.ptabs .tablist {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 1.25rem;
  padding: 6px;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  overflow-x: auto;
  scrollbar-width: none;
}
.ptabs [role="tab"], .tablist-pills [role="tab"] {
  flex: none;
  border: 0;
  border-radius: 999px;
  padding: 0.7em 1.3em;
  background: transparent;
  color: var(--charcoal);
  font: 600 0.95rem var(--body);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}
.ptabs [role="tab"]:hover { background: var(--ash); }
.ptabs [role="tab"][aria-selected="true"] { background: var(--charcoal); color: #fff; }
.panel-note { text-align: center; color: var(--smoke); margin: 0 auto 2.25rem; }

.offer-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.25rem;
  max-width: 860px;
  margin-inline: auto;
}
.offer-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}
.offer-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 0.75rem;
  border-radius: 14px;
  background: #FBE9EA;
  color: var(--red);
}
.offer-name { font-weight: 600; font-size: var(--step-1); }
.offer-price {
  font: 800 clamp(2rem, 1.4rem + 2vw, 3rem)/1.1 var(--display);
  font-stretch: 110%;
  font-variant-numeric: tabular-nums;
  color: var(--red);
}
.offer-note { color: var(--smoke); margin-bottom: 1.25rem; }
.offer-card .btn { margin-top: auto; text-align: center; }
.offer-dark { background: var(--ring); border-color: transparent; color: #fff; box-shadow: 0 24px 50px rgba(142, 33, 38, 0.3); }
.offer-dark .offer-icon { background: rgba(255, 255, 255, 0.15); color: #fff; }
.offer-dark .offer-price { color: #fff; }
.offer-dark .offer-note { color: rgba(255, 255, 255, 0.85); }

.mini-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: 1rem;
}
.mini-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.mini-name { font-weight: 600; line-height: 1.3; }
.mini-note { color: var(--smoke); font-size: var(--step--1); }
.mini-price {
  margin: 0.6rem 0 0.4rem;
  font: 700 var(--step-2)/1 var(--display);
  font-variant-numeric: tabular-nums;
  color: var(--red);
}
.mini-card .text-link { margin-top: auto; }

/* Niche example with the phone mockup */
.tablist-pills {
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.tablist-pills [role="tab"] { border: 1.5px solid var(--line); background: #fff; }
.tablist-pills [role="tab"]:hover { border-color: var(--charcoal); }
.tablist-pills [role="tab"][aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; }

.niche-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  max-width: 1000px;
  margin-inline: auto;
}
.niche-copy h3 { font-size: var(--step-3); font-stretch: 112%; font-weight: 800; }
.suggest {
  display: grid;
  gap: 0.2rem;
  max-width: 420px;
  margin-top: 1.75rem;
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: inset 5px 0 0 var(--red);
}
.suggest-label { color: var(--smoke); font-size: var(--step--1); }
.suggest-name { font-weight: 600; }
.suggest-price {
  font: 800 var(--step-3)/1.1 var(--display);
  font-variant-numeric: tabular-nums;
  color: var(--red);
}
.suggest .btn { margin-top: 0.9rem; justify-self: start; }

.phone-wrap { position: relative; margin: 0; justify-self: center; }
.phone {
  position: relative;
  width: min(320px, 84vw);
  padding: 1.6rem 0.9rem 1rem;
  border: 10px solid #1E1A1B;
  border-radius: 44px;
  background: #fff;
  box-shadow: 0 40px 80px rgba(42, 35, 36, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.phone::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 84px;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #1E1A1B;
}
.phone-bar { text-align: center; font-weight: 600; font-size: 0.85rem; margin: 0.6rem 0 0.9rem; }
.ig-head { display: flex; align-items: center; gap: 0.9rem; }
.ig-avatar {
  width: 72px;
  height: 72px;
  flex: none;
  padding: 3px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--ring);
}
.ig-counts { display: flex; flex: 1; justify-content: space-around; }
.ig-counts span { display: grid; text-align: center; font-size: 0.72rem; color: var(--smoke); }
.ig-counts b { font-size: 1rem; color: var(--charcoal); font-variant-numeric: tabular-nums; }
.ig-name { margin: 0.7rem 0 0; font-weight: 600; font-size: 0.9rem; }
.ig-bio { margin: 0 0 0.7rem; font-size: 0.8rem; color: var(--smoke); }
.ig-follow {
  display: block;
  padding: 0.45rem;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
}
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin: 0.9rem -0.9rem -1rem;
  border-radius: 0 0 34px 34px;
  overflow: hidden;
}
.ig-grid > * { aspect-ratio: 1; width: 100%; height: 100%; object-fit: cover; }
.ig-promo, .ig-growth {
  display: grid;
  place-content: center;
  padding: 0.4rem;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.25;
}
.ig-promo { background: var(--ring); color: #fff; font-weight: 700; font-size: 0.78rem; }
.ig-growth { background: #FBE9EA; color: var(--red); }
.ig-growth b { font: 800 1.05rem var(--display); }
.ig-reel { position: relative; display: block; }
.ig-reel img { width: 100%; height: 100%; object-fit: cover; }
.ig-reel .icon { position: absolute; top: 6px; right: 6px; width: 1.1em; height: 1.1em; color: #fff; }
.example-tag {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: -14px;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--charcoal);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
}
.phone-wrap figcaption {
  max-width: 30ch;
  margin: 1.1rem auto 0;
  text-align: center;
  font-size: var(--step--1);
  color: var(--smoke);
}
@media (max-width: 860px) {
  .niche-panel { grid-template-columns: 1fr; }
  .tablist-pills { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 0.25rem; scrollbar-width: none; }
  .example-tag { right: 0; }
}

/* Services bento */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "a a b"
    "a a b"
    "c d e"
    "f f f";
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.bento-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(142, 33, 38, 0.16); }
.bento-card h3 { font-size: var(--step-1); font-stretch: 108%; font-weight: 700; line-height: 1.2; margin-bottom: 0.4em; }
.bento-card p { margin: 0; color: var(--smoke); }
.bento-card:nth-child(3) { grid-area: c; }
.bento-card:nth-child(4) { grid-area: d; }
.bento-card:nth-child(5) { grid-area: e; }
.bento-card:nth-child(6) { grid-area: f; flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 1.25rem; }
.bento-card:nth-child(6) .card-icon { margin: 0; }
.bento-card:nth-child(6) h3 { margin: 0; }
.bento-a { grid-area: a; min-height: 440px; padding: 0; border: 0; justify-content: flex-end; color: #fff; }
.bento-a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.bento-a:hover img { transform: scale(1.04); }
.bento-a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(30, 26, 27, 0.92));
}
.bento-body { position: relative; z-index: 1; padding: 2rem; }
.bento-a h3 { font-size: var(--step-2); }
.bento-a p { color: rgba(255, 255, 255, 0.85); max-width: 40ch; }
.bento-b { grid-area: b; background: var(--ring); border: 0; color: #fff; }
.bento-b .card-icon { background: rgba(255, 255, 255, 0.15); }
.bento-b h3 { font-size: var(--step-2); }
.bento-b p { color: rgba(255, 255, 255, 0.88); }
.bento-price {
  margin-top: auto;
  padding-top: 1.5rem;
  font: 800 var(--step-2)/1.1 var(--display);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 860px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "a a" "b b" "c d" "e f"; }
  .bento-a { min-height: 340px; }
  .bento-card:nth-child(6) { flex-direction: column; align-items: flex-start; }
  .bento-card:nth-child(6) .card-icon { margin-bottom: 1.1rem; }
  .bento-card:nth-child(6) h3 { margin-bottom: 0.4em; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "e" "f"; }
}

/* How it works: the line fills in once the steps scroll into view */
.flow li { z-index: 1; }
.flow::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 31px;
  border-top: 3px solid var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.flow.in::after, html:not(.js) .flow::after { transform: scaleX(1); }
@media (max-width: 800px) {
  .flow::after { display: none; }
}

/* Why grid (home, about, packages) */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.why-grid li {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}
.section-ash .why-grid li { border-color: transparent; }
.why-grid h3 { font-size: var(--step-1); font-stretch: 108%; font-weight: 700; line-height: 1.2; margin-bottom: 0.4em; }
.why-grid p { margin: 0; color: var(--smoke); }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* Reviews (only rendered once real reviews are added) */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 3rem;
  margin-bottom: 3rem;
}
.logo-strip img { height: 40px; width: auto; filter: grayscale(1); opacity: 0.7; transition: filter 0.2s, opacity 0.2s; }
.logo-strip img:hover { filter: none; opacity: 1; }
/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.faq-side { position: sticky; top: 100px; }
.faq-side p { color: var(--smoke); }
.faq-side .btn { margin-top: 0.5rem; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  padding: 1.3rem 3rem 1.3rem 0;
  list-style: none;
  font-weight: 600;
  font-size: var(--step-1);
  line-height: 1.35;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ash);
  color: var(--red);
  font: 600 1.3rem/1 var(--body);
  transition: background-color 0.2s, color 0.2s;
}
.faq-list details[open] summary::after { content: "\2212"; background: var(--red); color: #fff; }
.faq-list summary:hover { color: var(--red); }
.faq-list details p { margin: -0.3rem 0 1.3rem; color: var(--smoke); }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }
}

/* Final call to action */
.cta-band { position: relative; overflow: hidden; color: #fff; padding-block: clamp(4rem, 9vw, 7rem); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(30, 26, 27, 0.96) 25%, rgba(142, 33, 38, 0.88) 65%, rgba(227, 30, 36, 0.78));
}
.cta-inner { position: relative; z-index: 2; }
.cta-inner h2 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.75rem); max-width: 14ch; }
.cta-inner p { color: rgba(255, 255, 255, 0.85); font-size: var(--step-1); max-width: 46ch; }

/* Footer */
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-block: clamp(3rem, 7vw, 4.5rem) 2.5rem; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  font: 800 var(--step-1) var(--display);
  font-stretch: 118%;
}
.footer-grid .footer-logo { color: #fff; }
.footer-logo img { width: 48px; height: 48px; border-radius: 50%; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer-grid .footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  transition: background-color 0.2s, border-color 0.2s;
}
.footer-grid .footer-social a:hover { background: var(--red); border-color: var(--red); text-decoration: none; }
.footer-social .icon { width: 1.25em; height: 1.25em; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; color: rgba(255, 255, 255, 0.8); }
.footer-contact .icon { width: 1.2em; height: 1.2em; margin-top: 0.15em; color: #FF7A7E; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; }
.footer-base a { color: rgba(255, 255, 255, 0.75); margin-left: 1.25rem; }
.footer-base a:first-child { margin-left: 0; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Inner page banner extras */
.crumbs { display: flex; gap: 0.5rem; margin-bottom: 1rem; font-size: var(--step--1); color: rgba(255, 255, 255, 0.65); }
.crumbs a { color: rgba(255, 255, 255, 0.85); text-underline-offset: 0.2em; }
.head-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1.75rem;
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.8);
}
.head-trust li { display: flex; align-items: center; gap: 0.4rem; }
.head-trust .icon { color: #FF6B6F; width: 1.2em; height: 1.2em; }

/* Services page feature rows */
.feature-rows { display: grid; gap: clamp(3.5rem, 9vw, 6.5rem); }
.feature-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.feature-flip > img { order: 2; }
.feature-price { margin: 0 0 1.25rem; font: 700 var(--step-1)/1.3 var(--display); color: var(--red); }
@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-flip > img { order: 0; }
}

/* Contact page */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.contact-cards a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
}
.contact-cards a:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(142, 33, 38, 0.14); }
.cc-title { color: var(--smoke); font-size: var(--step--1); }
.cc-value { font-weight: 600; overflow-wrap: anywhere; }
.enquiry h2 { font-size: var(--step-2); }
.map-card { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff; }
.map-card iframe { display: block; width: 100%; height: clamp(300px, 40vw, 470px); border: 0; }
.map-card p { margin: 0; padding: 1rem 1.25rem; color: var(--smoke); font-size: var(--step--1); }
@media (max-width: 900px) {
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* About page */
.visit {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}
.visit iframe { width: 100%; height: 340px; border: 0; border-radius: 22px; }
@media (max-width: 860px) {
  .visit { grid-template-columns: 1fr; }
}

/* Two plan cards per row on phones; the odd last one spans the row */
@media (max-width: 560px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 0.75rem; }
  .plans > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .plan { padding: 1.5rem 0.75rem 1.25rem; }
}

/* Associate packages reuse the plan cards */
.plan-reach small { display: block; font: 400 var(--step--1) var(--body); color: var(--smoke); margin-top: 0.3rem; }

/* ------------------------------------------------------------------
   Testimonials (includes/testimonials.php)
   ------------------------------------------------------------------ */

/* Tags, avatar and name */
.t-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.1rem; }
.t-tag {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #FBE9EA;
  color: var(--oxblood);
  font-size: 0.78rem;
  font-weight: 600;
}
.t-person { display: flex; align-items: center; gap: 0.8rem; font-size: var(--step--1); color: var(--smoke); }
.t-person strong { display: block; color: var(--charcoal); font-size: 1rem; }
.t-avatar { width: 48px; height: 48px; flex: none; border-radius: 50%; object-fit: cover; }
.t-initial {
  display: grid;
  place-items: center;
  background: var(--ring);
  color: #fff;
  font: 800 1.15rem var(--display);
}

/* Round arrow buttons */
.t-controls { display: flex; gap: 0.6rem; }
.t-arrow {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
}
.t-arrow:hover { background: var(--red); border-color: var(--red); }
.t-arrow .icon { width: 1.4em; height: 1.4em; }

/* Spotlight slider */
.t-spot {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding-block: var(--section);
  background:
    radial-gradient(50% 80% at 100% 0%, rgba(227, 30, 36, 0.45), transparent 70%),
    #1E1A1B;
}
.t-spot-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.t-spot-side p { color: rgba(255, 255, 255, 0.75); margin-bottom: 2rem; }
.t-spot-stage { position: relative; min-width: 0; }
.t-bigquote {
  position: absolute;
  top: -3.5rem;
  left: -0.5rem;
  font: 900 9rem/1 var(--display);
  color: var(--red);
  opacity: 0.9;
}
.t-spot-window { position: relative; overflow: hidden; }
.t-spot-track { display: flex; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.t-slide { flex: 0 0 100%; margin: 0; padding-top: 2.5rem; }
.t-slide blockquote {
  margin: 0 0 2rem;
  font: 600 clamp(1.3rem, 1rem + 1.3vw, 2rem)/1.4 var(--body);
  color: #fff;
  max-width: 34ch;
}
.t-slide .t-person, .t-slide .t-person strong { color: #fff; }
.t-slide .t-person span { color: rgba(255, 255, 255, 0.7); }
.t-slide .t-tag { background: rgba(255, 255, 255, 0.12); color: #fff; }
.t-dots { display: flex; gap: 0.5rem; margin-top: 2.25rem; }
.t-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: width 0.3s, background-color 0.3s;
}
.t-dots button[aria-current="true"] { width: 34px; background: var(--red); }
@media (max-width: 860px) {
  .t-spot-grid { grid-template-columns: 1fr; }
  .t-spot-side .t-controls { order: 2; }
  .t-bigquote { font-size: 6rem; top: -2rem; }
}

/* Client logos strip */
.t-logos { padding-block: clamp(2rem, 5vw, 3rem); border-top: 1px solid var(--line); }
.t-logos-label { text-align: center; color: var(--smoke); margin: 0 auto 1.5rem; }
.t-logos .logo-strip { margin-bottom: 0; }

/* ------------------------------------------------------------------
   Website traffic section (home)
   ------------------------------------------------------------------ */
.traffic {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(45% 70% at 100% 100%, rgba(227, 30, 36, 0.4), transparent 70%),
    radial-gradient(35% 60% at 0% 0%, rgba(142, 33, 38, 0.45), transparent 70%),
    #1E1A1B;
}
.traffic-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.traffic-lead { color: rgba(255, 255, 255, 0.78); font-size: var(--step-1); max-width: 46ch; }
.traffic-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.75rem; margin-top: 2rem; }
.traffic-ways li { display: flex; gap: 0.9rem; align-items: flex-start; }
.traffic-ways .card-icon { width: 46px; height: 46px; margin: 0; border-radius: 12px; }
.traffic-ways h3 { font-size: 1.05rem; font-stretch: 108%; font-weight: 700; line-height: 1.25; margin-bottom: 0.25em; }
.traffic-ways p { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: var(--step--1); }
.traffic .btn-row { margin-top: 2.25rem; }

.traffic-card {
  position: relative;
  margin: 0;
  border-radius: 22px;
  background: #fff;
  color: var(--charcoal);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  overflow: visible;
}
.traffic-card .example-tag { top: -12px; right: 18px; background: var(--red); }
.tc-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line);
}
.tc-dot { width: 10px; height: 10px; border-radius: 50%; background: #E9E3E3; }
.tc-dot:first-child { background: var(--red); }
.tc-url {
  flex: 1;
  margin-left: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--ash);
  color: var(--smoke);
  font-size: 0.8rem;
}
.tc-body { padding: 1.4rem 1.5rem 1.6rem; }
.tc-title { margin: 0 0 0.75rem; font-weight: 600; }
.tc-chart { display: block; width: 100%; height: 120px; margin-bottom: 1.25rem; }
.tc-sources { display: grid; gap: 0.85rem; }
.tc-sources li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); align-items: center; gap: 1rem; }
.tc-sources span { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 500; }
.tc-sources .icon { width: 1.15em; height: 1.15em; color: var(--red); }
.tc-sources i {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: var(--ash);
  overflow: hidden;
}
.tc-sources i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: var(--ring);
}
@media (prefers-reduced-motion: no-preference) {
  .js .traffic-card .tc-line { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.6s 0.3s ease-out; }
  .js .traffic-card.in .tc-line { stroke-dashoffset: 0; }
  .js .traffic-card .tc-sources i::after { transform: scaleX(0); transform-origin: left; transition: transform 1s 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js .traffic-card.in .tc-sources i::after { transform: scaleX(1); }
}
@media (max-width: 900px) {
  .traffic-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .traffic-ways { grid-template-columns: 1fr; }
  .tc-sources li { grid-template-columns: 8rem minmax(0, 1fr); }
}
