:root {
  --brand-900: #070b12;
  --brand-800: #0d1117;
  --brand-700: #111827;
  --brand-600: #1f6feb;
  --brand-500: #38bdf8;
  --accent-700: #123f9e;
  --accent-600: #1f6feb;
  --accent-500: #38bdf8;
  --accent-400: #77d3ff;
  --highlight-500: #f59e0b;
  --mint-100: #eff6ff;
  --mint-200: #dbeafe;
  --sand-100: #f5f9ff;
  --ink-900: #0f172a;
  --ink-700: #4b5563;
  --line-soft: rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 24px 60px rgba(7, 11, 18, 0.08);
  --shadow-strong: 0 24px 60px rgba(7, 11, 18, 0.18);
  --mobile-bar-height: 76px;
}

html {
  scroll-behavior: smooth;
  /* Prevent layout jump when Bootstrap toggles scroll locking (modals/offcanvas). */
  scrollbar-gutter: stable;
}

@supports not (scrollbar-gutter: stable) {
  html {
    overflow-y: scroll;
  }
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink-900);
  background: #f4f8fc;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  opacity: 1;
  transition: opacity 420ms ease;
}

/* Bootstrap overlays may add padding-right to compensate for scrollbars.
   Since we keep the gutter stable, that extra padding can create an unnecessary width jump. */
body.modal-open {
  padding-right: 0 !important;
}

/* 3D background canvas (Three.js) */
.three-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.62;
}

.three-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Ensure real content stays above the 3D layer.
   Important: do NOT change Bootstrap overlay positioning (offcanvas/modal). */
.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Fixed UI should remain fixed; just keep it above the 3D layer. */
.mobile-action-bar,
.whatsapp-fab {
  z-index: 5;
}

body.is-loaded {
  opacity: 1;
}

body.reduce-motion {
  scroll-behavior: auto;
}

body.reduce-motion .three-bg {
  display: none;
}

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

#portfolioPreview.expandable-preview {
  max-height: none;
}

#portfolioPreview.expandable-preview.is-collapsed .what-i-do-card:nth-child(n + 5) {
  display: none;
}

#portfolioPreview .what-i-do-card {
  animation: serviceCardReveal 0.28s ease both;
}

@keyframes serviceCardReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

a {
  text-decoration: none;
}

section[id] {
  scroll-margin-top: 5.5rem;
}

.expand-actions-rich {
  flex-wrap: wrap;
  gap: 0.85rem;
}

.expand-actions-rich .btn {
  min-height: 50px;
}

.nav-cta-stack {
  display: grid;
  gap: 0.75rem;
}

.nav-cta-stack .btn {
  justify-content: center;
  min-height: 48px;
}

/* Quick enquiry */
.quick-enquiry textarea.form-control {
  border-radius: 8px;
}

/* Big perf win on long pages: don't render below-the-fold sections immediately. */
@supports (content-visibility: auto) {
  main > section:not(.hero-section) {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
  }
}

.fw-black {
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 640ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 640ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  body {
    opacity: 1;
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(248, 251, 255, 0.84);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.theme-switch-btn {
  width: 74px;
  min-width: 74px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.theme-switch-track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 4px;
  border-radius: inherit;
  overflow: hidden;
}

.theme-switch-icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}

.theme-switch-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 1;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: transform 0.28s ease, background 0.28s ease;
}

html[data-devhaven-theme="glass"] .theme-switch-thumb {
  transform: translateX(36px);
}

.hero-clean {
  min-height: calc(100vh - 92px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-clean .hero-poster-shell {
  display: grid;
  gap: 1rem;
}

.hero-interface {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  min-height: min(680px, calc(100vh - 130px));
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 3rem);
}

.hero-interface-copy {
  position: relative;
  z-index: 2;
}

.hero-interface-copy h1 {
  margin: 0.2rem 0 0.4rem;
  max-width: 760px;
  font-size: clamp(3.45rem, 8vw, 7.4rem);
  line-height: 0.86;
  letter-spacing: -0.075em;
  text-transform: none;
}

.hero-interface-copy strong {
  display: block;
  max-width: 620px;
  font-size: clamp(1.05rem, 2.6vw, 1.65rem);
  line-height: 1.2;
}

.hero-interface-copy .hero-copy {
  max-width: 560px;
  margin: 1.15rem 0 1.5rem;
}

.hero-interface-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-interface-photo {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: min(430px, 100%);
  aspect-ratio: 0.95;
  border-radius: 26px;
  overflow: hidden;
}

.hero-interface-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-skill-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.65rem;
}

