/* =========================================================
   Naweupo Pile Studios - Stationery Business Website
   Main Stylesheet
   Color Palette (from logo):
     Purple:      #8E24AA  (primary brand)
     Purple Dark: #7B1FA2
     Orange:      #FF9800  (primary action)
     Orange Dark: #F7931E
     Black:       #1A1A1A
     White:       #FFFFFF
     Light Grey:  #F5F5F5
     Dark Grey:   #333333
   ========================================================= */

/* ---------------------------------------------------------
   1. CSS Variables / Design Tokens
   --------------------------------------------------------- */
:root {
  --purple: #8e24aa;
  --purple-dark: #7b1fa2;
  --orange: #ff9800;
  --orange-dark: #f7931e;
  --black: #1a1a1a;
  --white: #ffffff;
  --light-grey: #f5f5f5;
  --dark-grey: #333333;
  --muted: #6b6b6b;
  --border: #e6e6e6;

  --font-base: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 8px rgba(26, 26, 26, 0.06);
  --shadow: 0 8px 24px rgba(26, 26, 26, 0.1);
  --shadow-lg: 0 16px 40px rgba(26, 26, 26, 0.14);

  --transition: 0.3s ease;
  --container: 1200px;
  --header-h: 76px;
}

/* ---------------------------------------------------------
   2. Reset & Base
   --------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-base);
  color: var(--dark-grey);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  color: var(--black);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}
h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
}
h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
}

p {
  color: var(--muted);
}

/* ---------------------------------------------------------
   3. Layout Helpers
   --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.section--grey {
  background-color: var(--light-grey);
}

.section-head {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 3rem;
}

.section-head .eyebrow {
  color: var(--purple);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: inline-block;
  margin-bottom: 0.6rem;
}

.section-head p {
  margin-top: 0.8rem;
  font-size: 1.05rem;
}

.text-balance {
  text-wrap: balance;
}

/* ---------------------------------------------------------
   4. Buttons
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--orange);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--purple);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--outline {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn--outline:hover {
  background-color: var(--white);
  color: var(--purple);
  transform: translateY(-2px);
}

.btn--ghost {
  background-color: transparent;
  border-color: var(--purple);
  color: var(--purple);
}

.btn--ghost:hover {
  background-color: var(--purple);
  color: var(--white);
}

.btn--sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
}

.btn--block {
  width: 100%;
}

/* Text link with arrow */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--purple);
  font-weight: 600;
  font-size: 0.9rem;
}

.link-more:hover {
  color: var(--orange);
  gap: 0.6rem;
}

/* ---------------------------------------------------------
   5. Header / Navigation
   --------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--black);
}

.nav__logo img {
  height: 44px;
  width: auto;
}

.nav__logo span {
  font-size: 1.05rem;
  line-height: 1.1;
}

.nav__logo span b {
  color: var(--purple);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav__link {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
  padding-bottom: 0.9rem; /* space for underline */
  border-radius: 8px;
  position: relative;
  transition: color 0.3s ease;
}

.nav__link:hover {
  color: rgba(255,255,255,1);
}

.nav__link.active {
  color: var(--orange);
  font-weight: 600;
}

.nav__link::after {
  /* centered, rounded indicator (hidden by default) */
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  height: 3px;
  width: 0;
  background-color: var(--orange);
  border-radius: 999px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), width 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease-in-out;
}

.nav__link.active::after {
  width: 40%;
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}

/* Make the CTA button (Contact) show the same active state */
.nav__cta .btn {
  position: relative;
  padding-bottom: 0.9rem;
  transition: color 0.3s ease;
}
.nav__cta .btn::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  height: 3px;
  width: 0;
  background-color: var(--orange);
  border-radius: 999px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), width 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease-in-out;
}
.nav__cta .btn.active::after {
  width: 40%;
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}
.nav__cta .btn.active {
  color: var(--orange);
}

/* Final override: ensure active nav color and underline win over other theme blocks */
.header .nav__link.active,
.header .nav__cta .btn.active,
.header .nav__link.active:hover,
.header .nav__cta .btn.active:hover {
  color: var(--orange) !important;
}
.header .nav__link.active::after,
.header .nav__cta .btn.active::after {
  background-color: var(--orange) !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

.nav__cta {
  margin-left: 0.6rem;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav__toggle span {
  width: 26px;
  height: 3px;
  background-color: var(--black);
  border-radius: 3px;
  transition: all var(--transition);
}

.nav__toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav__toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------------------------------------------------------
   6. Hero
   --------------------------------------------------------- */
.hero {
  position: relative;
  color: var(--white);
  display: flex;
  align-items: center;
  min-height: 84vh;
  background:
    linear-gradient(120deg, rgba(123, 31, 162, 0.92), rgba(142, 36, 170, 0.7)),
    url("../images/hero.png") center/cover no-repeat;
}

.hero__inner {
  max-width: 720px;
  padding-block: 5rem;
}

.hero .eyebrow {
  display: inline-block;
  background-color: rgba(255, 152, 0, 0.95);
  color: var(--white);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.4rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.2rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 2.2rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Page banner (interior pages) */
.page-banner {
  position: relative;
  color: var(--white);
  text-align: center;
  padding-block: clamp(3rem, 7vw, 5rem);
  background: linear-gradient(120deg, var(--purple-dark), var(--purple));
}

.page-banner h1 {
  color: var(--white);
  margin-bottom: 0.6rem;
}

.page-banner .breadcrumb {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.page-banner .breadcrumb a:hover {
  color: var(--orange);
}

/* ---------------------------------------------------------
   7. Cards (generic)
   --------------------------------------------------------- */
.grid {
  display: grid;
  gap: 1.8rem;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card__img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.card__body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.card__body h3 {
  font-size: 1.15rem;
}

.card__body p {
  font-size: 0.92rem;
  flex: 1;
}

/* ---------------------------------------------------------
   8. About preview (home)
   --------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.split__content h2 {
  margin-bottom: 1rem;
}

.split__content p {
  margin-bottom: 1rem;
}

.checklist {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0 2rem;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 500;
  color: var(--dark-grey);
}

.checklist .ico {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background-color: rgba(142, 36, 170, 0.12);
  color: var(--purple);
}

/* ---------------------------------------------------------
   9. Services
   --------------------------------------------------------- */
.service-card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card .icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: var(--white);
  margin-bottom: 0.4rem;
}

.service-card:nth-child(even) .icon-box {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
}

.service-card .icon-box svg {
  width: 30px;
  height: 30px;
}

.service-card p {
  flex: 1;
  font-size: 0.92rem;
}

/* Word-buttons that open a video modal (Content page) */
.content-video-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border: none;
  border-radius: 999px;
  padding: 0.3em 0.9em 0.3em 0.7em;
  margin: 0;
  font: inherit;
  font-weight: 700;
  color: #050816;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.content-video-trigger::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 0.4em solid transparent;
  border-bottom: 0.4em solid transparent;
  border-left: 0.55em solid #050816;
  flex-shrink: 0;
}

.content-video-trigger:hover,
.content-video-trigger:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  filter: brightness(1.08);
  outline: none;
}

/* ---------------------------------------------------------
   10. Why Choose Us / Features
   --------------------------------------------------------- */
.feature {
  text-align: center;
  padding: 1.5rem;
}

.feature .icon-circle {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background-color: rgba(255, 152, 0, 0.12);
  color: var(--orange);
}

.feature:nth-child(even) .icon-circle {
  background-color: rgba(142, 36, 170, 0.12);
  color: var(--purple);
}

.feature h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.feature p {
  font-size: 0.92rem;
}

/* ---------------------------------------------------------
   11. Products
   --------------------------------------------------------- */
.price {
  color: var(--purple);
  font-weight: 700;
  font-size: 1.15rem;
}

.product-card .card__body {
  gap: 0.4rem;
}

.product-card .badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange-dark);
  background-color: rgba(255, 152, 0, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
}

.product-card .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.6rem;
}

/* Toolbar: search + filters */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 240px;
  max-width: 420px;
}

.search-box input {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.8rem 1rem 0.8rem 2.8rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  background-color: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-box input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(142, 36, 170, 0.12);
}

