/* ── Layout ────────────────────────────────────────────────── */
main { margin-top: 5rem; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 5rem);
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 4rem 0 5.5rem;
  background: linear-gradient(135deg, #faf5ff, #fdf2f8 48%, #fff7ed);
}
.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Hero entrance – pill, h1, copy, buttons stagger in */
.hero .pill      { animation: heroFadeUp 0.7s 0.1s ease both; }
.hero h1         { animation: heroFadeUp 0.7s 0.25s ease both; }
.hero .hero-copy { animation: heroFadeUp 0.7s 0.4s ease both; }
.hero-actions    { animation: heroFadeUp 0.7s 0.55s ease both; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero h1 { font-size: clamp(2.6rem, 7.4vw, 5.2rem); margin: 1.2rem 0; }
.hero-copy {
  font-size: clamp(1rem, 1.8vw, 1.32rem);
  max-width: 43rem;
  margin: 0 auto 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

/* Hero video — merged showcase frame sitting beneath the buttons */
.hero-media {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 880px;
  margin: 3.25rem auto 0;
  animation: heroFadeUp 0.7s 0.7s ease both;
}
.hero-media .vshowcase-frame-wrap {
  margin: 0 auto;
  max-width: 100%;
}

@media (max-width: 760px) {
  .hero-media { margin-top: 2.5rem; }
}

/* Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.orb-a { width: 260px; height: 260px; top: 2rem;    left: -2.2rem; background: rgba(196,181,253,0.7); animation: orbDrift 8s ease-in-out infinite alternate; }
.orb-b { width: 330px; height: 330px; right: -2rem; bottom: 1rem;  background: rgba(253,186,116,0.7); animation: orbDrift 10s ease-in-out infinite alternate-reverse; }
.orb-c { width: 190px; height: 190px; top: 7rem;    right: 30%;    background: rgba(251,207,232,0.62); animation: orbDrift 7s ease-in-out infinite alternate; }
.orb-d { width: 300px; height: 300px; top: -100px;  left: -80px;   background: rgba(255,255,255,0.2); }
.orb-e { width: 360px; height: 360px; right: -110px; bottom: -120px; background: rgba(255,255,255,0.15); }

@keyframes orbDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(18px, -14px) scale(1.06); }
}

/* ── Stats ─────────────────────────────────────────────────── */
/* ── Hero inline stats (merged from old stats section) ─────── */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.9rem 2.2rem;
  margin-top: 2.6rem;
  position: relative;
  z-index: 2;
  animation: heroFadeUp 0.7s 0.85s ease both;
}
.hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}
.hero-stat i { font-size: 1.05rem; color: #db2777; }
.hero-stat strong { color: #7c3aed; font-weight: 800; }

/* ── Logos strip (grayscale sliding marquee) ───────────────── */
.logos-strip {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(135deg, #faf5ff, #fdf2f8 50%, #fff7ed);
  overflow: hidden;
}
.logos-head { text-align: center; margin-bottom: 2.4rem; }
.logos-head .badge { margin: 0 auto; }
.logos-title {
  margin-top: 0.9rem;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-weight: 800;
  color: var(--text);
}
.logos-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.logos-track {
  display: flex;
  align-items: center;
  gap: 4.5rem;
  width: max-content;
  animation: scroll-left 34s linear infinite;
}
.logos-marquee:hover .logos-track { animation-play-state: paused; }
.logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-item img {
  height: 2.5rem;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.5;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}
.logo-item img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.06);
}

/* ── About ─────────────────────────────────────────────────── */
.about { background: linear-gradient(125deg, #faf5ff 0%, #fff 52%, #fdf2f8 100%); }
.about p { margin-top: 0.85rem; }

.about-card {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: linear-gradient(135deg, #ede9fe, #fce7f3, #ffedd5);
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  text-align: center;
  animation: float 6s ease-in-out infinite;
}
.about-card-inner { display: grid; place-items: center; gap: 0.3rem; }
.about-card h3 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0.6rem 0 0.3rem; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.spark {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 999px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: #fff;
  background: var(--gradient-brand);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}
.about-card:hover .spark { transform: rotate(20deg) scale(1.1); }

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 0.9rem;
}
.about-badge {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #374151;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(4px);
}
.about-badge i { color: #7c3aed; }

.chip-row { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  cursor: default;
}
.chip:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.chip-purple { background: #f3e8ff; color: #6d28d9; }
.chip-pink   { background: #fce7f3; color: #be185d; }
.chip-orange { background: #ffedd5; color: #c2410c; }

/* ── Services ──────────────────────────────────────────────── */
.services { background: #fff; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1.8rem;
  row-gap: 1.4rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  border-top-width: 4px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 52px rgba(236, 72, 153, 0.16);
}

/* Icon container */
.service-icon-wrap {
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 1.6rem;
  flex-shrink: 0;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.service-card:hover .service-icon-wrap {
  transform: scale(1.12) rotate(-4deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Text */
.service-card h3 {
  font-size: 1.12rem;
  line-height: 1.35;
  margin-bottom: 0.55rem;
}
.service-card > p {
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1rem;
  color: var(--muted);
}

/* Custom FA check bullets */
.service-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 0.87rem;
  line-height: 1;
}
.service-card ul li {
  position: relative;
  padding-left: 1.5rem;
  padding-top: 0.28rem;
  padding-bottom: 0.28rem;
  line-height: 1.5;
  border-top: 1px solid var(--line-soft);
}
.service-card ul li:last-child { border-bottom: 1px solid var(--line-soft); }
.service-card ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.6rem;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Card color variants */
.service-card.purple { border-top-color: #7c3aed; }
.service-card.pink   { border-top-color: #ec4899; }
.service-card.orange { border-top-color: #fb923c; }
.service-card.violet { border-top-color: #8b5cf6; }
.service-card.teal   { border-top-color: #14b8a6; }
.service-card.blue   { border-top-color: #3b82f6; }

.service-card.purple .service-icon-wrap { background: #f3e8ff; color: #7c3aed; }
.service-card.pink   .service-icon-wrap { background: #fce7f3; color: #db2777; }
.service-card.orange .service-icon-wrap { background: #ffedd5; color: #f97316; }
.service-card.violet .service-icon-wrap { background: #ede9fe; color: #7c3aed; }
.service-card.teal   .service-icon-wrap { background: #ccfbf1; color: #0d9488; }
.service-card.blue   .service-icon-wrap { background: #dbeafe; color: #2563eb; }

.service-card.purple ul li::before { color: #7c3aed; }
.service-card.pink   ul li::before { color: #ec4899; }
.service-card.orange ul li::before { color: #fb923c; }
.service-card.violet ul li::before { color: #8b5cf6; }
.service-card.teal   ul li::before { color: #0d9488; }
.service-card.blue   ul li::before { color: #2563eb; }

/* ── Work / Portfolio ──────────────────────────────────────── */
.work {
  background: linear-gradient(125deg, #fff7ed 0%, #fdf2f8 46%, #faf5ff 100%);
}
.work-grid {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.work-card { cursor: pointer; }
.work-card p {
  margin-top: 0.5rem;
  color: #db2777;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.work-card h3 {
  font-size: 1.5rem;
  margin-top: 0.3rem;
  transition: color 0.22s ease;
}
.work-card:hover h3 { color: #db2777; }

.work-preview {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.work-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.32s ease;
  z-index: 1;
}
.work-card:hover .work-preview { box-shadow: 0 32px 56px rgba(236,72,153,0.25); transform: translateY(-4px); }
.work-card:hover .work-preview::after { background: rgba(0,0,0,0.1); }

.work-preview .wp-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.5s ease;
}
.work-card:hover .work-preview .wp-image { transform: scale(1.04); }
.work-preview--has-image::after { background: rgba(0,0,0,0.08); }
.work-card:hover .work-preview--has-image::after { background: rgba(0,0,0,0.22); }

/* Decorative mock-screen elements */
.wp-deco {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  z-index: 0;
}
.wp-deco-dots { display: flex; gap: 0.5rem; }
.wp-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
}
.wp-deco-lines { display: flex; flex-direction: column; gap: 0.5rem; }
.wp-line { height: 0.75rem; border-radius: 999px; }
.wp-line-long  { width: 75%; background: rgba(255,255,255,0.4); }
.wp-line-short { width: 50%; background: rgba(255,255,255,0.3); }

.work-preview span {
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: translateY(6px);
  padding: 0.75rem 1.25rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  font-weight: 800;
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #111827;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.work-preview span i { color: #db2777; }
.work-card:hover .work-preview span { opacity: 1; transform: translateY(0); }

.gradient-a { background: linear-gradient(130deg, #c084fc, #f472b6, #fdba74); }
.gradient-b { background: linear-gradient(130deg, #f472b6, #fb7185, #fcd34d); }
.gradient-c { background: linear-gradient(130deg, #a78bfa, #c084fc, #f9a8d4); }
.gradient-d { background: linear-gradient(130deg, #fb923c, #fcd34d, #fde68a); }

/* ── Testimonials ──────────────────────────────────────────── */
.testimonials { overflow: hidden; }
.marquee-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
}
.marquee-left  { animation: scroll-left 34s linear infinite; }
.marquee-right { animation: scroll-right 30s linear infinite; }

/* Pause on hover */
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }

.testimonial-card {
  width: 320px;
  flex-shrink: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 1.3rem;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(139,92,246,0.12);
}
.testimonial-card p         { color: #f59e0b; font-size: 1rem; letter-spacing: 0.08em; }
.testimonial-card blockquote { margin: 0.45rem 0 0.9rem; color: #4b5563; font-size: 0.9rem; }
.testimonial-card h4         { font-size: 0.95rem; }
.testimonial-card span       { font-size: 0.8rem; color: #8b5cf6; font-weight: 700; }

@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes scroll-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* ── Contact ───────────────────────────────────────────────── */
.contact {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(128deg, #7c3aed, #ec4899 52%, #fb923c);
}
.contact .section-title { color: #fff; }
.contact-title span      { color: var(--yellow); }
.contact-copy {
  color: rgba(255,255,255,0.82);
  margin-top: 0.9rem;
  font-size: 1.14rem;
}
.contact-info {
  margin-top: 2rem;
  display: grid;
  gap: 0.95rem;
}
.contact-info a,
.contact-info p {
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.contact-info a:hover { opacity: 0.85; }
.contact-info i { font-size: 1.1rem; }

.contact-form-card {
  background: #fff;
  color: #111827;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: 0 30px 58px rgba(30,41,59,0.25);
}
.contact-form-card h3   { margin-bottom: 1rem; font-size: 1.3rem; }
.contact-form-card form,
.contact-form-card .sarkg-cf7-grid { display: grid; gap: 0.65rem; }
.contact-form-card label {
  font-weight: 800;
  color: #374151;
  font-size: 0.88rem;
  margin-bottom: -0.3rem;
}
.contact-form-card .wpcf7-form-control-wrap { display: block; }
.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
  color: #111827;
  padding: 0.72rem 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form-card input:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: #ec4899;
  box-shadow: 0 0 0 3px rgba(244,114,182,0.18);
  background: #fff;
}
.contact-form-card input.wpcf7-submit {
  width: 100%;
  height: 3.2rem;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--gradient-brand);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  font-weight: 800;
  padding: 0 1.2rem;
}
.contact-form-card input.wpcf7-submit:hover {
  box-shadow: 0 18px 40px rgba(236,72,153,0.35);
  filter: brightness(1.08);
}
.contact-form-card .wpcf7-spinner { margin: 0.4rem auto 0; }
.contact-form-card .wpcf7-not-valid-tip {
  margin-top: 0.25rem;
  color: #dc2626;
  font-size: 0.78rem;
  font-weight: 700;
}
.contact-form-card .wpcf7 form .wpcf7-response-output {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.45;
}

/* ── Portfolio Gallery Modal ────────────────────────────────── */
.gallery-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.gallery-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-modal {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  max-width: 56rem;
  padding: 0;
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.45);
  transform: scale(0.93) translateY(20px);
  transition: transform 0.32s cubic-bezier(0.34,1.5,0.64,1);
}
.gallery-overlay.is-open .gallery-modal {
  transform: scale(1) translateY(0);
}

.gallery-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #4b5563;
  transition: color 0.2s ease, transform 0.2s ease;
}
.gallery-close:hover { color: #ef4444; transform: scale(1.1); }

.gallery-viewport {
  width: 100%;
  height: clamp(16rem, 56.25vw, 31.5rem);
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: #111827;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  min-height: 0;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  background: var(--gallery-gradient, linear-gradient(135deg,#a855f7,#ec4899));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem;
  text-align: center;
}
.gallery-slide.active        { opacity: 1; z-index: 1; }
.gallery-slide.slide-out-left  { opacity: 0; transform: translateX(-40px); }
.gallery-slide.slide-out-right { opacity: 0; transform: translateX( 40px); }

.gallery-slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}
.gallery-slide.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17,24,39,0.22);
  pointer-events: none;
}

.gallery-deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.gallery-deco-line {
  left: 1.5rem;
  height: 0.5rem;
  border-radius: 999px;
}
.gallery-deco-line-long {
  top: 1.5rem;
  width: 8rem;
  background: rgba(255,255,255,0.3);
}
.gallery-deco-line-short {
  top: 3rem;
  width: 5rem;
  background: rgba(255,255,255,0.2);
}
.gallery-deco-tile {
  right: 1.5rem;
  bottom: 1.5rem;
  width: 6rem;
  height: 6rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
}
.gallery-deco-boxes {
  left: 1.5rem;
  bottom: 1.5rem;
  display: flex;
  gap: 0.5rem;
}
.gallery-deco-boxes span {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.3);
}
.gallery-slide-copy {
  position: relative;
  z-index: 2;
  max-width: min(36rem, 100%);
  padding: 0 1rem;
}
.gallery-slide-copy h4 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.25rem);
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 900;
  line-height: 1.12;
  text-shadow: 0 10px 24px rgba(0,0,0,0.2);
}
.gallery-slide-copy p {
  color: rgba(255,255,255,0.72);
  font-size: 1.125rem;
  margin-top: 0.5rem;
}
.gallery-slide-copy .gallery-slide-body {
  color: rgba(255,255,255,0.82);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 32rem;
  margin-inline: auto;
}

.gallery-bar {
  width: 100%;
  padding: 1.25rem 1.75rem 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
}
.gallery-bar-left  {
  min-width: 0;
  justify-self: start;
  text-align: left;
}
.gallery-slide-title { margin:0; font-weight:700; font-size:1rem; color:#111827; }
.gallery-slide-sub   { margin:.18rem 0 0; font-size:.875rem; color:#6b7280; }
.gallery-bar-right {
  display: flex;
  align-items: center;
  gap: .75rem;
  justify-self: end;
}
.gallery-counter { font-size:.875rem; color:#9ca3af; font-weight:500; white-space:nowrap; }
.gallery-demo-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.25rem;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(236,72,153,.32);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  white-space: nowrap;
}
.gallery-demo-link:hover,
.gallery-demo-link:focus,
.gallery-demo-link:active {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(236,72,153,0.35);
  filter: brightness(1.08);
}

.gallery-nav-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #374151;
  transition: background .2s ease, color .2s ease;
}
.gallery-nav-btn:hover { background: #fce7f3; color: #db2777; }

.gallery-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding-bottom: 1rem;
  padding-top: 0.25rem;
}
.gallery-dot {
  height: .5rem;
  width: .5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: #d1d5db;
  transition: width .25s ease, background .25s ease;
  padding: 0;
}
.gallery-dot:hover:not(.active) { background: #9ca3af; }
.gallery-dot.active { width: 1.5rem; background: linear-gradient(135deg,#6a0dad 0%,#e91e8c 50%,#f5a623 100%); }

.gallery-ext {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
  z-index: 10;
}
.gallery-ext:hover { background: rgba(255,255,255,.4); }
.gallery-ext-prev { left: 1rem; }
.gallery-ext-next { right: 1rem; }

@media (min-width: 768px) {
  .gallery-ext-prev { left: 2rem; }
  .gallery-ext-next { right: 2rem; }
}

@media (max-width: 600px) {
  .gallery-ext { display: none; }
  .gallery-bar {
    grid-template-columns: 1fr;
    padding: 1rem 1.1rem .85rem;
    gap: .8rem;
  }
  .gallery-bar-left,
  .gallery-bar-right {
    width: 100%;
  }
  .gallery-bar-right { justify-content: space-between; }
  .gallery-demo-link { font-size: .76rem; padding: .4rem .8rem; }
} /* end @media (max-width: 600px) */