.hero-skill-strip article {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 58px;
  padding: 0.75rem;
  border-radius: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .hero-interface {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-interface-photo {
    justify-self: start;
    width: min(420px, 100%);
  }

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

@media (max-width: 640px) {
  .theme-switch-btn {
    width: 64px;
    min-width: 64px;
    height: 34px;
  }

  .theme-switch-thumb {
    width: 26px;
    height: 26px;
  }

  html[data-devhaven-theme="glass"] .theme-switch-thumb {
    transform: translateX(30px);
  }

  .hero-interface {
    padding: 1.35rem 0.85rem 1rem;
  }

  .hero-interface-copy h1 {
    font-size: clamp(3.25rem, 16vw, 5.2rem);
  }

  .hero-interface-photo {
    width: 100%;
    max-height: 360px;
  }

  .hero-skill-strip {
    grid-template-columns: 1fr;
  }
}

.navbar {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.navbar-shell .container {
  align-items: center;
  gap: 0.75rem;
}

.navbar-shell .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-pill {
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
}

.nav-pill:hover,
.nav-pill:focus-visible {
  background: rgba(44, 123, 97, 0.08);
}

.nav-pill {
  position: relative;
  overflow: hidden;
}

.nav-pill::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(54, 162, 125, 0.9), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 320ms ease;
  opacity: 0.8;
}

.nav-pill:hover::after,
.nav-pill:focus-visible::after {
  transform: scaleX(1);
}

.dropdown-menu {
  border-radius: 8px;
  border: 1px solid rgba(24, 40, 37, 0.12);
  box-shadow: var(--shadow-soft);
  padding: 0.6rem;
}

.dropdown-item {
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  font-weight: 700;
}

.dropdown-item:active {
  background: var(--brand-700);
}

.academy-nav-btn {
  border-radius: 8px;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  white-space: normal;
  text-align: left;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--brand-800);
  padding-block: 0.15rem;
}

.brand-logo {
  width: clamp(8rem, 11vw, 10.5rem);
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 14px 30px rgba(31, 111, 235, 0.16));
}

.nav-link {
  font-weight: 600;
  color: var(--ink-900);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--brand-600);
}

.btn-accent {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: var(--accent-500);
  --bs-btn-border-color: var(--accent-500);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: var(--accent-600);
  --bs-btn-hover-border-color: var(--accent-600);
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: var(--brand-700);
  --bs-btn-active-border-color: var(--brand-700);
  --bs-btn-focus-shadow-rgb: 44, 123, 97;
}

.cart-count-badge {
  position: absolute;
  top: -0.4rem;
  right: -0.55rem;
  min-width: 1.4rem;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5.5rem;
  background: linear-gradient(135deg, rgba(7, 25, 21, 0.9), rgba(19, 67, 55, 0.82));
  min-height: 80vh;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero-with-slider {
  padding: 0;
}

.hero-with-slider .container.position-relative {
  padding: 6.4rem 0 4.75rem;
  z-index: 3;
}

.hero-carousel {
  position: absolute;
  inset: 0;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: 100%;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 64px;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 8px;
  background-color: rgba(7, 11, 18, 0.34);
  background-size: 1.05rem 1.05rem;
  box-shadow: 0 16px 36px rgba(7, 11, 18, 0.22);
  backdrop-filter: blur(8px);
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next,
.hero-carousel .carousel-indicators {
  z-index: 4;
}

.hero-carousel .carousel-indicators {
  bottom: 1.35rem;
  gap: 0.65rem;
}

.hero-carousel .carousel-indicators [data-bs-target] {
  position: relative;
  width: 14px;
  height: 14px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: transparent;
  opacity: 1;
  overflow: hidden;
}

.hero-carousel .carousel-indicators [data-bs-target]::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.58);
  transform: scale(0.55);
  transform-origin: center;
  opacity: 0.9;
}

.hero-carousel .carousel-indicators .active::after {
  background: linear-gradient(135deg, #38bdf8, #f59e0b);
  transform: scale(1);
  opacity: 1;
  animation: heroDotProgress 6.5s linear forwards;
}

.hero-slide-img {
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.5) saturate(0.86) contrast(1.24);
  transform: scale(1);
}

.tile-media,
.service-image {
  width: 100%;
  object-fit: cover;
  border-radius: 0.95rem;
  margin-bottom: 0.95rem;
}