.search-box svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  width: 18px;
  height: 18px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.filter-btn {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  background-color: var(--white);
  color: var(--dark-grey);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.filter-btn.active {
  background-color: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

.no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
  grid-column: 1 / -1;
  display: none;
}

/* ---------------------------------------------------------
   12. News
   --------------------------------------------------------- */
.news-card .meta,
.featured-news .meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.news-card .tag,
.featured-news .tag {
  background-color: rgba(142, 36, 170, 0.1);
  color: var(--purple);
  font-weight: 600;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-card .card__img {
  transition: transform var(--transition);
}

.news-card:hover .card__img {
  transform: scale(1.05);
}

.news-card .card__img-wrap {
  overflow: hidden;
}

/* Featured news (large) */
.featured-news {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 3rem;
}

.featured-news img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.featured-news__body {
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.featured-news__body h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

/* News layout w/ sidebar */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

.sidebar {
  display: grid;
  gap: 1.8rem;
}

.widget {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.widget h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}

.widget--full h3 {
  display: block;
}

.recent-post {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 0.6rem 0;
}

.recent-post img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.recent-post h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
}

.recent-post:hover h4 {
  color: var(--purple);
}

.recent-post span {
  font-size: 0.78rem;
  color: var(--muted);
}

.widget-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  cursor: pointer;
  transition: color var(--transition);
}

.widget-list li:last-child {
  border-bottom: none;
}

.widget-list li:hover {
  color: var(--purple);
}

.widget-list li span {
  color: var(--muted);
  font-size: 0.82rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.pagination button {
  font-family: inherit;
  min-width: 42px;
  height: 42px;
  padding: 0 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: var(--white);
  color: var(--dark-grey);
  cursor: pointer;
  font-weight: 500;
  transition: all var(--transition);
}

.pagination button:hover:not(:disabled) {
  border-color: var(--purple);
  color: var(--purple);
}

.pagination button.active {
  background-color: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

.pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ---------------------------------------------------------
   13. Testimonials Slider
   --------------------------------------------------------- */
.slider {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
}

.slides {
  overflow: hidden;
}

.slide {
  display: none;
  text-align: center;
  padding: 1rem;
  animation: fadeIn 0.6s ease;
}

.slide.active {
  display: block;
}

.slide .quote {
  font-size: 1.2rem;
  color: var(--dark-grey);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.6rem;
}

.slide .avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.8rem;
  border: 3px solid var(--orange);
}

.slide .name {
  font-weight: 700;
  color: var(--black);
}

.slide .role {
  font-size: 0.85rem;
  color: var(--purple);
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.8rem;
}

.slider__dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: none;
  background-color: var(--border);
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
}

.slider__dots button.active {
  background-color: var(--purple);
  transform: scale(1.25);
}

.slider__arrow {
  position: absolute;
  top: 38%;
  background-color: var(--white);
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  color: var(--purple);
  transition: all var(--transition);
}

.slider__arrow:hover {
  background-color: var(--purple);
  color: var(--white);
}

.slider__arrow.prev {
  left: -10px;
}
.slider__arrow.next {
  right: -10px;
}

/* ---------------------------------------------------------
   14. Stats
   --------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat .num {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}

.stat .label {
  margin-top: 0.5rem;
  font-weight: 500;
  color: var(--dark-grey);
}

.stats--onpurple .stat .num {
  color: var(--white);
}
.stats--onpurple .stat .label {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------------------------------------------------------
   15. CTA section
   --------------------------------------------------------- */
.cta {
  background: linear-gradient(120deg, var(--purple-dark), var(--purple));
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem);
}

.cta h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 540px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.cta__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta .btn--primary:hover {
  background-color: var(--white);
  color: var(--purple);
}

/* ---------------------------------------------------------
   16. Team
   --------------------------------------------------------- */
.team-card {
  text-align: center;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.team-card h3 {
  font-size: 1.15rem;
}

.team-card .role {
  color: var(--purple);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.team-card .socials {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.team-card .socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background-color: var(--light-grey);
  color: var(--purple);
  transition: all var(--transition);
}

.team-card .socials a:hover {
  background-color: var(--purple);
  color: var(--white);
}

/* Mission / Vision / Values */
.mvv-card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--orange);
}

.mvv-card:nth-child(even) {
  border-top-color: var(--purple);
}

.mvv-card .icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background-color: rgba(255, 152, 0, 0.12);
  color: var(--orange);
  margin-bottom: 1rem;
}

.mvv-card:nth-child(even) .icon-box {
  background-color: rgba(142, 36, 170, 0.12);
  color: var(--purple);
}

.mvv-card h3 {
  margin-bottom: 0.6rem;
}

/* ---------------------------------------------------------
   17. Gallery
   --------------------------------------------------------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.gallery-filter-btn {
  border: 1px solid rgba(142, 36, 170, 0.22);
  background-color: var(--white);
  color: var(--dark-grey);
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), color var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(180px, auto);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  min-height: 180px;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.gallery-item.is-hidden {
  opacity: 0;
  transform: scale(0.96);
  visibility: hidden;
  pointer-events: none;
}

.gallery-item--featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 360px;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 22, 0.05) 0%, rgba(5, 8, 22, 0.78) 100%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  color: var(--white);
  font-weight: 600;
  transition: opacity var(--transition);
}

.gallery-item:hover .overlay,
.gallery-item:focus-within .overlay {
  opacity: 1;
}

.gallery-item .overlay__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  transition: transform var(--transition), background-color var(--transition);
}

.gallery-item:hover .overlay__icon,
.gallery-item:focus-within .overlay__icon {
  transform: translate(-50%, -50%) scale(1);
  background-color: rgba(255, 152, 0, 0.95);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(5, 8, 22, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.25rem;
}

.lightbox.open {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.lightbox img {
  max-width: min(92vw, 920px);
  max-height: 84vh;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.14);
  border: none;
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background-color: var(--orange);
  transform: translateY(-1px);
}

.lightbox__close {
  top: 1.25rem;
  right: 1.25rem;
}

.lightbox__nav.prev {
  left: 1.25rem;
}
.lightbox__nav.next {
  right: 1.25rem;
}

.lightbox__caption {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 0.95rem;
  text-align: center;
  background-color: rgba(5, 8, 22, 0.4);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item--featured,
  .gallery-item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .gallery-item,
  .gallery-item--featured,
  .gallery-item--wide,
  .gallery-item--tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 220px;
  }

  .lightbox {
    padding: 1rem;
  }

  .lightbox__close,
  .lightbox__nav {
    width: 44px;
    height: 44px;
  }

  .lightbox__nav.prev {
    left: 0.75rem;
  }

  .lightbox__nav.next {
    right: 0.75rem;
  }
}

/* Video Modal (Content page - Podcasts / Films / Entertainment) */
.video-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(5, 8, 22, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.25rem;
}

.video-modal.open {
  display: flex !important;
  animation: fadeIn 0.3s ease;
}

.video-modal__box {
  position: relative;
  width: min(92vw, 960px);
}

.video-modal__frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: #000;
}

.video-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal__close {
  position: absolute;
  top: -50px;
  right: 0;
  background-color: rgba(255, 255, 255, 0.14);
  border: none;
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  transition: background-color var(--transition), transform var(--transition);
}

.video-modal__close:hover {
  background-color: var(--orange);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .video-modal {
    padding: 1rem;
  }

  .video-modal__close {
    top: -48px;
    width: 40px;
    height: 40px;
  }
}

/* ---------------------------------------------------------
   18. Contact
   --------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.info-item .icon-box {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: var(--white);
}

.info-item:nth-child(even) .icon-box {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
}

.info-item h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.info-item p {
  font-size: 0.92rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--dark-grey);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  color: var(--dark-grey);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(142, 36, 170, 0.12);
}

.form-group .error {
  color: #d32f2f;
  font-size: 0.8rem;
  margin-top: 0.3rem;
  display: none;
}

.form-group.invalid input,
.form-group.invalid textarea {
  border-color: #d32f2f;
}

.form-group.invalid .error {
  display: block;
}

.form-note {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background-color: rgba(142, 36, 170, 0.1);
  color: var(--purple-dark);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  display: none;
}

.form-note.show {
  display: block;
  animation: fadeIn 0.4s ease;
}

.form-note--error {
  background-color: rgba(255, 107, 107, 0.12);
  color: #d9364a;
}

.map-embed {
  margin-top: 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--light-grey);
  height: 380px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  position: relative;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list li span {
  font-weight: 600;
  color: var(--black);
}

/* ---------------------------------------------------------
   19. Footer - FIXED SOCIAL ICONS LAYOUT
   --------------------------------------------------------- */
.footer {
  background-color: var(--black);
  color: rgba(255, 255, 255, 0.72);
  padding-top: 4rem;
}

.footer h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  align-items: start;
}

.footer__brand img {
  height: 48px;
  margin-bottom: 1rem;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}

