/* ==========================================================================
   niyitech studios — design tokens
   ========================================================================== */

@font-face {
  font-family: "Stack Sans Headline";
  src: url("../fonts/stack-sans/StackSansHeadline-ExtraLight.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #03061f;
  --coral: #dd1d18;
  --mint: #eac306;
  --hover-blue: #3114d9;
  --cream: #ffffff;
  --white: #ffffff;
  --text: #000000;
  --text-muted: rgba(0, 0, 0, 0.7);

  --font: "Stack Sans Headline", "Kumbh Sans", ui-sans-serif, system-ui, sans-serif;
  --font-headline: var(--font);

  --header-h: 96px;
  --container-w: 1280px;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

button {
  font: inherit;
  color: inherit;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  line-height: 28px;
  color: var(--text);
  background: var(--cream);
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: normal;
}

h1,
h2,
h3 {
  font-family: var(--font-headline);
  font-weight: 200;
}

h1 {
  font-size: 50px;
  line-height: 70px;
}

h2 {
  font-size: 40px;
  line-height: 48px;
}

p {
  margin: 0;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- buttons ---------------------------------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease,
    box-shadow 0.25s ease;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0%;
  background: var(--hover-blue);
  z-index: -1;
  transition: width 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}
.btn:hover::before {
  width: 100%;
}
.btn i {
  transition: transform 0.25s ease;
}
.btn:hover i {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
}
.btn-primary:hover {
  border-color: var(--hover-blue);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -12px rgba(49, 20, 217, 0.55);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--hover-blue);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -12px rgba(49, 20, 217, 0.55);
}

.btn-outline-dark {
  border-color: rgba(31, 27, 36, 0.25);
  color: var(--text);
}
.btn-outline-dark:hover {
  color: var(--white);
  border-color: var(--hover-blue);
  transform: translateY(-2px);
}

/* ---- header ------------------------------------------------------------ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--ink);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: baseline;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}
.logo-dot {
  color: var(--coral);
  font-size: 1.5em;
  line-height: 0;
}
.logo-sub {
  margin-left: 10px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.main-nav {
  display: none;
  align-items: center;
  gap: 40px;
}
.main-nav a {
  color: var(--white);
  font-weight: 500;
  font-size: 16px;
  transition: color 0.2s ease;
}
.main-nav a:hover {
  color: var(--hover-blue);
}

.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 500;
  white-space: nowrap;
}
.header-phone i {
  color: var(--coral);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 7px;
  width: 30px;
  height: 26px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hamburger-bar {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--white);
  transition: width 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.25s ease;
}
.hamburger-bar:nth-child(1) {
  width: 100%;
}
.hamburger-bar:nth-child(2) {
  width: 60%;
}
.menu-toggle:hover {
  transform: scale(1.1);
}
.menu-toggle:hover .hamburger-bar {
  width: 100%;
  background: var(--coral);
}
.menu-toggle:hover .hamburger-bar:nth-child(1) {
  width: 65%;
}

@media (min-width: 900px) {
  .main-nav {
    display: flex;
  }
  .header-phone {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
}

/* ---- mobile menu overlay ---------------------------------------------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ink);
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  transition: clip-path 0.65s cubic-bezier(0.83, 0, 0.17, 1);
  pointer-events: none;
}
.mobile-menu.open {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: auto;
}
.mobile-menu-top {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.mobile-menu-close {
  position: relative;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.close-bar {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.25s ease;
}
.close-bar:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.close-bar:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.mobile-menu-close:hover {
  transform: scale(1.1);
}
.mobile-menu-close:hover .close-bar {
  background: var(--coral);
}
.mobile-menu-close:hover .close-bar:nth-child(1) {
  transform: translate(-50%, -50%) rotate(90deg);
}
.mobile-menu-close:hover .close-bar:nth-child(2) {
  transform: translate(-50%, -50%) rotate(0deg);
}
.mobile-menu-nav {
  padding: 32px 24px;
}
.mobile-menu-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-menu-nav a,
.mobile-menu-nav button.panel-link {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  background: none;
  border: none;
  text-align: left;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.mobile-menu-nav li {
  opacity: 0;
  transform: translateY(18px);
}
.mobile-menu.open .mobile-panel.active li {
  animation: mobile-nav-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.mobile-menu.open .mobile-panel.active li:nth-child(1) { animation-delay: 0.3s; }
.mobile-menu.open .mobile-panel.active li:nth-child(2) { animation-delay: 0.37s; }
.mobile-menu.open .mobile-panel.active li:nth-child(3) { animation-delay: 0.44s; }
.mobile-menu.open .mobile-panel.active li:nth-child(4) { animation-delay: 0.51s; }
.mobile-menu.open .mobile-panel.active li:nth-child(5) { animation-delay: 0.58s; }
.mobile-menu.open .mobile-panel.active li:nth-child(6) { animation-delay: 0.65s; }
.mobile-menu.open .mobile-panel.active li:nth-child(7) { animation-delay: 0.72s; }
.mobile-menu.open .mobile-panel.active li:nth-child(8) { animation-delay: 0.79s; }
.mobile-menu.open .mobile-panel.active li:nth-child(9) { animation-delay: 0.86s; }
@keyframes mobile-nav-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mobile-menu-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.mobile-menu-contact a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.mobile-menu-contact a i {
  color: var(--coral);
  font-size: 20px;
}
.mobile-menu-contact a:hover {
  color: var(--hover-blue);
}
.mobile-menu-contact a:hover i {
  color: var(--hover-blue);
}
.mobile-menu-nav a:hover,
.mobile-menu-nav button.panel-link:hover {
  color: var(--hover-blue);
}
.panel-back {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 24px;
  cursor: pointer;
  padding: 0;
}
.panel-back:hover {
  color: var(--hover-blue);
}
.mobile-panel {
  display: none;
}
.mobile-panel.active {
  display: block;
}

/* ---- hero --------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  padding-top: calc(var(--header-h) + 220px);
  padding-bottom: 160px;
}
.hero-plasma {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero .container > * {
  max-width: 700px;
}
.hero h1 {
  color: var(--white);
}
.title-dot {
  color: var(--coral);
}
.service-hero-sub {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  opacity: 0.9;
}
.hero h1 + p {
  margin-top: 16px;
}
@media (max-width: 699px) {
  .service-hero-sub {
    margin-top: 24px;
  }
  .hero h1 + p {
    margin-top: 24px;
  }
}
.hero p {
  color: rgba(255, 255, 255, 0.75);
}
.hero-headline {
  font-size: 44px;
  line-height: 1.25;
  font-weight: 200;
  letter-spacing: -0.02em;
  color: var(--white);
}
@media (min-width: 700px) {
  .hero-headline {
    font-size: 75px;
  }
}
@keyframes reveal-char {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.split-word {
  display: inline-block;
  white-space: nowrap;
}
.split-char {
  display: inline-block;
  opacity: 0;
  animation: reveal-char 0.8s cubic-bezier(0.2, 0.65, 0.3, 0.9) forwards;
}
.hero-quote-lead {
  max-width: 520px;
  margin-top: 20px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

/* ---- background grid overlay + scroll reveal --------------------------------- */

.bg-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  max-width: var(--container-w);
  margin: 0 auto;
  pointer-events: none;
  opacity: 0.5;
}
.bg-grid span {
  flex: 1;
  height: 100%;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.bg-grid span:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.delay-200 {
  transition-delay: 0.15s;
}

/* ---- section shells ------------------------------------------------------ */

section {
  padding: 90px 0;
}
.section-tight {
  padding: 90px 0;
}
.section-title {
  text-align: center;
}
.eyebrow {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- numbered services section ------------------------------------------------ */

.services-numbered {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.services-numbered-head {
  position: relative;
  padding-bottom: 56px;
}
.services-numeral {
  position: absolute;
  top: -12px;
  right: 0;
  font-size: 72px;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.12);
  letter-spacing: -0.02em;
}
.services-numbered-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 900px) {
  .services-numbered-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }
}
.fade-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  transition: opacity 0.2s ease;
  min-height: 90px;
}
.services-desc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--coral);
}
.services-desc-link i {
  transform: rotate(45deg);
}
.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.services-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  margin: 0 -24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.services-list-item:hover {
  background: var(--coral);
  color: var(--white);
}
.services-list-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.3;
  position: relative;
  transition: opacity 0.3s ease;
}
.services-list-dot::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: currentColor;
}
.services-list-item:hover .services-list-dot {
  opacity: 1;
}
.services-image-col img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  filter: grayscale(1);
  transform: scale(1);
  transition: filter 0.5s ease, transform 0.5s ease;
}
.services-numbered:hover .services-image-col img {
  filter: grayscale(0);
  transform: scale(1.03);
}
.faq-section .section-title {
  font-size: 48px;
}
.section-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 14px;
  background: rgba(221, 29, 24, 0.08);
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.section-sub {
  text-align: center;
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--text-muted);
}
.bg-ink {
  background: var(--ink);
  color: var(--white);
}
.bg-panel {
  background: #f7f7f7;
}