.tile-media,
.service-image,
.academy-preview-image,
.academy-hero-image {
  aspect-ratio: 16 / 10;
}

@media (max-width: 575.98px) {
  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next {
    width: 52px;
  }

  .hero-carousel .carousel-control-prev-icon,
  .hero-carousel .carousel-control-next-icon {
    width: 2.35rem;
    height: 2.35rem;
    background-size: 0.95rem 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel .carousel-item {
    transition: none;
  }
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(7, 11, 18, 0.18), rgba(7, 11, 18, 0.26)),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.14), transparent 26%),
    radial-gradient(circle at bottom left, rgba(245, 158, 11, 0.08), transparent 22%);
  pointer-events: none;
}

@keyframes heroDotProgress {
  0% {
    transform: scale(0.45);
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(56, 189, 248, 0.12);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 12px rgba(245, 158, 11, 0);
  }
}

/* Testimonials (inspired by the clean, minimal presentation style) */
.testimonial-carousel {
  position: relative;
  padding: 0.5rem 0 1.25rem;
}

.testimonial-carousel .carousel-indicators {
  bottom: -0.5rem;
}

.testimonial-carousel .carousel-control-prev,
.testimonial-carousel .carousel-control-next {
  width: 56px;
}

.testimonial-carousel .carousel-control-prev-icon,
.testimonial-carousel .carousel-control-next-icon {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  background-color: rgba(24, 40, 37, 0.14);
  box-shadow: 0 18px 42px rgba(8, 29, 25, 0.12);
  background-size: 1.05rem 1.05rem;
}

.testimonial-card {
  margin: 0 auto;
  max-width: 46rem;
  padding: 2.25rem 2rem;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.testimonial-avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid rgba(44, 123, 97, 0.18);
  box-shadow: 0 18px 44px rgba(8, 29, 25, 0.12);
  margin: 0 auto 1rem;
}

.testimonial-quote {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--ink-900);
}

.testimonial-meta {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.1rem;
  color: var(--ink-700);
}

.testimonial-meta strong {
  color: var(--ink-900);
  font-weight: 900;
}

.testimonial-meta span {
  font-weight: 700;
}

.testimonial-project-line {
  display: block;
  margin-top: 0.35rem;
  color: var(--ink-600);
  font-size: 0.92rem;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .testimonial-card {
    padding: 1.75rem 1.25rem;
    text-align: left;
  }

  .testimonial-avatar {
    margin-left: 0;
  }

  .testimonial-quote {
    font-size: 1.02rem;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 42rem;
  font-size: 1.08rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.72rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
}

.hero-panel {
  padding: 1.6rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-strong);
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}


.panel-chip {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(54, 162, 125, 0.16);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-panel-list {
  display: grid;
  gap: 1rem;
}

.hero-panel-list article {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
}

.hero-panel-list strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.02rem;
}

.hero-panel-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.section-shell {
  padding: 5.25rem 0;
}

.section-mist {
  background:
    linear-gradient(180deg, rgba(238, 248, 244, 0.8), rgba(248, 252, 250, 0.96));
}

.section-dark {
  background:
    linear-gradient(135deg, var(--brand-900), var(--brand-700));
  color: #f8fcfa;
}