.footer__links li {
  margin-bottom: 0.7rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.footer__links a:hover {
  color: var(--orange);
  padding-left: 4px;
}

.footer__contact li {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  font-size: 0.92rem;
  align-items: flex-start;
}

.footer__contact svg {
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== SOCIAL ICONS - FIXED FLEXBOX LAYOUT ===== */
.footer__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px; /* consistent spacing between icons */
  margin-top: 1rem;
}

/* Each icon wrapper: exactly 48x48, centered, no overlap */
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px; /* prevent shrink/grow */
  border-radius: 50%;
  background: var(--orange); /* fallback if a platform-specific rule below doesn't match */
  box-shadow: 0 0 18px rgba(255, 152, 0, 0.55);
  color: var(--white);
  transition: all var(--transition);
  text-decoration: none;
  position: relative; /* for tooltip */
  overflow: hidden;
  border: none;
  /* Remove any absolute positioning, negative margins, or transforms that could cause overlap */
  margin: 0 !important;
  transform: none !important;
}

/* Official brand colours per platform */
.footer__social a[aria-label="YouTube"] {
  background: #ff0000;
  box-shadow: 0 0 18px rgba(255, 0, 0, 0.5);
}

.footer__social a[aria-label="Instagram"] {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  box-shadow: 0 0 18px rgba(214, 36, 159, 0.5);
}

.footer__social a[aria-label="Facebook"] {
  background: #1877f2;
  box-shadow: 0 0 18px rgba(24, 119, 242, 0.5);
}

.footer__social a[aria-label="WhatsApp"] {
  background: #25d366;
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.5);
}

.footer__social a:hover {
  filter: brightness(1.12);
  transform: translateY(-2px) !important;
}

.footer__social a[aria-label="YouTube"]:hover {
  box-shadow: 0 0 26px rgba(255, 0, 0, 0.8);
}

.footer__social a[aria-label="Instagram"]:hover {
  box-shadow: 0 0 26px rgba(214, 36, 159, 0.8);
}

.footer__social a[aria-label="Facebook"]:hover {
  box-shadow: 0 0 26px rgba(24, 119, 242, 0.8);
}

.footer__social a[aria-label="WhatsApp"]:hover {
  box-shadow: 0 0 26px rgba(37, 211, 102, 0.8);
}

/* Hide any text labels inside icons – show only SVG */
.footer__social a span,
.footer__social a .label,
.footer__social a .sr-only {
  display: none !important;
}

/* SVG inside icon: size controlled, centered */
.footer__social a svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: block;
  flex-shrink: 0;
}

/* Tooltip on hover (accessibility) */
.footer__social a::after {
  content: attr(aria-label);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) scale(0.95);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  letter-spacing: 0.3px;
}

.footer__social a:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
/* ===== END SOCIAL ICONS FIX ===== */

.newsletter {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter input {
  flex: 1;
  font-family: inherit;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 0.9rem;
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter input:focus {
  outline: none;
  border-color: var(--orange);
}

.newsletter button {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background-color: var(--orange);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color var(--transition);
}

.newsletter button:hover {
  background-color: var(--purple);
}

.newsletter-msg {
  font-size: 0.82rem;
  color: var(--orange);
  margin-top: 0.6rem;
  min-height: 1rem;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------------------------------------------------------
   20. Pricing / Video / Gallery Filters
   --------------------------------------------------------- */
.pricing-card {
  background: linear-gradient(135deg, rgba(142, 36, 170, 0.08), rgba(255, 152, 0, 0.12));
  border: 1px solid rgba(142, 36, 170, 0.15);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.pricing-card .checklist {
  max-width: 480px;
  margin-inline: auto;
  margin-block: 1.5rem 1.8rem;
  text-align: left;
}

.pricing-card__price {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 1.4rem;
}

.video-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.video-card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 0.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.video-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0.8rem 0.2rem 0.2rem;
}

.video-card__title {
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--black);
}

.video-card__link {
  align-self: flex-start;
}

.video-embed {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  aspect-ratio: 16 / 9;
  background-color: var(--black);
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-embed--featured {
  aspect-ratio: 16 / 10;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.gallery-filter-btn {
  border: 1px solid var(--border);
  background-color: var(--white);
  color: var(--dark-grey);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: all var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  border-color: var(--purple);
  color: var(--white);
}

.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background-color: var(--purple);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 900;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background-color: var(--orange);
}

/* ---------------------------------------------------------
   21. Animations
   --------------------------------------------------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  /* Content must never depend on script timing to be visible. */
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------
   22. Responsive
   --------------------------------------------------------- */
@media (max-width: 992px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .news-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 2rem;
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    transition: transform var(--transition);
    height: calc(100vh - var(--header-h));
    border-top: 1px solid var(--border);
  }

  .nav__menu.open {
    transform: translateY(0);
  }

  .nav__link {
    padding: 0.9rem 0.5rem;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
  }

  .nav__link.active::after {
    bottom: 6px;
  }

  .nav__cta {
    margin: 1rem 0 0;
  }

  .nav__toggle {
    display: flex;
  }

  .split,
  .contact-layout,
  .featured-news {
    grid-template-columns: 1fr;
  }

  .split__media {
    order: -1;
  }

  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .gallery-item.tall {
    grid-row: span 1;
  }

  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    max-width: none;
  }

  .slider__arrow {
    display: none;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .grid--4,
  .sidebar {
    grid-template-columns: 1fr;
  }

  .footer {
    padding-top: 3rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Social icons remain 48x48 on mobile with proper gap */
  .footer__social {
    gap: 12px;
  }

  .footer__social a {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

/* ---------------------------------------------------------
   23. Cinematic Premium Theme
   --------------------------------------------------------- */
:root {
  --purple: #6f3aa7;
  --purple-dark: #21122c;
  --orange: #c9974f;
  --orange-dark: #a87532;
  --black: #111015;
  --white: #fffdf8;
  --light-grey: #f5f0e8;
  --dark-grey: #2b2830;
  --muted: #6f6971;
  --border: rgba(17, 16, 21, 0.11);
  --champagne: #e4c990;
  --ink: #0e0d12;
  --plum: #281632;
  --paper: #fff9ef;
  --font-base: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 8px;
  --shadow-sm: 0 8px 26px rgba(17, 16, 21, 0.08);
  --shadow: 0 18px 45px rgba(17, 16, 21, 0.13);
  --shadow-lg: 0 30px 75px rgba(17, 16, 21, 0.2);
}

body {
  color: var(--dark-grey);
  background:
    radial-gradient(circle at 12% 5%, rgba(201, 151, 79, 0.14), transparent 28rem),
    linear-gradient(180deg, #fffaf1 0%, #f8f3ea 42%, #fffdf8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(17, 16, 21, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 16, 21, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

h1,
h2,
h3,
h4 {
  color: var(--black);
  letter-spacing: 0;
}

h1 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(2.45rem, 6.5vw, 5.6rem);
  line-height: 0.98;
  max-width: 11ch;
}

h2 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 3.35rem);
  line-height: 1.05;
}

p {
  color: var(--muted);
}

.section {
  position: relative;
}

.section--grey {
  background:
    linear-gradient(180deg, rgba(17, 16, 21, 0.045), rgba(17, 16, 21, 0.015)),
    var(--paper);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.2rem, 5vw, 4rem);
}

.eyebrow,
.section-head .eyebrow {
  color: var(--orange-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.btn {
  border-radius: var(--radius-sm);
  border-width: 1px;
  letter-spacing: 0.02em;
  box-shadow: none;
}

.btn--primary {
  background: linear-gradient(135deg, #d9b46d, #a87633);
  color: #171115;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #f0d79d, #bd8842);
  color: #171115;
  box-shadow: 0 16px 34px rgba(168, 117, 50, 0.28);
}

.btn--outline {
  border-color: rgba(255, 255, 255, 0.48);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--ink);
}

.btn--ghost {
  border-color: rgba(111, 58, 167, 0.28);
  color: var(--plum);
  background-color: rgba(255, 253, 248, 0.62);
}

.btn--ghost:hover {
  background-color: var(--plum);
  border-color: var(--plum);
}

.header {
  background-color: rgba(255, 250, 241, 0.84);
  border-bottom: 1px solid rgba(17, 16, 21, 0.09);
  backdrop-filter: blur(18px);
}

.header.scrolled {
  box-shadow: 0 14px 40px rgba(17, 16, 21, 0.09);
}

.nav__logo {
  color: var(--ink);
  letter-spacing: 0.01em;
}

.nav__logo img {
  height: 48px;
  filter: drop-shadow(0 8px 18px rgba(17, 16, 21, 0.12));
}

.nav__logo span b,
.nav__link.active,
.nav__link:hover {
  color: var(--plum);
}

.nav__link {
  border-radius: var(--radius-sm);
  color: rgba(17, 16, 21, 0.78);
}

.nav__link:hover {
  background-color: rgba(111, 58, 167, 0.07);
}

.nav__link.active::after {
  background: linear-gradient(90deg, var(--orange), var(--purple));
}

.hero {
  min-height: min(860px, 88vh);
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(14, 13, 18, 0.94) 0%, rgba(33, 18, 44, 0.82) 43%, rgba(33, 18, 44, 0.2) 100%),
    linear-gradient(0deg, rgba(14, 13, 18, 0.6), rgba(14, 13, 18, 0.08)),
    url("../images/hero.png") center/cover no-repeat;
}

.hero::after,
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, transparent 62%, rgba(14, 13, 18, 0.72)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 5px);
  mix-blend-mode: soft-light;
  opacity: 0.52;
  z-index: -1;
}

.hero__inner {
  max-width: 860px;
  padding-block: clamp(6rem, 14vw, 10rem);
}

.hero .eyebrow {
  background: rgba(255, 253, 248, 0.1);
  color: var(--champagne);
  border: 1px solid rgba(228, 201, 144, 0.36);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
}

.hero h1 {
  margin-bottom: 1.5rem;
  text-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

.hero p {
  max-width: 650px;
  color: rgba(255, 253, 248, 0.82);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.page-banner {
  overflow: hidden;
  text-align: left;
  padding-block: clamp(4.5rem, 10vw, 7.5rem);
  background:
    linear-gradient(90deg, rgba(14, 13, 18, 0.95), rgba(40, 22, 50, 0.78)),
    url("../images/team-work.png") center/cover no-repeat;
  isolation: isolate;
}

.page-banner h1 {
  max-width: 12ch;
}

.page-banner .breadcrumb {
  color: rgba(255, 253, 248, 0.72);
}

.card,
.service-card,
.mvv-card,
.widget,
.featured-news,
.map-embed {
  background-color: rgba(255, 253, 248, 0.86);
  border: 1px solid rgba(17, 16, 21, 0.09);
  box-shadow: var(--shadow-sm);
}

.card,
.service-card,
.mvv-card,
.widget {
  backdrop-filter: blur(12px);
}

.card:hover,
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 151, 79, 0.34);
}

.card__img,
.split__media img,
.team-card img,
.gallery-item img,
.featured-news img {
  filter: saturate(0.9) contrast(1.08);
}

.card__body {
  padding: 1.35rem;
}

.split {
  gap: clamp(2rem, 6vw, 5rem);
}

.split__media {
  position: relative;
}

.split__media::before {
  content: "";
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  border: 1px solid rgba(201, 151, 79, 0.46);
  border-radius: var(--radius);
  z-index: -1;
}

.split__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.checklist li {
  color: var(--dark-grey);
}

.checklist .ico,
.feature .icon-circle,
.mvv-card .icon-box {
  background-color: rgba(201, 151, 79, 0.16);
  color: var(--orange-dark);
}

.service-card .icon-box,
.info-item .icon-box {
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--plum), #6f3aa7);
  box-shadow: 0 14px 30px rgba(40, 22, 50, 0.18);
}

.service-card:nth-child(even) .icon-box,
.info-item:nth-child(even) .icon-box {
  background: linear-gradient(135deg, #d6b16b, #9f6f31);
  color: #171115;
}

.price,
.link-more,
.team-card .role,
.slide .role {
  color: var(--orange-dark);
}

.product-card .badge,
.news-card .tag,
.featured-news .tag,
.tag--soft {
  color: var(--plum);
  background-color: rgba(111, 58, 167, 0.1);
}

.search-box input,
.form-group input,
.form-group textarea,
.form-group select,
.newsletter input {
  border-radius: var(--radius-sm);
}

.search-box input,
.filter-btn,
.form-group input,
.form-group textarea,
.form-group select {
  background-color: rgba(255, 253, 248, 0.88);
}

.search-box input:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(201, 151, 79, 0.8);
  box-shadow: 0 0 0 4px rgba(201, 151, 79, 0.16);
}

.filter-btn {
  border-radius: var(--radius-sm);
}

.filter-btn:hover,
.filter-btn.active,
.filter-btn.is-active {
  border-color: var(--plum);
  color: var(--white);
  background-color: var(--plum);
}

.featured-news {
  border-radius: var(--radius);
}

.slide .quote {
  color: var(--black);
}

.slide .avatar {
  border-color: var(--champagne);
}

.stats {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(201, 151, 79, 0.28);
  background: linear-gradient(135deg, rgba(40, 22, 50, 0.96), rgba(17, 16, 21, 0.95));
  box-shadow: var(--shadow);
}

.stat .num,
.stats--onpurple .stat .num {
  color: var(--champagne);
}

.stat .label,
.stats--onpurple .stat .label {
  color: rgba(255, 253, 248, 0.74);
}

.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(14, 13, 18, 0.92), rgba(40, 22, 50, 0.86)),
    url("../images/about.png") center/cover no-repeat;
  box-shadow: var(--shadow-lg);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(228, 201, 144, 0.28);
  pointer-events: none;
}