/* ---- services grid -------------------------------------------------------- */

.services-grid {
  margin-top: 88px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 56px;
  text-align: center;
}
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.service-card {
  padding: 32px 20px;
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -20px rgba(25, 21, 33, 0.25);
}
.service-icon {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 28px;
  border-radius: 18px;
  background: rgba(221, 29, 24, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--coral);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.service-icon::before,
.service-icon::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.7;
}
.service-icon::before {
  top: -10px;
  left: -10px;
}
.service-icon::after {
  bottom: -8px;
  right: -8px;
}
.service-card:hover .service-icon {
  background: var(--coral);
  color: var(--white);
}
.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-muted);
}
.service-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-weight: 700;
  font-size: 14px;
  color: var(--coral);
}

/* ---- tab filter + service cards --------------------------------------------- */

.tab-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.tab-filter-btn {
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: var(--white);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.tab-filter-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.tab-filter-btn:not(.active):hover {
  border-color: var(--coral);
  color: var(--coral);
}
.tab-cards {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 800px) {
  .tab-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
.tab-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 36px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.tab-card.is-hidden {
  display: none;
}
.portfolio-tile.is-hidden {
  display: none;
}
.tab-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}
.tab-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tab-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--coral);
  margin-bottom: 24px;
}
.tab-card h3 {
  font-size: 24px;
}
.tab-card-muted {
  color: rgba(0, 0, 0, 0.35);
}
.tab-card p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}
.blog-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(221, 29, 24, 0.08);
  color: var(--coral);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}