.section-head {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.section-head-light .section-title,
.section-head-light .section-copy {
  color: #f8fcfa;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.panel-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-copy {
  color: var(--ink-700);
  font-size: 1.02rem;
  line-height: 1.8;
}

.about-story .section-copy {
  margin-bottom: 0.9rem;
}

.media-frame,
.course-card,
.case-card,
.stack-panel,
.contact-panel,
.contact-form-shell,
.portfolio-tile,
.info-tile,
.proof-card,
.insight-card,
.offcanvas,
.metric-tile {
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}

.media-frame {
  overflow: hidden;
  border-radius: 1.5rem;
  background: #fff;
}

.media-frame img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.about-gallery {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.img-tile-btn,
.team-photo-btn {
  display: block;
  padding: 0;
  margin: 0;
  cursor: pointer;
  position: relative;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.img-tile-btn img,
.team-photo-btn img {
  display: block;
  margin-inline: auto;
}

.about-hero-btn {
  border-radius: 1.5rem;
}

.about-hero-btn img {
  border-radius: 1.5rem;
}

.img-tile-btn:focus-visible,
.team-photo-btn:focus-visible {
  outline: 3px solid rgba(44, 123, 97, 0.38);
  outline-offset: 3px;
}

.about-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}

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

.info-tile,
.portfolio-tile,
.proof-card,
.insight-card {
  height: 100%;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: #fff;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.team-card {
  height: 100%;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.team-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 70px rgba(8, 29, 25, 0.12);
}

@media (hover: hover) and (pointer: fine) {
  .team-card:hover {
    transform: translateY(-6px) perspective(920px) rotateX(1.4deg) rotateY(-1.8deg);
  }
}

.team-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.team-photo {
  width: 112px;
  height: 112px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid rgba(44, 123, 97, 0.18);
  box-shadow: 0 18px 44px rgba(8, 29, 25, 0.12);
  flex: 0 0 auto;
}

.team-photo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 12rem;
  border-radius: 999px;
  margin: 0 auto;
  overflow: visible;
}

.team-head h3 {
  font-weight: 900;
  letter-spacing: -0.02em;
}

.team-desc {
  margin-top: 1rem;
  color: var(--ink-700);
  line-height: 1.7;
}

.team-skill-title {
  margin-top: 1.1rem;
  margin-bottom: 0.7rem;
  font-weight: 900;
  color: var(--ink-900);
}

.team-role {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: rgba(27, 138, 110, 0.12);
  color: var(--accent-700);
  font-weight: 800;
  font-size: 0.82rem;
}

@media (max-width: 575.98px) {
  .team-photo {
    width: 96px;
    height: 96px;
  }
}

.info-tile:hover,
.portfolio-tile:hover,
.proof-card:hover,
.insight-card:hover,
.course-card:hover,
.case-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 70px rgba(8, 29, 25, 0.12);
}

/* 3D tilt effect on capable devices (subtle, keeps text readable) */
@media (hover: hover) and (pointer: fine) {
  .info-tile:hover,
  .portfolio-tile:hover,
  .proof-card:hover,
  .insight-card:hover,
  .course-card:hover,
  .case-card:hover {
    transform: translateY(-6px) perspective(920px) rotateX(1.4deg) rotateY(-1.8deg);
  }
}

body.reduce-motion .info-tile:hover,
body.reduce-motion .portfolio-tile:hover,
body.reduce-motion .proof-card:hover,
body.reduce-motion .insight-card:hover,
body.reduce-motion .course-card:hover,
body.reduce-motion .case-card:hover {
  transform: none;
}

.info-tile h3,
.portfolio-tile h3,
.proof-card h3,
.insight-card h3,
.course-card h3,
.case-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.info-tile p,
.portfolio-tile p,
.proof-card p,
.insight-card p,
.course-card p,
.case-card p,
.stack-block p,
.contact-panel p {
  color: var(--ink-700);
  line-height: 1.75;
  margin-bottom: 0;
}

.tile-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.95rem;
  background: var(--mint-100);
  color: var(--brand-700);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.case-card {
  overflow: hidden;
  border-radius: 1.5rem;
  background: #fff;
}

.case-card-wide {
  display: grid;
  grid-template-columns: minmax(16rem, 20rem) minmax(0, 1fr);
}

.case-image {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
}

.case-body {
  padding: 1.5rem;
}

.case-tags,
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.case-tags span,
.chip-group span,
.price-pill,
.course-meta,
.insight-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.case-tags span,
.chip-group span,
.course-meta,
.insight-label {
  background: var(--mint-100);
  color: var(--brand-700);
}

.price-pill {
  background: rgba(27, 138, 110, 0.12);
  color: var(--accent-700);
  white-space: nowrap;
}

.price-pill-muted {
  background: rgba(24, 40, 37, 0.08);
  color: var(--ink-700);
}

.case-list,
.feature-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.55rem;
}

.case-list li,
.feature-list li {
  color: var(--ink-700);
}

.service-tile {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.service-tile .btn {
  margin-top: auto;
}

.service-list {
  margin: 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.55rem;
  color: var(--ink-700);
}

.service-list li {
  color: var(--ink-700);
}

.metric-tile {
  height: 100%;
  padding: 1rem;
  border-radius: 1rem;
  background: #f9fcfb;
}

.metric-tile strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brand-800);
}

.metric-tile span {
  color: var(--ink-700);
  line-height: 1.6;
}

.stack-panel,
.contact-panel,
.contact-form-shell {
  padding: 1.6rem;
  border-radius: 1.5rem;
  background: #fff;
}

.stack-block + .stack-block {
  margin-top: 1.4rem;
}

.stack-block h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.proof-card {
  background: rgba(255, 255, 255, 0.06);
  color: #f8fcfa;
}