.cta > * {
  position: relative;
}

.gallery-item {
  border-radius: var(--radius);
}

.gallery-item .overlay {
  background: linear-gradient(transparent 15%, rgba(14, 13, 18, 0.86));
}

.footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(111, 58, 167, 0.26), transparent 24rem),
    linear-gradient(180deg, #17121c, #0e0d12);
}

.footer__bottom {
  border-top-color: rgba(228, 201, 144, 0.18);
}

.footer__social a,
.newsletter button,
.scroll-top {
  background-color: var(--orange);
  color: #171115;
}

.footer__social a:hover,
.newsletter button:hover,
.scroll-top:hover {
  background-color: var(--champagne);
  color: #171115;
}

@media (max-width: 768px) {
  h1 {
    max-width: 13ch;
  }

  .nav__menu {
    background-color: rgba(255, 250, 241, 0.98);
    backdrop-filter: blur(18px);
  }

  .hero {
    min-height: 78vh;
    background:
      linear-gradient(180deg, rgba(14, 13, 18, 0.92), rgba(40, 22, 50, 0.72)),
      url("../images/hero.png") center/cover no-repeat;
  }

  .hero__inner {
    padding-block: 5rem;
  }

  .page-banner {
    text-align: center;
  }

  .page-banner h1 {
    margin-inline: auto;
  }

  .split__media::before {
    inset: 0.75rem -0.75rem -0.75rem 0.75rem;
  }
}

/* ---------------------------------------------------------
   24. Logo Palette Cinematic Youth Theme
   --------------------------------------------------------- */
:root {
  --purple: #8e24aa;
  --purple-dark: #7b1fa2;
  --orange: #ff9800;
  --orange-dark: #f7931e;
  --black: #1a1a1a;
  --white: #ffffff;
  --light-grey: #f5f5f5;
  --dark-grey: #333333;
  --muted: #66606a;
  --border: rgba(26, 26, 26, 0.1);
  --ink: #1a1a1a;
  --plum: #4c1368;
  --paper: #ffffff;
  --champagne: #ffbd58;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;
  --shadow-sm: 0 10px 24px rgba(26, 26, 26, 0.08);
  --shadow: 0 18px 46px rgba(123, 31, 162, 0.15);
  --shadow-lg: 0 30px 80px rgba(26, 26, 26, 0.22);
}

body {
  color: var(--dark-grey);
  background:
    radial-gradient(circle at 8% 6%, rgba(255, 152, 0, 0.16), transparent 24rem),
    radial-gradient(circle at 88% 0%, rgba(142, 36, 170, 0.16), transparent 26rem),
    var(--white);
}

h1,
h2 {
  font-family: var(--font-base);
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.25rem, 6vw, 5.1rem);
  line-height: 1;
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.08;
}

.header {
  background-color: rgba(255, 255, 255, 0.9);
}

.nav__logo span b,
.nav__link.active,
.nav__link:hover,
.link-more,
.price,
.team-card .role,
.slide .role {
  color: var(--purple);
}

.nav__link:hover {
  background-color: rgba(142, 36, 170, 0.08);
}

.btn {
  border-radius: 999px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  box-shadow: 0 14px 32px rgba(247, 147, 30, 0.28);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: var(--white);
  box-shadow: 0 18px 40px rgba(142, 36, 170, 0.28);
}

.btn--ghost {
  background-color: var(--white);
  border-color: rgba(142, 36, 170, 0.26);
  color: var(--purple);
}

.btn--ghost:hover {
  background-color: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

.hero {
  min-height: min(820px, 86vh);
  background:
    linear-gradient(110deg, rgba(26, 26, 26, 0.9) 0%, rgba(123, 31, 162, 0.84) 48%, rgba(255, 152, 0, 0.25) 100%),
    url("../images/hero.png") center/cover no-repeat;
}

.hero::after,
.page-banner::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, transparent 58%, rgba(26, 26, 26, 0.62)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 6px);
  mix-blend-mode: soft-light;
  opacity: 0.58;
  z-index: -1;
}