.blog-meta i {
  color: var(--coral);
}
.tab-card-link {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 12px;
  background: #f7f7f7;
  font-weight: 700;
  font-size: 15px;
  transition: background-color 0.25s ease;
}
.tab-card-link i {
  transform: rotate(45deg);
}
.tab-card-link:hover {
  background: var(--coral);
  color: var(--white);
}

/* ---- two-column split ----------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split-img-left .visual-block {
    order: -1;
  }
}
.split h2 {
  font-size: 44px;
}
.split p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 15px;
}
.split .btn {
  margin-top: 24px;
}
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-top: 24px;
  font-size: 17px;
}
.phone-link i {
  color: var(--coral);
}

.visual-block {
  position: relative;
  z-index: 0;
  border-radius: var(--radius);
  background: #f0f0f0;
  aspect-ratio: 3 / 4;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(31, 27, 34, 0.35);
  font-size: 14px;
  text-align: center;
}
.visual-block::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--coral);
  border-radius: var(--radius);
  transform: translate(12px, 12px);
  z-index: -1;
  pointer-events: none;
}
.visual-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

/* ---- image badge + check grid (service pages) ------------------------------ */

.image-badge-wrap {
  position: relative;
}
.floating-badge {
  position: absolute;
  right: -16px;
  bottom: -16px;
  max-width: 320px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 12px;
}
.floating-badge i {
  font-size: 26px;
  color: var(--mint);
  flex-shrink: 0;
}
.floating-badge strong {
  display: block;
  font-size: 14px;
  white-space: nowrap;
}
.floating-badge span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
  white-space: nowrap;
}
@media (max-width: 699px) {
  .floating-badge {
    position: static;
    margin-top: 16px;
    max-width: none;
  }
}
/* ---- process strip (icon row) ---------------------------------------------- */

.process-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 32px;
}
@media (min-width: 700px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.process-item {
  text-align: center;
}
.process-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 14px;
  background: rgba(47, 216, 183, 0.15);
  color: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.process-item h3 {
  margin-top: 8px;
  font-size: 18px;
}
.process-item p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---- portfolio ------------------------------------------------------------- */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2px;
}
@media (min-width: 700px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---- portfolio carousel (homepage teaser only) ----------------------------- */

.carousel-heading-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
}
.carousel-nav {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.12);
  background: var(--white);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.carousel-btn:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--white);
}
.portfolio-carousel {
  margin-top: 56px;
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.portfolio-carousel::-webkit-scrollbar {
  display: none;
}
.portfolio-carousel .portfolio-tile {
  flex: 0 0 85%;
  scroll-snap-align: start;
}
@media (min-width: 700px) {
  .portfolio-carousel .portfolio-tile {
    flex: 0 0 calc(33.333% - 2px);
  }
}
.portfolio-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink), #2a2438);
  display: flex;
  align-items: flex-end;
  cursor: pointer;
}
.portfolio-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.portfolio-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(25, 21, 33, 0.85), rgba(25, 21, 33, 0.35));
  z-index: 1;
}
.portfolio-tile .tile-index {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
  z-index: 2;
}
.portfolio-overlay {
  z-index: 3;
  position: absolute;
  inset: 0;
  background: rgba(255, 106, 61, 0.92);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.portfolio-tile:hover .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}