.proof-card p,
.proof-card span {
  color: rgba(248, 252, 250, 0.78);
}

.proof-number {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffdd79;
  margin-bottom: 1rem;
}

.insight-card {
  background: linear-gradient(180deg, #ffffff, #f7fbf9);
}

.course-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #fff;
  height: 100%;
}

.course-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.academy-preview-carousel,
.academy-hero-carousel {
  overflow: hidden;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 54px rgba(6, 18, 30, 0.18);
  background: rgba(7, 22, 32, 0.55);
}

.academy-preview-inner,
.academy-hero-inner {
  border-radius: 1.1rem;
}

.academy-preview-image,
.academy-hero-image {
  width: 100%;
  object-fit: cover;
  filter: brightness(0.84) saturate(0.96) contrast(1.08);
}

.academy-section-logo {
  display: block;
  width: min(100%, 13rem);
  height: auto;
  object-fit: contain;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 20px 40px rgba(7, 11, 18, 0.18));
}

.section-network {
  background:
    radial-gradient(circle at 78% 10%, rgba(56, 189, 248, 0.18), transparent 28%),
    radial-gradient(circle at 10% 75%, rgba(245, 158, 11, 0.12), transparent 26%),
    linear-gradient(135deg, #0d1117, #111827 62%, #07111f);
}

.network-head .eyebrow {
  color: #38bdf8;
}

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

.network-stat,
.network-card {
  background: rgba(17, 24, 39, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.35rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.network-stat {
  padding: 1.35rem;
  text-align: center;
}

.network-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: #38bdf8;
}

.network-stat span {
  color: rgba(255, 255, 255, 0.72);
}

.network-controls {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.network-filter-row,
.network-search-row,
.network-category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.network-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
}

.network-filter {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.75);
  font-weight: 800;
  padding: 0.75rem 1rem;
}

.network-filter.active,
.network-filter:hover,
.network-filter:focus-visible {
  background: linear-gradient(135deg, #1f6feb, #38bdf8);
  color: #fff;
  border-color: transparent;
}

.section-network .form-control,
.section-network .form-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.section-network .form-control::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.network-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.network-card.is-featured {
  border-color: rgba(245, 158, 11, 0.45);
}

.network-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.network-card-body {
  padding: 1.2rem;
}

.network-card-top,
.network-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.network-card-top {
  margin-bottom: 0.9rem;
}

.network-card h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}

.network-card p,
.network-meta span,
.network-empty {
  color: rgba(255, 255, 255, 0.72);
}

.network-status-warning {
  border: 1px solid rgba(245, 158, 11, 0.38);
  border-radius: 0.85rem;
  background: rgba(245, 158, 11, 0.1);
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 1rem;
  padding: 0.85rem 0.95rem;
}

.network-status-warning strong {
  color: #facc15;
}

.network-meta {
  display: grid;
  gap: 0.45rem;
  margin: 0.95rem 0 1rem;
  font-size: 0.92rem;
}

.network-meta strong {
  color: #fff;
}

.review-submit-panel .form-control,
.review-submit-panel .form-select {
  border-radius: 1rem;
}

.review-preview-box {
  min-height: 20rem;
  border-radius: 1.25rem;
  border: 1px dashed var(--line);
  background: var(--mist);
  display: grid;
  place-items: center;
  gap: 1rem;
  padding: 1.4rem;
  text-align: center;
}

.review-preview-box img {
  width: min(100%, 18rem);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1.2rem;
  box-shadow: var(--shadow-soft);
}

.review-admin-card .admin-project-meta a {
  color: inherit;
  word-break: break-word;
}

.review-admin-thumb img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.review-admin-quote {
  font-style: italic;
}

.network-seo {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.network-seo strong {
  color: #fff;
}

.network-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 900;
  background: #38bdf8;
  color: #07111f;
}

.network-badge-featured {
  background: #f59e0b;
}

.network-page-hero {
  min-height: calc(100vh - 5rem);
}

.card-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
}

.admin-registry-page {
  background:
    radial-gradient(circle at 80% 8%, rgba(56, 189, 248, 0.1), transparent 28%),
    radial-gradient(circle at 12% 78%, rgba(245, 158, 11, 0.08), transparent 24%),
    #f4f8fc;
  min-height: calc(100vh - 5rem);
}

.admin-gate {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.admin-gate h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 900;
  margin-bottom: 0.85rem;
}

.admin-gate p {
  color: var(--ink-700);
  margin-bottom: 0;
}

.admin-gate-form {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(239, 246, 255, 0.88));
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1rem;
  padding: 1.25rem;
}