.hero .eyebrow,
.section-head .eyebrow,
.eyebrow {
  color: var(--orange-dark);
}

.hero .eyebrow {
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--purple));
  border-color: rgba(255, 255, 255, 0.24);
}

.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  padding-block: clamp(4.5rem, 10vw, 7.5rem);
  background:
    linear-gradient(110deg, rgba(26, 26, 26, 0.92), rgba(123, 31, 162, 0.82), rgba(255, 152, 0, 0.32)),
    url("../images/team-work.png") center/cover no-repeat;
}

.page-hero h1,
.page-hero p {
  color: var(--white);
}

.page-hero p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.breadcrumb a:hover {
  color: var(--orange);
}

.section--grey {
  background:
    linear-gradient(135deg, rgba(142, 36, 170, 0.06), rgba(255, 152, 0, 0.07)),
    var(--light-grey);
}

.card,
.service-card,
.mvv-card,
.widget,
.featured-news,
.map-embed {
  background-color: var(--white);
  border-color: rgba(26, 26, 26, 0.08);
  border-radius: var(--radius);
}

.card:hover,
.service-card:hover {
  border-color: rgba(255, 152, 0, 0.46);
}

.service-card .icon-box,
.info-item .icon-box {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
}

.service-card:nth-child(even) .icon-box,
.info-item:nth-child(even) .icon-box,
.feature .icon-circle,
.checklist .ico,
.mvv-card .icon-box {
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.18), rgba(247, 147, 30, 0.28));
  color: var(--orange-dark);
}

.product-card .badge,
.news-card .tag,
.featured-news .tag,
.tag--soft {
  color: var(--purple);
  background-color: rgba(142, 36, 170, 0.1);
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.shop-toolbar .search-box {
  max-width: 430px;
}

.filter-btn {
  border-radius: 999px;
}

.filter-btn:hover,
.filter-btn.active,
.filter-btn.is-active {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  border-color: var(--purple);
  color: var(--white);
}

.step {
  padding: 1.5rem;
  border-radius: var(--radius);
  background-color: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.step__num {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--purple));
  color: var(--white);
  font-weight: 800;
}

.cta {
  background:
    linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(123, 31, 162, 0.84)),
    url("../images/about.png") center/cover no-repeat;
}

.stats {
  border-radius: var(--radius);
  border-color: rgba(255, 152, 0, 0.32);
  background: linear-gradient(135deg, var(--purple-dark), var(--purple), var(--orange-dark));
}

.stat .num,
.stats--onpurple .stat .num {
  color: var(--white);
}

.footer {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 152, 0, 0.22), transparent 24rem),
    radial-gradient(circle at 90% 12%, rgba(142, 36, 170, 0.32), transparent 26rem),
    var(--black);
}

.footer__social a,
.newsletter button,
.scroll-top {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
}

.footer__social a:hover,
.newsletter button:hover,
.scroll-top:hover {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: var(--white);
}

@media (max-width: 992px) {
  .nav {
    height: auto;
    min-height: var(--header-h);
  }
}

@media (max-width: 768px) {
  .nav__menu {
    background-color: rgba(255, 255, 255, 0.98);
    overflow-y: auto;
  }

  .nav__link {
    font-size: 1rem;
  }

  .hero {
    min-height: 78vh;
    background:
      linear-gradient(180deg, rgba(26, 26, 26, 0.86), rgba(123, 31, 162, 0.78), rgba(255, 152, 0, 0.28)),
      url("../images/hero.png") center/cover no-repeat;
  }

  .page-hero {
    text-align: center;
  }

  .page-hero h1,
  .page-hero p {
    margin-inline: auto;
  }

  .breadcrumb {
    justify-content: center;
  }

  .shop-toolbar {
    align-items: stretch;
  }

  .shop-toolbar .search-box {
    max-width: none;
  }

  .filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card .row {
    align-items: stretch;
    flex-direction: column;
  }

  .product-card .row .btn {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .filters {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-block: 4rem;
  }
}

/* ---------------------------------------------------------
   25. Nawe Upopile Studio Content Polish
   --------------------------------------------------------- */
.nav {
  gap: 1rem;
}

.nav__menu {
  gap: 0.15rem;
}

.nav__link {
  padding-inline: 0.62rem;
  font-size: clamp(0.78rem, 0.8vw, 0.92rem);
}

.media-hero h1 {
  max-width: 14ch;
}

.media-category-strip {
  margin-bottom: 2rem;
}

.service-card--lg .checklist {
  margin-bottom: 0;
}

.service-card--lg .checklist li {
  align-items: flex-start;
  padding-left: 1rem;
  position: relative;
}

.service-card--lg .checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--purple));
}

.footer__brand h4 {
  margin-bottom: 0.6rem;
}

@media (max-width: 1120px) {
  .nav__logo span {
    font-size: 0.92rem;
  }

  .nav__link {
    padding-inline: 0.48rem;
    font-size: 0.78rem;
  }

  .nav__cta .btn {
    padding-inline: 0.9rem;
  }
}

@media (max-width: 768px) {
  .nav__logo span {
    font-size: 1rem;
  }

  .nav__link {
    padding: 0.9rem 0.5rem;
    font-size: 1rem;
  }

  .media-category-strip {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-layout .card {
    width: 100%;
  }
}

/* ---------------------------------------------------------
   26. Cyber Modern Premium Dark Theme
   --------------------------------------------------------- */
:root {
  --purple: #8b5cf6;
  --purple-dark: #3b0764;
  --orange: #22d3ee;
  --orange-dark: #06b6d4;
  --black: #f8fbff;
  --white: #0b1020;
  --light-grey: #101828;
  --dark-grey: #dbeafe;
  --muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.18);
  --ink: #f8fbff;
  --plum: #c084fc;
  --paper: #0f172a;
  --champagne: #67e8f9;
  --cyber-pink: #f472b6;
  --cyber-green: #34d399;
  --cyber-blue: #38bdf8;
  --panel: rgba(15, 23, 42, 0.74);
  --panel-strong: rgba(17, 24, 39, 0.9);
  --radius-sm: 8px;
  --radius: 8px;
  --radius-lg: 8px;
  --shadow-sm: 0 12px 32px rgba(0, 0, 0, 0.28);
  --shadow: 0 22px 56px rgba(0, 0, 0, 0.36);
  --shadow-lg: 0 34px 90px rgba(0, 0, 0, 0.52), 0 0 42px rgba(34, 211, 238, 0.12);
}

html {
  color-scheme: dark;
}

body {
  color: var(--dark-grey);
  background:
    radial-gradient(circle at 14% 10%, rgba(34, 211, 238, 0.18), transparent 25rem),
    radial-gradient(circle at 86% 4%, rgba(244, 114, 182, 0.16), transparent 25rem),
    radial-gradient(circle at 50% 100%, rgba(139, 92, 246, 0.14), transparent 33rem),
    linear-gradient(180deg, #050816 0%, #070b18 46%, #0b1020 100%);
}

body::before {
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0.72) 45%, transparent 92%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px);
  opacity: 0.08;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  letter-spacing: 0;
}

h1,
h2 {
  font-family: var(--font-base);
  font-weight: 800;
}

h1 {
  font-size: clamp(2.45rem, 6vw, 5.35rem);
  line-height: 0.98;
  max-width: 13ch;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

p {
  color: var(--muted);
}

.section--grey {
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(244, 114, 182, 0.06)),
    rgba(15, 23, 42, 0.7);
  border-block: 1px solid rgba(148, 163, 184, 0.12);
}

.eyebrow,
.section-head .eyebrow {
  color: var(--champagne);
  letter-spacing: 0.18em;
}

.btn {
  border-radius: var(--radius-sm);
  border-width: 1px;
  letter-spacing: 0;
}

.btn--primary {
  color: #03111f;
  border-color: rgba(103, 232, 249, 0.65);
  background: linear-gradient(135deg, var(--champagne), var(--cyber-blue));
  box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.18), 0 18px 46px rgba(34, 211, 238, 0.24);
}

.btn--primary:hover {
  color: #050816;
  background: linear-gradient(135deg, #a7f3d0, var(--champagne));
  box-shadow: 0 0 0 1px rgba(167, 243, 208, 0.28), 0 22px 54px rgba(52, 211, 153, 0.28);
}

.btn--outline,
.btn--ghost {
  color: var(--champagne);
  border-color: rgba(103, 232, 249, 0.45);
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(14px);
}

.btn--outline:hover,
.btn--ghost:hover {
  color: #050816;
  background: var(--champagne);
  border-color: var(--champagne);
}

.link-more,
.price,
.team-card .role,
.slide .role,
.nav__logo span b,
.nav__link.active,
.nav__link:hover {
  color: var(--champagne);
}

.header {
  background: rgba(5, 8, 22, 0.82);
  border-bottom: 1px solid rgba(103, 232, 249, 0.16);
  backdrop-filter: blur(18px);
}

.header.scrolled {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36), 0 1px 0 rgba(103, 232, 249, 0.14);
}