.portfolio-overlay h3 {
  color: var(--white);
  font-size: 19px;
}
.portfolio-overlay p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  margin-top: 8px;
}
.portfolio-overlay .view-link {
  margin-top: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--white);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.portfolio-overlay .view-link i {
  transform: rotate(45deg);
}
.portfolio-overlay .view-link:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--coral);
}

/* ---- cross-link grid (service pages) ---------------------------------------- */

.cross-link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 800px) {
  .cross-link-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 64px;
  }
}
.cross-link-grid h2 {
  font-size: 32px;
}
.cross-link-grid h2 a {
  color: inherit;
}
.cross-link-grid h2 a:hover {
  color: var(--hover-blue);
}
.cross-link-sub {
  margin-top: 12px;
  font-weight: 600;
  font-size: 16px;
}
.cross-link-grid > div > p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}
.cross-link-grid > div > p.cross-link-sub {
  margin-top: 12px;
  color: var(--text);
}
.cross-link-grid .phone-link {
  margin-top: 24px;
}

/* ---- faq -------------------------------------------------------------------- */

.faq-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 64px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 800px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.faq-item {
  border-bottom: 1px solid rgba(31, 27, 36, 0.12);
  padding: 18px 0;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text);
  padding: 0;
}
.faq-question i {
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 12px;
  font-size: 24px;
}
.faq-item.open .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}
.faq-answer-inner {
  overflow: hidden;
}
.faq-answer p {
  padding-top: 14px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---- stats -------------------------------------------------------------------- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  text-align: center;
}
@media (min-width: 800px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    text-align: left;
  }
}
.stat-value {
  font-size: 44px;
  font-weight: 700;
  color: var(--ink);
}
.stat-label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---- cta / contact --------------------------------------------------------- */

.cta-band {
  padding: 160px 0;
}
.cta-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-center h2 {
  font-size: 50px;
}
.cta-center p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.85);
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}
@media (max-width: 699px) {
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
.cta-band-phone {
  margin-top: 32px;
  font-size: 14px;
}

/* ---- marquee ------------------------------------------------------------------ */

.marquee {
  background: var(--coral);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  width: max-content;
  animation: marquee-scroll 22s linear infinite;
}
.marquee-track span {
  font-weight: 500;
  font-size: 14px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* ---- footer ------------------------------------------------------------------ */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}
.footer-heading {
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 20px;
}
.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-bottom: 48px;
}
.footer-links-row a {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}
.footer-links-row a:hover {
  color: var(--hover-blue);
  text-decoration-color: var(--hover-blue);
}
.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
@media (min-width: 700px) {
  .footer-columns {
    grid-template-columns: 7fr 3fr;
  }
}
.footer-about .logo {
  margin-bottom: 20px;
}
.footer-about-text {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-size: 15px;
}
@media (min-width: 700px) {
  .footer-columns > div:last-child {
    justify-self: end;
  }
}
.footer-columns p {
  margin-bottom: 6px;
}
.footer-columns a {
  display: inline-block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
}
.footer-columns .social-links a {
  border-bottom: none;
}
.footer-columns a:hover {
  color: var(--hover-blue);
}
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.footer-columns .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 22px;
  color: var(--coral);
  padding-bottom: 0;
}
.footer-columns .social-links a:hover {
  color: var(--white);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom .container {
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
@media (min-width: 700px) {
  .footer-bottom .container {
    flex-direction: row;
  }
}
.footer-bottom a:hover {
  color: var(--hover-blue);
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}

/* ---- legal pages (privacy / terms / disclaimer) ----------------------------- */

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 0 80px;
}
.legal-content h2 {
  font-size: 26px;
  margin-top: 48px;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}
.legal-content p a {
  color: var(--coral);
  text-decoration: underline;
}
.legal-content ul {
  margin-top: 16px;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}
.legal-content li {
  margin-top: 8px;
}

/* ---- desktop text bump --------------------------------------------------------- */

@media (min-width: 900px) {
  .service-card p,
  .split p,
  .faq-answer p,
  .portfolio-overlay p,
  .stat-label,
  .cta-band-phone,
  .section-sub {
    font-size: 16px;
  }
}

/* ---- cookie banner ------------------------------------------------------------ */

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 200;
  max-width: 420px;
  width: calc(100% - 48px);
  background: var(--white);
  border: 1px solid rgba(31, 27, 36, 0.25);
  border-radius: 4px;
  padding: 20px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
  transform: translateY(140%);
  transition: transform 0.4s ease;
}
.cookie-banner.visible {
  transform: translateY(0);
}
.cookie-banner p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}
.cookie-banner a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.cookie-btn {
  flex: 1;
  min-width: 0;
  padding: 10px 8px;
  background: var(--ink);
  border: none;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 0.2s ease;
}
.cookie-btn:hover {
  background: var(--coral);
  color: var(--white);
}