.admin-topbar {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.admin-stats {
  margin: 0;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-registry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.25rem;
}

.admin-project-list {
  display: grid;
  gap: 1rem;
}

.admin-project-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1rem;
  padding: 0.9rem;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.admin-project-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0.85rem;
  object-fit: cover;
}

.admin-project-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
  margin-bottom: 0.65rem;
}

.admin-project-top h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.2rem;
}

.admin-project-top p,
.admin-project-copy,
.admin-project-meta span {
  color: var(--ink-700);
}

.admin-project-copy {
  margin-bottom: 0.75rem;
}

.admin-project-meta {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
}

.admin-project-meta strong {
  color: var(--ink-900);
}

.admin-project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.course-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0.8rem;
  padding: 1.5rem;
}

.contact-link-group {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.contact-link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: #f7fbf9;
  border: 1px solid var(--line-soft);
  color: var(--ink-900);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-link-card:hover,
.contact-link-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(44, 123, 97, 0.24);
}

.contact-link-card i {
  font-size: 1.4rem;
  color: var(--brand-600);
}

.contact-link-card strong,
.contact-link-card span {
  display: block;
}

.contact-link-card span {
  color: var(--ink-700);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.1rem;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(24, 40, 37, 0.12);
  background: #fff;
  color: var(--ink-900);
  font-weight: 800;
  font-size: 0.9rem;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.social-pill:hover,
.social-pill:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(44, 123, 97, 0.28);
}

.social-note {
  margin-top: 0.6rem;
  color: var(--ink-700);
  line-height: 1.6;
  font-size: 0.95rem;
}

.form-control,
.form-select {
  border-radius: 0.95rem;
  border-color: rgba(24, 40, 37, 0.12);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(44, 123, 97, 0.42);
  box-shadow: 0 0 0 0.25rem rgba(44, 123, 97, 0.12);
}

.form-status {
  color: var(--brand-700);
  font-weight: 600;
}

.site-footer {
  padding: 3rem 0 1.2rem;
  background: #f0f7f3;
  border-top: 1px solid rgba(24, 40, 37, 0.06);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--brand-800);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.footer-logo {
  width: clamp(8.5rem, 10vw, 11rem);
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 12px 28px rgba(31, 111, 235, 0.12));
}

.footer-title {
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--ink-900);
}

.footer-copy {
  margin: 0;
  color: var(--ink-700);
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--brand-700);
  font-weight: 800;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--brand-600);
  text-decoration: underline;
}

.footer-social {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(24, 40, 37, 0.12);
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--brand-700);
  font-size: 1.1rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(24, 40, 37, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.footer-bottom p {
  margin: 0;
  color: var(--ink-700);
  font-weight: 700;
}

.footer-bottom a {
  color: var(--brand-700);
  font-weight: 800;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--brand-600);
  text-decoration: underline;
}

.footer-bottom .devhaven-credit {
  color: var(--ink-700);
  font-weight: 700;
}

.footer-bottom .devhaven-credit a {
  color: var(--brand-700);
  font-weight: 900;
}

.footer-bottom .devhaven-credit a:hover,
.footer-bottom .devhaven-credit a:focus-visible {
  color: var(--brand-600);
}

.devhaven-credit-bar {
  padding: 0 0 2.5rem;
}

.devhaven-credit-panel {
  border-top: 1px solid rgba(24, 40, 37, 0.08);
  padding-top: 1rem;
  text-align: center;
  color: var(--ink-700);
  font-weight: 700;
}

.devhaven-credit-panel a {
  color: var(--brand-700);
  font-weight: 900;
}

.devhaven-credit-panel a:hover,
.devhaven-credit-panel a:focus-visible {
  color: var(--brand-600);
}

.devhaven-showcase {
  margin: 2rem 0 1.4rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.devhaven-project-card {
  padding: 1.35rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 18, 30, 0.7);
  box-shadow: 0 18px 42px rgba(7, 11, 18, 0.18);
  backdrop-filter: blur(12px);
}

.devhaven-project-card .project-category {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-400);
  margin-bottom: 0.85rem;
}

.devhaven-project-card h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  color: #fff;
}

.devhaven-project-card p {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.74);
}

.devhaven-project-credit {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  font-weight: 700;
}

.devhaven-project-credit a {
  color: #fff;
  font-weight: 900;
}

.cart-item-list {
  display: grid;
  gap: 0.9rem;
}