.nav__logo {
  color: var(--ink);
}

.nav__logo img {
  filter: drop-shadow(0 0 14px rgba(34, 211, 238, 0.34));
}

.nav__link {
  color: rgba(219, 234, 254, 0.82);
  border: 1px solid transparent;
}

.nav__link:hover {
  background: rgba(34, 211, 238, 0.08);
  border-color: rgba(34, 211, 238, 0.16);
}

.nav__link.active::after {
  background: linear-gradient(90deg, var(--champagne), var(--cyber-pink));
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.8);
}

.nav__toggle span {
  background-color: var(--champagne);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.45);
}

.hero {
  min-height: min(820px, 86vh);
  isolation: isolate;
  background:
    linear-gradient(100deg, rgba(5, 8, 22, 0.96) 0%, rgba(8, 13, 30, 0.9) 45%, rgba(8, 13, 30, 0.45) 100%),
    radial-gradient(circle at 24% 34%, rgba(34, 211, 238, 0.22), transparent 22rem),
    radial-gradient(circle at 72% 22%, rgba(244, 114, 182, 0.18), transparent 22rem),
    url("../images/hero.png") center/cover no-repeat;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(103, 232, 249, 0.16) 1px, transparent 1px),
    linear-gradient(rgba(103, 232, 249, 0.12) 1px, transparent 1px);
  background-size: 88px 88px;
  transform: perspective(700px) rotateX(60deg) translateY(10%);
  transform-origin: bottom;
  opacity: 0.32;
}

.hero::after,
.page-banner::after,
.page-hero::after {
  background:
    linear-gradient(to bottom, transparent 52%, rgba(5, 8, 22, 0.88)),
    repeating-linear-gradient(90deg, rgba(103, 232, 249, 0.07) 0 1px, transparent 1px 7px);
  opacity: 0.54;
  mix-blend-mode: screen;
}

.hero .eyebrow {
  color: var(--champagne);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(103, 232, 249, 0.36);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 0 24px rgba(34, 211, 238, 0.08), 0 0 28px rgba(34, 211, 238, 0.12);
}

.hero h1 {
  text-shadow: 0 0 36px rgba(34, 211, 238, 0.18);
}

.hero p {
  color: rgba(219, 234, 254, 0.82);
}

.page-hero,
.page-banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--ink);
  background:
    linear-gradient(110deg, rgba(5, 8, 22, 0.96), rgba(12, 18, 40, 0.9), rgba(34, 211, 238, 0.18)),
    radial-gradient(circle at 78% 18%, rgba(244, 114, 182, 0.18), transparent 24rem),
    url("../images/team-work.png") center/cover no-repeat;
}

.page-hero h1,
.page-hero p,
.page-banner h1,
.page-banner p {
  color: var(--ink);
}

.page-hero p {
  color: rgba(219, 234, 254, 0.78);
}

.breadcrumb {
  color: rgba(148, 163, 184, 0.92);
}

.breadcrumb a:hover {
  color: var(--champagne);
}

.card,
.service-card,
.mvv-card,
.widget,
.featured-news,
.map-embed,
.step,
.stats {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.66));
  border: 1px solid rgba(103, 232, 249, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}

.card:hover,
.service-card:hover,
.step:hover {
  border-color: rgba(103, 232, 249, 0.48);
  box-shadow: var(--shadow-lg);
}

.card__img,
.split__media img,
.team-card img,
.gallery-item img,
.featured-news img {
  filter: saturate(0.92) contrast(1.12) brightness(0.82);
}

.service-card .icon-box,
.info-item .icon-box,
.feature .icon-circle,
.checklist .ico,
.mvv-card .icon-box,
.step__num {
  color: #03111f;
  background: linear-gradient(135deg, var(--champagne), var(--cyber-blue));
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.24);
}

.service-card:nth-child(even) .icon-box,
.info-item:nth-child(even) .icon-box {
  color: #12071a;
  background: linear-gradient(135deg, var(--cyber-pink), var(--purple));
  box-shadow: 0 0 30px rgba(244, 114, 182, 0.24);
}

.service-card--lg .checklist li::before {
  background: linear-gradient(135deg, var(--champagne), var(--cyber-pink));
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.8);
}

.checklist li,
.stat .label,
.recent-post h4,
.form-group label,
.widget-list li {
  color: rgba(219, 234, 254, 0.86);
}

.product-card .badge,
.news-card .tag,
.featured-news .tag,
.tag--soft {
  color: var(--champagne);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.16);
}

.search-box input,
.filter-btn,
.form-group input,
.form-group textarea,
.form-group select,
.newsletter input {
  color: var(--ink);
  background: rgba(2, 6, 23, 0.68);
  border: 1px solid rgba(103, 232, 249, 0.16);
}

.search-box input::placeholder,
.form-group input::placeholder,
.form-group textarea::placeholder,
.newsletter input::placeholder {
  color: rgba(148, 163, 184, 0.72);
}

.search-box input:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(103, 232, 249, 0.75);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.14), 0 0 24px rgba(34, 211, 238, 0.12);
}

.filter-btn {
  color: rgba(219, 234, 254, 0.8);
}

.filter-btn:hover,
.filter-btn.active,
.filter-btn.is-active {
  color: #03111f;
  background: linear-gradient(135deg, var(--champagne), var(--cyber-blue));
  border-color: rgba(103, 232, 249, 0.72);
}

.cta {
  border: 1px solid rgba(103, 232, 249, 0.28);
  background:
    linear-gradient(135deg, rgba(5, 8, 22, 0.94), rgba(15, 23, 42, 0.86)),
    radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.26), transparent 22rem),
    radial-gradient(circle at 80% 10%, rgba(244, 114, 182, 0.22), transparent 22rem),
    url("../images/about.png") center/cover no-repeat;
  box-shadow: var(--shadow-lg);
}

.stats {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(7, 11, 24, 0.92)),
    linear-gradient(90deg, rgba(34, 211, 238, 0.14), rgba(244, 114, 182, 0.1));
}

.stat .num,
.stats--onpurple .stat .num {
  color: var(--champagne);
  text-shadow: 0 0 26px rgba(34, 211, 238, 0.38);
}

.gallery-item {
  border: 1px solid rgba(103, 232, 249, 0.16);
}

.gallery-item .overlay {
  background: linear-gradient(transparent 8%, rgba(5, 8, 22, 0.9));
}

.pagination button,
.slider__arrow {
  color: rgba(219, 234, 254, 0.84);
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(103, 232, 249, 0.2);
}

.pagination button:hover:not(:disabled),
.slider__arrow:hover,
.pagination button.active {
  color: #03111f;
  background: var(--champagne);
  border-color: var(--champagne);
}

.footer {
  background:
    radial-gradient(circle at 8% 0%, rgba(34, 211, 238, 0.2), transparent 25rem),
    radial-gradient(circle at 88% 18%, rgba(244, 114, 182, 0.18), transparent 25rem),
    linear-gradient(180deg, #070b18, #050816);
  border-top: 1px solid rgba(103, 232, 249, 0.16);
}

.footer__bottom {
  border-top-color: rgba(103, 232, 249, 0.14);
}

.footer__social a,
.newsletter button,
.scroll-top {
  color: #03111f;
  background: linear-gradient(135deg, var(--champagne), var(--cyber-blue));
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.24);
}

.footer__social a:hover,
.newsletter button:hover,
.scroll-top:hover {
  color: #050816;
  background: linear-gradient(135deg, #a7f3d0, var(--champagne));
}

@media (max-width: 768px) {
  .nav__menu {
    background: rgba(5, 8, 22, 0.98);
    border-top-color: rgba(103, 232, 249, 0.16);
    box-shadow: var(--shadow);
  }

  .nav__link {
    border-bottom-color: rgba(103, 232, 249, 0.12);
  }

  .hero {
    min-height: 78vh;
    background:
      linear-gradient(180deg, rgba(5, 8, 22, 0.94), rgba(8, 13, 30, 0.86), rgba(34, 211, 238, 0.14)),
      url("../images/hero.png") center/cover no-repeat;
  }
}

/* ---------------------------------------------------------
   27. Narrative Utopia Orange Neon Refinement
   --------------------------------------------------------- */
:root {
  --purple: #9d4edd;
  --purple-dark: #3b0764;
  --orange: #ff9800;
  --orange-dark: #ff6b00;
  --champagne: #ffb703;
  --cyber-blue: #ff7a18;
  --cyber-pink: #f72585;
  --cyber-green: #facc15;
  --shadow-lg: 0 34px 90px rgba(0, 0, 0, 0.52), 0 0 46px rgba(255, 152, 0, 0.15);
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 152, 0, 0.2), transparent 25rem),
    radial-gradient(circle at 86% 4%, rgba(157, 78, 221, 0.18), transparent 25rem),
    radial-gradient(circle at 50% 100%, rgba(247, 37, 133, 0.1), transparent 33rem),
    linear-gradient(180deg, #05040a 0%, #090614 46%, #120817 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(255, 152, 0, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 152, 0, 0.07) 1px, transparent 1px);
}