/* ---- scroll to top ------------------------------------------------------------ */

.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 40;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 10px 25px -10px rgba(25, 21, 33, 0.5);
}
.scroll-top.visible {
  display: flex;
}

/* ---- mobile heading size reduction (wins cascade: placed last) ------------- */

@media (max-width: 699px) {
  h1 {
    font-size: 36px;
    line-height: 1.25;
  }
  h2 {
    font-size: 28px;
    line-height: 1.3;
  }
  .split h2 {
    font-size: 30px;
  }
  .cta-center h2 {
    font-size: 32px;
  }
  .faq-section .section-title {
    font-size: 30px;
  }
}

/* ---- WP admin bar offset (logged-in preview only) --------------------- */
body.admin-bar .site-header,
body.admin-bar .mobile-menu,
body.admin-bar .cookie-banner {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar .site-header,
  body.admin-bar .mobile-menu {
    top: 46px;
  }
}
/* ---- mobile services sub-panel: smaller text, same position -------------- */
.mobile-panel[data-panel="services"] a {
  font-size: 18px;
}
/* ---- portfolio card grid (filterable portfolio page) ---------------------- */

.tab-filter + .container .portfolio-card-grid,
.portfolio-card-grid {
  margin-top: 48px;
}
.portfolio-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 700px) {
  .portfolio-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.portfolio-card {
  display: block;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  overflow: hidden;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(25, 21, 33, 0.25);
}
.portfolio-card.is-hidden {
  display: none;
}
.portfolio-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f0f0f0;
  overflow: hidden;
}
.portfolio-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-card-body {
  position: relative;
  padding: 24px 60px 24px 24px;
}
.portfolio-card-cat {
  display: block;
  color: var(--coral);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.portfolio-card-title {
  font-size: 20px;
}
.portfolio-card-desc {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}
.portfolio-card-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background-color 0.25s ease;
}
.portfolio-card-arrow i {
  transform: rotate(45deg);
}
.portfolio-card:hover .portfolio-card-arrow {
  background: var(--coral);
}
/* ---- desktop mega menu (Services) ----------------------------------------- */
.main-nav-item {
  position: relative;
}
.main-nav-item > a {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav-item > a i {
  font-size: 16px;
  transition: transform 0.2s ease;
}
.main-nav-item:hover > a i {
  transform: rotate(180deg);
}
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  width: 860px;
  max-width: 85vw;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -16px rgba(3, 6, 31, 0.35);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 60;
}
.main-nav-item:hover .mega-menu,
.main-nav-item:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.mega-menu-grid a.mega-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}
.mega-menu-link i {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(221, 29, 24, 0.08);
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.mega-menu-grid a.mega-menu-link:hover {
  background: #f7f7f7;
  color: var(--coral);
}
/* ---- mobile section rhythm: consistent, reduced padding (wins cascade: last) --- */
@media (max-width: 699px) {
  section {
    padding: 64px 0;
  }
  .section-tight {
    padding: 56px 0;
  }
  .cta-band {
    padding: 72px 0;
  }
  .hero {
    padding-top: calc(var(--header-h) + 56px);
    padding-bottom: 64px;
  }
  .split {
    gap: 32px;
  }
  .services-grid,
  .process-grid {
    margin-top: 48px;
    gap: 32px;
  }
  .tab-cards {
    margin-top: 32px;
  }
  .faq-grid,
  .portfolio-card-grid {
    margin-top: 32px;
  }
  .cross-link-grid {
    gap: 32px;
  }
  .footer-columns {
    gap: 32px;
    padding-bottom: 40px;
  }
  .footer-links-row {
    margin-bottom: 32px;
  }
}
/* ---- single blog post ------------------------------------------------------ */

.niyitech-breadcrumbs {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.niyitech-breadcrumbs a {
  color: var(--text-muted);
}
.niyitech-breadcrumbs a:hover {
  color: var(--coral);
}
.blog-category-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(221, 29, 24, 0.08);
  color: var(--coral);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.blog-post-title {
  font-size: 40px;
  max-width: 800px;
}
@media (min-width: 700px) {
  .blog-post-title {
    font-size: 50px;
  }
}
.blog-post-subtitle {
  margin-top: 16px;
  max-width: 640px;
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}
.blog-post-divider {
  margin-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.blog-post-title + .blog-post-divider,
.blog-post-subtitle + .blog-post-divider {
  margin-top: 32px;
}
section .blog-meta {
  margin-top: 20px;
}
.blog-featured-image {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px -20px rgba(3, 6, 31, 0.3);
  aspect-ratio: 16 / 8;
}
.blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 900px) {
  .blog-layout {
    grid-template-columns: 2fr 1fr;
  }
}
.blog-main {
  min-width: 0;
}

.blog-box-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--coral);
  margin-bottom: 10px;
}