.cart-line {
  padding: 1rem;
  border-radius: 1rem;
  background: #f8fbfa;
  border: 1px solid rgba(24, 40, 37, 0.08);
}

.cart-line h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.cart-line p {
  margin-bottom: 0.5rem;
  color: var(--ink-700);
}

.cart-line-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.cart-line-qty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  min-height: 2rem;
  padding: 0 0.6rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(24, 40, 37, 0.08);
  font-weight: 700;
}

.empty-state {
  min-height: 14rem;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ink-700);
}

.empty-state i {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--brand-500);
}

.checkout-hero {
  padding: 5rem 0 3rem;
  background: linear-gradient(135deg, var(--brand-900), var(--brand-700));
  color: #fff;
}

.checkout-shell {
  margin-top: -2rem;
  padding-bottom: 4rem;
}

.checkout-summary,
.checkout-form-shell {
  padding: 1.6rem;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}

.checkout-course {
  padding: 1rem;
  border-radius: 1rem;
  background: #f8fbfa;
  border: 1px solid rgba(24, 40, 37, 0.08);
}

.checkout-course + .checkout-course {
  margin-top: 0.9rem;
}

.checkout-total {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(24, 40, 37, 0.08);
}

.payment-method-shell {
  padding: 1.35rem;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

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

.payment-method-card {
  width: 100%;
  text-align: left;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  color: var(--ink-900);
  display: grid;
  gap: 0.4rem;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.payment-method-card i {
  font-size: 1.2rem;
  color: var(--brand-600);
}

.payment-method-card strong {
  font-weight: 900;
}

.payment-method-card span {
  color: var(--ink-700);
  line-height: 1.6;
  font-size: 0.95rem;
}

.payment-method-card:hover,
.payment-method-card:focus-visible,
.payment-method-card.is-active {
  transform: translateY(-1px);
  border-color: rgba(31, 111, 235, 0.34);
  box-shadow: 0 18px 40px rgba(7, 11, 18, 0.08);
}

.payment-method-card.is-active {
  background: linear-gradient(180deg, #ffffff, #eef6ff);
}

.payment-method-panel {
  padding: 1.1rem 1.15rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.payment-method-panel h4 {
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 0.7rem;
}

.payment-method-status {
  align-self: center;
}

.bank-transfer-card {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border-radius: 1rem;
  background: #f8fbfa;
  border: 1px solid rgba(24, 40, 37, 0.08);
  margin-bottom: 0.9rem;
}

.bank-transfer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

.bank-transfer-row span {
  color: var(--ink-700);
}

.bank-transfer-row strong {
  color: var(--ink-900);
  font-weight: 900;
}

.summary-note {
  color: var(--ink-700);
  line-height: 1.7;
}

.donation-band {
  background: linear-gradient(135deg, #0d1117, #111827 64%, #081626);
  color: #fff;
}

.donation-band .section-copy,
.donation-band .stack-panel p {
  color: rgba(255, 255, 255, 0.8);
}

.donation-band .stack-panel {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.donation-band .bank-transfer-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(120, 205, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.donation-band .form-control,
.donation-band .form-select {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.donation-band .form-control::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.donation-band .form-control:focus,
.donation-band .form-select:focus {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(89, 198, 255, 0.68);
  box-shadow: 0 0 0 0.25rem rgba(89, 198, 255, 0.16);
}

.support-form-note {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.support-status {
  color: rgba(255, 255, 255, 0.86);
}

.donation-band .footer-copy,
.donation-band .bank-transfer-row span {
  color: rgba(255, 255, 255, 0.72);
}

.donation-band .bank-transfer-row strong,
.donation-band .panel-title,
.donation-band .section-title {
  color: #fff;
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
  }

  .section-shell {
    padding: 4.75rem 0;
  }

  .hero-with-slider .container.position-relative {
    padding-top: 5.25rem;
    padding-bottom: 4.25rem;
  }

  .brand-logo {
    width: clamp(7.5rem, 18vw, 8.75rem);
    height: auto;
  }

  .case-card-wide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  body.has-mobile-bar {
    padding-bottom: calc(var(--mobile-bar-height) + env(safe-area-inset-bottom, 0px));
  }

  .navbar-shell .container {
    gap: 0.45rem;
  }

  .section-shell {
    padding: 4.25rem 0;
  }

  .section-title {
    font-size: 2.15rem;
  }

  .panel-title {
    font-size: 1.35rem;
  }

  .hero-section h1.display-4 {
    font-size: 2.02rem;
    line-height: 1.05;
  }

  .hero-with-slider .container.position-relative {
    padding-top: 4.4rem;
    padding-bottom: 3.2rem;
  }

  .hero-copy,
  .section-copy {
    font-size: 0.98rem;
  }

  .hero-section .eyebrow {
    font-size: 0.74rem;
    line-height: 1.45;
    margin-bottom: 0.75rem;
  }

  .hero-section .btn-lg {
    min-height: 48px;
    padding: 0.7rem 1rem;
    font-size: 0.98rem;
  }

  .hero-meta span {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-panel {
    padding: 1.1rem;
    border-radius: 1.1rem;
  }

  .hero-panel-list {
    gap: 0.75rem;
  }

  .hero-panel-list article {
    padding: 0.85rem;
    border-radius: 0.9rem;
  }

  .footer-bottom {
    align-items: flex-start;
  }
}

@media (min-width: 1200px) {
  .section-title {
    font-size: 3rem;
  }
}

.mobile-action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(248, 252, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(24, 40, 37, 0.08);
  box-shadow: 0 -12px 30px rgba(8, 29, 25, 0.08);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mobile-action-link {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(24, 40, 37, 0.12);
  background: #fff;
  border-radius: 14px;
  min-height: 54px;
  padding: 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--ink-900);
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.mobile-action-link i {
  font-size: 1.25rem;
  color: var(--brand-600);
}

.mobile-action-link:hover,
.mobile-action-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(44, 123, 97, 0.28);
}

.mobile-action-bar button.mobile-action-link {
  cursor: pointer;
}

.mobile-action-bar .cart-count-badge {
  top: 6px;
  right: 14px;
}

.whatsapp-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1041;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(8, 29, 25, 0.18);
}

@media (max-width: 767.98px) {
  body.has-mobile-bar .whatsapp-fab {
    bottom: calc(var(--mobile-bar-height) + 16px + env(safe-area-inset-bottom, 0px));
  }
}

/* Project planner */
.planner-form {
  padding: 1.6rem;
  border-radius: 1.5rem;
  background: #ffffff;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}

.planner-label {
  font-weight: 900;
  color: var(--ink-900);
  margin-bottom: 0.75rem;
}

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

.planner-choice {
  border-radius: 999px;
  border: 1px solid rgba(24, 40, 37, 0.16);
  background: #ffffff;
  color: var(--ink-900);
  font-weight: 900;
  padding: 0.6rem 0.9rem;
  transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.btn-check:checked + .planner-choice {
  border-color: rgba(44, 123, 97, 0.5);
  background: rgba(27, 138, 110, 0.12);
  color: var(--brand-800);
}

.planner-choice:hover,
.planner-choice:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(44, 123, 97, 0.28);
}

.planner-privacy {
  color: var(--ink-700);
  font-weight: 700;
  font-size: 0.92rem;
}

@media print {
  .mobile-action-bar,
  .whatsapp-fab {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  .footer-logo {
    width: 4.4rem;
    height: 4.4rem;
  }

  .admin-registry-grid,
  .admin-gate {
    grid-template-columns: 1fr;
  }

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

  .network-search-row {
    grid-template-columns: 1fr;
  }

  .payment-method-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .site-header {
    background: rgba(248, 251, 255, 0.94);
  }

  .navbar {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

  .brand-mark {
    min-width: 0;
    max-width: 9rem;
  }

  .brand-logo {
    width: 8.25rem;
    height: auto;
  }

  .navbar-shell .btn,
  .navbar-shell .navbar-toggler {
    min-height: 44px;
  }

  .navbar-shell .d-flex.align-items-center.gap-2 {
    gap: 0.4rem !important;
  }

  .hero-carousel .carousel-indicators {
    bottom: 1rem;
    gap: 0.45rem;
  }

  .hero-carousel .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
  }

  .hero-slide-img {
    object-position: 60% center;
    filter: brightness(0.4) saturate(0.8) contrast(1.22);
  }

  .hero-with-slider .container.position-relative {
    padding-top: 4rem;
    padding-bottom: 2.5rem;
  }

  .hero-section h1.display-4 {
    font-size: clamp(2rem, 10vw, 2.5rem);
  }

  .academy-section-logo {
    width: min(100%, 10.25rem);
  }

  .admin-project-card {
    grid-template-columns: 1fr;
  }

  .admin-project-thumb img {
    aspect-ratio: 16 / 10;
  }

  .network-stats,
  .network-grid {
    grid-template-columns: 1fr;
  }
}