.section--grey {
  background:
    linear-gradient(135deg, rgba(255, 152, 0, 0.09), rgba(157, 78, 221, 0.08)),
    rgba(15, 12, 26, 0.76);
}

.btn--primary,
.service-card .icon-box,
.info-item .icon-box,
.feature .icon-circle,
.checklist .ico,
.mvv-card .icon-box,
.step__num,
.filter-btn:hover,
.filter-btn.active,
.filter-btn.is-active,
.footer__social a,
.newsletter button,
.scroll-top {
  color: #160b02;
  background: linear-gradient(135deg, var(--champagne), var(--orange), var(--orange-dark));
  border-color: rgba(255, 183, 3, 0.72);
  box-shadow: 0 0 0 1px rgba(255, 183, 3, 0.14), 0 18px 46px rgba(255, 107, 0, 0.24);
}

.btn--primary:hover,
.footer__social a:hover,
.newsletter button:hover,
.scroll-top:hover {
  color: #160b02;
  background: linear-gradient(135deg, #ffd166, var(--orange));
  box-shadow: 0 0 0 1px rgba(255, 209, 102, 0.26), 0 22px 54px rgba(255, 152, 0, 0.3);
}

.btn--outline,
.btn--ghost {
  color: var(--champagne);
  border-color: rgba(255, 183, 3, 0.45);
}

.btn--outline:hover,
.btn--ghost:hover,
.pagination button:hover:not(:disabled),
.slider__arrow:hover,
.pagination button.active {
  color: #160b02;
  background: var(--champagne);
  border-color: var(--champagne);
}

.link-more,
.price,
.team-card .role,
.slide .role,
.nav__logo span b,
.nav__link.active,
.nav__link:hover,
.eyebrow,
.section-head .eyebrow,
.hero .eyebrow,
.breadcrumb a:hover,
.product-card .badge,
.news-card .tag,
.featured-news .tag,
.tag--soft {
  color: var(--champagne);
}

.header {
  background: rgba(5, 4, 10, 0.84);
  border-bottom-color: rgba(255, 183, 3, 0.16);
}

.header.scrolled {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38), 0 1px 0 rgba(255, 183, 3, 0.14);
}

.nav__logo img {
  filter: drop-shadow(0 0 14px rgba(255, 152, 0, 0.34));
}

.nav__link:hover {
  background: rgba(255, 152, 0, 0.09);
  border-color: rgba(255, 183, 3, 0.16);
}

.nav__link.active::after {
  background: linear-gradient(90deg, var(--orange), var(--cyber-pink));
  box-shadow: 0 0 12px rgba(255, 152, 0, 0.8);
}

.nav__toggle span {
  background-color: var(--champagne);
  box-shadow: 0 0 10px rgba(255, 152, 0, 0.48);
}

.hero {
  background:
    linear-gradient(100deg, rgba(5, 4, 10, 0.96) 0%, rgba(15, 8, 28, 0.9) 45%, rgba(15, 8, 28, 0.48) 100%),
    radial-gradient(circle at 22% 34%, rgba(255, 152, 0, 0.24), transparent 22rem),
    radial-gradient(circle at 72% 22%, rgba(157, 78, 221, 0.18), transparent 22rem),
    url("../images/hero.png") center/cover no-repeat;
}

.hero::before,
.page-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 183, 3, 0.15) 1px, transparent 1px),
    linear-gradient(rgba(255, 183, 3, 0.11) 1px, transparent 1px);
}

.hero::after,
.page-banner::after,
.page-hero::after {
  background:
    linear-gradient(to bottom, transparent 52%, rgba(5, 4, 10, 0.88)),
    repeating-linear-gradient(90deg, rgba(255, 183, 3, 0.08) 0 1px, transparent 1px 7px);
}

.hero .eyebrow {
  background: rgba(255, 152, 0, 0.1);
  border-color: rgba(255, 183, 3, 0.36);
  box-shadow: inset 0 0 24px rgba(255, 152, 0, 0.1), 0 0 28px rgba(255, 152, 0, 0.14);
}

.hero h1 {
  text-shadow: 0 0 38px rgba(255, 152, 0, 0.2);
}

.page-hero,
.page-banner {
  background:
    linear-gradient(110deg, rgba(5, 4, 10, 0.96), rgba(18, 8, 23, 0.9), rgba(255, 152, 0, 0.2)),
    radial-gradient(circle at 78% 18%, rgba(157, 78, 221, 0.2), transparent 24rem),
    url("../images/team-work.png") center/cover no-repeat;
}

.card,
.service-card,
.mvv-card,
.widget,
.featured-news,
.map-embed,
.step,
.stats {
  background: linear-gradient(180deg, rgba(18, 13, 32, 0.9), rgba(15, 12, 26, 0.68));
  border-color: rgba(255, 183, 3, 0.16);
}

.card:hover,
.service-card:hover,
.step:hover {
  border-color: rgba(255, 183, 3, 0.5);
}

.service-card:nth-child(even) .icon-box,
.info-item:nth-child(even) .icon-box {
  color: #fff7ed;
  background: linear-gradient(135deg, var(--purple), var(--cyber-pink));
  box-shadow: 0 0 30px rgba(247, 37, 133, 0.24);
}

.service-card--lg .checklist li::before {
  background: linear-gradient(135deg, var(--orange), var(--cyber-pink));
  box-shadow: 0 0 10px rgba(255, 152, 0, 0.82);
}

.product-card .badge,
.news-card .tag,
.featured-news .tag,
.tag--soft {
  background: rgba(255, 152, 0, 0.1);
  border-color: rgba(255, 183, 3, 0.16);
}

.search-box input,
.filter-btn,
.form-group input,
.form-group textarea,
.form-group select,
.newsletter input,
.pagination button,
.slider__arrow {
  border-color: rgba(255, 183, 3, 0.16);
}

.search-box input:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(255, 183, 3, 0.75);
  box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.14), 0 0 24px rgba(255, 152, 0, 0.12);
}

.cta {
  border-color: rgba(255, 183, 3, 0.28);
  background:
    linear-gradient(135deg, rgba(5, 4, 10, 0.94), rgba(18, 13, 32, 0.86)),
    radial-gradient(circle at 20% 20%, rgba(255, 152, 0, 0.28), transparent 22rem),
    radial-gradient(circle at 80% 10%, rgba(157, 78, 221, 0.22), transparent 22rem),
    url("../images/about.png") center/cover no-repeat;
}

.stats {
  background:
    linear-gradient(135deg, rgba(18, 13, 32, 0.92), rgba(5, 4, 10, 0.92)),
    linear-gradient(90deg, rgba(255, 152, 0, 0.16), rgba(157, 78, 221, 0.1));
}

.stat .num,
.stats--onpurple .stat .num {
  color: var(--champagne);
  text-shadow: 0 0 26px rgba(255, 152, 0, 0.42);
}

.gallery-item {
  border-color: rgba(255, 183, 3, 0.16);
}

.footer {
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 152, 0, 0.22), transparent 25rem),
    radial-gradient(circle at 88% 18%, rgba(157, 78, 221, 0.2), transparent 25rem),
    linear-gradient(180deg, #090614, #05040a);
  border-top-color: rgba(255, 183, 3, 0.16);
}

.footer__bottom {
  border-top-color: rgba(255, 183, 3, 0.14);
}

@media (max-width: 768px) {
  .nav__menu {
    background: rgba(5, 4, 10, 0.98);
    border-top-color: rgba(255, 183, 3, 0.16);
  }

  .nav__link {
    border-bottom-color: rgba(255, 183, 3, 0.12);
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(5, 4, 10, 0.94), rgba(15, 8, 28, 0.86), rgba(255, 152, 0, 0.14)),
      url("../images/hero.png") center/cover no-repeat;
  }
}