.blog-toc-box,
.blog-takeaway-box,
.blog-trust-box {
  background: #f7f7f7;
  border-left: 3px solid var(--coral);
  border-radius: 4px;
  padding: 28px;
  margin-bottom: 32px;
}
.blog-box-heading {
  font-size: 20px;
}
.blog-toc-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.blog-toc-list li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.blog-toc-list li:last-child {
  border-bottom: none;
}
.blog-toc-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s ease;
}
.blog-toc-list a:hover {
  color: var(--coral);
}
.blog-toc-list a i {
  margin-left: auto;
  transform: rotate(-45deg);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.blog-toc-list a:hover i {
  opacity: 1;
}
.blog-toc-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--coral);
}
.blog-takeaway-box p {
  font-size: 15px;
  line-height: 1.6;
}
.blog-trust-box p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.blog-article-body.legal-content {
  max-width: none;
  margin: 0;
  padding: 0 0 32px;
}
.blog-article-body h2 {
  scroll-margin-top: 120px;
}

.blog-author-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #f7f7f7;
  border-radius: var(--radius);
  padding: 24px;
}
.blog-author-card img {
  border-radius: 50%;
  flex-shrink: 0;
}
.blog-author-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.blog-author-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.blog-sidebar-cta {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px;
}
.blog-sidebar-cta .blog-box-eyebrow {
  color: var(--mint);
}
.blog-sidebar-cta h3 {
  font-size: 20px;
  color: var(--white);
}
.blog-sidebar-cta p {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}
.blog-sidebar-cta .btn {
  margin-top: 20px;
  width: 100%;
  justify-content: center;
}
.blog-sidebar-widget {
  background: #f7f7f7;
  border-radius: var(--radius);
  padding: 24px;
}
.blog-sidebar-widget-title {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 14px;
  margin-bottom: 6px;
}
.blog-sidebar-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.blog-sidebar-widget > ul > li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.blog-sidebar-widget > ul > li:last-child {
  border-bottom: none;
}
.blog-sidebar-widget > ul > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.blog-sidebar-widget > ul > li > a:hover {
  color: var(--coral);
}
.blog-sidebar-articles li {
  padding: 12px 0;
}
.blog-sidebar-articles a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.blog-sidebar-articles a:hover {
  color: var(--coral);
}
.blog-sidebar-articles span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.blog-more-heading-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.blog-more-heading-row h2 {
  font-size: 32px;
}
.blog-more-heading-row p {
  max-width: 360px;
  color: var(--text-muted);
  font-size: 15px;
}

@media (max-width: 899px) {
  .blog-sidebar-cta,
  .blog-sidebar-widget {
    max-width: 480px;
  }
}
/* ---- related-posts carousel (single blog post) ---------------------------- */
.blog-more-carousel-wrap {
  position: relative;
}
.blog-more-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.blog-more-carousel::-webkit-scrollbar {
  display: none;
}
.blog-more-card {
  flex: 0 0 85%;
  scroll-snap-align: start;
}
@media (min-width: 700px) {
  .blog-more-card {
    flex: 0 0 calc(50% - 12px);
  }
}
.blog-more-nav {
  justify-content: flex-end;
  margin-top: 24px;
}