.hero,
.page-hero,
.page-banner {
  background:
    linear-gradient(110deg, rgba(5, 4, 10, 0.94), rgba(18, 8, 23, 0.86), rgba(5, 4, 10, 0.42)),
    url("../images/ChatGPT Image Jul 1, 2026, 09_12_55 AM.png") center/cover no-repeat;
}

.hero::before,
.page-hero::before,
.page-banner::before {
  opacity: 0.09;
}

.hero::after,
.page-hero::after,
.page-banner::after {
  background:
    linear-gradient(to bottom, rgba(5, 4, 10, 0.18), rgba(5, 4, 10, 0.78)),
    repeating-linear-gradient(90deg, rgba(255, 183, 3, 0.04) 0 1px, transparent 1px 7px);
}

/* =========================================================
   FIX: Dark text on dark backgrounds - ensure all text is readable
   ========================================================= */

/* All hero/page banner text - force white with shadow */
.hero *,
.page-hero *,
.page-banner * {
  color: #ffffff !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.42) !important;
}

/* All text in dark themed sections */
.hero *,
.page-hero *,
.page-banner *,
.footer *,
.section--dark * {
  color: #ffffff !important;
}

/* Card text in dark themes - force white for readability */
.card *,
.service-card *,
.mvv-card *,
.widget *,
.featured-news *,
.step *,
.stats *,
.cta *,
.pricing-card * {
  color: #ffffff;
}

/* Buttons keep original colors - don't override */
.btn,
.btn * {
  color: inherit !important;
  text-shadow: none !important;
}

.btn--primary,
.btn--primary * {
  color: var(--white) !important;
}

.btn--primary:hover,
.btn--primary:hover * {
  color: var(--white) !important;
}

..btn--outline,
.btn--outline * {
  color: var(--white) !important;
}

.btn--ghost,
.btn--ghost * {
  color: var(--white) !important;
}

.btn--ghost:hover,
.btn--ghost:hover * {
  color: var(--white) !important;
}

/* Strong override for homepage hero outline button */
.hero .btn--outline,
.hero .btn--outline *,
.hero .btn--outline:hover,
.hero .btn--outline:hover * {
  color: #ffffff !important;
  border-color: #ffffff !important;
}

/* Strong override for section--grey ghost buttons */
.section--grey .btn--ghost,
.section--grey .btn--ghost * {
  color: #ffffff !important;
  border-color: #ffffff !important;
}

/* Fix news card read more ghost buttons on dark backgrounds */
.news-card .btn--ghost,
.news-card .btn--ghost * {
  color: #ffffff !important;
}
.news-card .btn--ghost {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
}
.news-card .btn--ghost:hover {
  background-color: rgba(255, 255, 255, 0.2) !important;
}

/* Brand colors for accent elements - keep visible */
.link-more,
.price,
.team-card .role,
.slide .role,
.nav__logo span b,
.nav__link.active,
.nav__link:hover,
.eyebrow,
.section-head .eyebrow,
.product-card .badge,
.news-card .tag,
.featured-news .tag,
.tag--soft {
  color: var(--champagne) !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3) !important;
}

/* Checklist items in dark themes */
.checklist li {
  color: rgba(219, 234, 254, 0.86) !important;
}

/* Form labels in dark themes */
.form-group label {
  color: rgba(219, 234, 254, 0.86) !important;
}

/* Footer text - keep readable */
.footer * {
  color: rgba(255, 255, 255, 0.72) !important;
}

.footer h4 {
  color: #ffffff !important;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.72) !important;
}

.footer__links a:hover {
  color: var(--orange) !important;
}

.footer__contact li {
  color: rgba(255, 255, 255, 0.72) !important;
}

.footer__contact svg {
  color: var(--orange) !important;
}

.footer__social a {
  color: #ffffff !important;
}

.footer__social a:hover {
  color: #ffffff !important;
}

.newsletter input {
  color: #ffffff !important;
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

.newsletter button {
  color: #ffffff !important;
}

.newsletter button:hover {
  color: #ffffff !important;
}

.footer__bottom {
  color: rgba(255, 255, 255, 0.55) !important;
}

/* Pagination in dark themes */
.pagination button {
  color: rgba(219, 234, 254, 0.84) !important;
}

.pagination button.active {
  color: #03111f !important;
}

/* Slider arrows */
.slider__arrow {
  color: rgba(219, 234, 254, 0.84) !important;
}

.slider__arrow:hover {
  color: #03111f !important;
}

/* Gallery overlay text */
.gallery-item .overlay {
  color: #ffffff !important;
}

/* Lightbox text */
.lightbox__caption {
  color: #ffffff !important;
}

/* Scroll top button */
.scroll-top {
  color: #03111f !important;
}

.scroll-top:hover {
  color: #050816 !important;
}

/* Recent posts */
.recent-post h4 {
  color: rgba(219, 234, 254, 0.86) !important;
}

.recent-post span {
  color: var(--muted) !important;
}

/* Widget list */
.widget-list li {
  color: rgba(219, 234, 254, 0.86) !important;
}

.widget-list li span {
  color: var(--muted) !important;
}

/* Breadcrumb */
.breadcrumb * {
  color: rgba(255, 255, 255, 0.8) !important;
}

.breadcrumb a:hover {
  color: var(--orange) !important;
}

/* Hero eyebrow */
.hero .eyebrow {
  color: var(--champagne) !important;
}

/* Override any conflicting rules - ensure hero text stays white */
.hero h1,
.hero h2,
.hero h3,
.hero p,
.page-hero h1,
.page-hero h2,
.page-hero h3,
.page-hero p,
.page-banner h1,
.page-banner h2,
.page-banner h3,
.page-banner p {
  color: #ffffff !important;
}

.cta--video {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #05040a;
}

.cta--video .cta-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta--video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(110deg, rgba(5, 4, 10, 0.78), rgba(18, 8, 23, 0.66), rgba(5, 4, 10, 0.36)),
    linear-gradient(to bottom, rgba(5, 4, 10, 0.12), rgba(5, 4, 10, 0.72));
}

.cta--video > *:not(.cta-bg-video) {
  position: relative;
  z-index: 2;
}

/* ---------------------------------------------------------
   RESPONSIVE FIX: Footer social icons on mobile
   --------------------------------------------------------- */
@media (max-width: 540px) {
  .footer__social {
    gap: 12px;
    justify-content: flex-start;
  }

  .footer__social a {
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
  }
}

/* Ensure no absolute positioning or negative margins on social icons */
.footer__social a {
  position: relative;
  margin: 0 !important;
  transform: none !important;
}

.footer__social a:hover {
  transform: translateY(-2px) !important;
}
/* =========================================================
   Dynamic Content Support (News/Gallery loaded from Firebase)
   ========================================================= */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  font-size: 1rem;
}

.news-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;
}

.news-modal.open {
  display: flex;
}

.news-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.75);
}

.news-modal__box {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.news-modal__img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 16px;
  max-height: 320px;
  object-fit: cover;
}

.news-modal__meta {
  color: var(--orange-dark);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.news-modal__content {
  color: var(--dark-grey);
  line-height: 1.7;
  white-space: pre-wrap;
}

.news-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--light-grey);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--black);
}

.news-modal__close:hover {
  background: var(--border);
}

/* Main navigation: a layout-neutral current-page indicator. */
.header .nav__link {
  color: rgba(255, 255, 255, 0.84);
  position: relative;
  transition: color 0.3s ease;
}

.header .nav__link:hover {
  color: rgba(255, 255, 255, 1);
}

.header .nav__link.active {
  color: var(--orange) !important;
}

.header .nav__link::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 38%;
  height: 3px;
  border-radius: 999px;
  background: var(--orange) !important;
  box-shadow: none !important;
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header .nav__link.active::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.header .nav__cta {
  margin-left: 0.6rem;
}

@media (max-width: 768px) {
  .header .nav__link::after {
    bottom: 5px;
  }
}
/* News pagination - disabled state (First/Previous/Next/Last) */
.news-pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Author feed page - clean list layout (author.php) */
.author-feed {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.author-feed__item {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.author-feed__thumb {
  flex: 0 0 140px;
  width: 140px;
  height: 100px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: block;
}

.author-feed__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-feed__body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.author-feed__body h3 a {
  color: #ffffff !important;
  opacity: 1 !important;
  text-decoration: none;
}

.author-feed__body h3 a:hover {
  color: var(--orange) !important;
}

.author-feed__meta {
  font-size: 0.82rem;
  color: var(--orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.author-feed__excerpt {
  font-size: 0.92rem;
  opacity: 0.75;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .author-feed__item {
    flex-direction: column;
  }
  .author-feed__thumb {
    width: 100%;
    height: 180px;
  }
}