/* =========================================================
   Minwel Components
   Buttons, navbar, cards, chips, footer, dropdowns, forms, etc.
   Shared by EN / AR / FR (One-page v1)
   ========================================================= */

/* ---------------------------------------------------------
   Navbar
   --------------------------------------------------------- */

.navbar-minwel {
  min-height: var(--mw-header-height);
  background: transparent;
  border-bottom: 1px solid transparent;
  padding-block: 0.75rem;
}

.site-header.is-scrolled .navbar-minwel {
  border-bottom-color: rgba(15, 108, 108, 0.08);
}

.navbar-brand {
  color: var(--mw-text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.navbar-brand:hover {
  color: var(--mw-primary);
  text-decoration: none;
}

.brand-mark {
  border-radius: 0.5rem;
  display: block;
  flex-shrink: 0;
}

.brand-word {
  font-size: 1.05rem;
  line-height: 1;
  color: inherit;
}

.navbar-minwel .nav-link {
  color: var(--mw-text-soft);
  font-weight: 500;
  padding: 0.55rem 0.8rem;
  border-radius: 0.8rem;
  transition:
    color var(--mw-duration-fast) var(--mw-ease),
    background-color var(--mw-duration-fast) var(--mw-ease),
    box-shadow var(--mw-duration-fast) var(--mw-ease);
  text-decoration: none;
}

.navbar-minwel .nav-link:hover {
  color: var(--mw-text);
  background: rgba(15, 108, 108, 0.05);
}

.navbar-minwel .nav-link.active,
.navbar-minwel .nav-link[aria-current="page"],
.navbar-minwel .nav-link.is-active {
  color: var(--mw-primary);
  background: rgba(15, 108, 108, 0.08);
  box-shadow: inset 0 0 0 1px rgba(15, 108, 108, 0.12);
}

.navbar-minwel .navbar-toggler {
  width: 42px;
  height: 42px;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--mw-shadow-xs);
  border: 1px solid rgba(15, 108, 108, 0.08);
}

.navbar-minwel .navbar-toggler:hover {
  background: #fff;
}

.navbar-minwel .navbar-toggler:focus-visible {
  border-color: rgba(36, 211, 181, 0.35);
}

.navbar-minwel .navbar-toggler-icon {
  width: 1.15em;
  height: 1.15em;
}

.navbar-minwel .navbar-collapse {
  border-radius: 1rem;
}

.nav-actions .dropdown .btn,
.nav-actions > .btn {
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .navbar-minwel .navbar-collapse {
    margin-top: 0.9rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 108, 108, 0.08);
    box-shadow: var(--mw-shadow-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .navbar-minwel .nav-link {
    padding-inline: 0.85rem;
  }

  .navbar-minwel .nav-actions {
    padding-top: 0.65rem;
    border-top: 1px solid rgba(15, 108, 108, 0.08);
  }
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */

.btn {
  --bs-btn-font-weight: 600;
  --bs-btn-padding-y: 0.65rem;
  --bs-btn-padding-x: 1rem;
  --bs-btn-border-radius: 0.9rem;
  --bs-btn-focus-shadow-rgb: 36, 211, 181;
  transition:
    transform var(--mw-duration-fast) var(--mw-ease),
    box-shadow var(--mw-duration-fast) var(--mw-ease),
    background-color var(--mw-duration-fast) var(--mw-ease),
    border-color var(--mw-duration-fast) var(--mw-ease),
    color var(--mw-duration-fast) var(--mw-ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled,
.btn.disabled {
  transform: none !important;
  box-shadow: none !important;
}

.btn-lg {
  --bs-btn-padding-y: 0.78rem;
  --bs-btn-padding-x: 1.1rem;
  --bs-btn-font-size: 1rem;
  --bs-btn-border-radius: 1rem;
}

.btn-sm {
  --bs-btn-padding-y: 0.45rem;
  --bs-btn-padding-x: 0.75rem;
  --bs-btn-font-size: 0.875rem;
  --bs-btn-border-radius: 0.75rem;
}

.btn-minwel {
  --bs-btn-bg: var(--mw-primary);
  --bs-btn-color: #fff;
  --bs-btn-border-color: var(--mw-primary);
  --bs-btn-hover-bg: var(--mw-primary-hover);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-border-color: var(--mw-primary-hover);
  --bs-btn-active-bg: var(--mw-primary-active);
  --bs-btn-active-border-color: var(--mw-primary-active);
  --bs-btn-disabled-bg: var(--mw-primary);
  --bs-btn-disabled-border-color: var(--mw-primary);
  --bs-btn-disabled-color: #fff;
  box-shadow: 0 8px 18px rgba(15, 108, 108, 0.16);
}

.btn-minwel:hover {
  box-shadow: 0 12px 24px rgba(15, 108, 108, 0.20);
}

.btn-outline-minwel {
  --bs-btn-bg: rgba(255, 255, 255, 0.85);
  --bs-btn-color: var(--mw-primary);
  --bs-btn-border-color: rgba(15, 108, 108, 0.18);
  --bs-btn-hover-bg: rgba(15, 108, 108, 0.06);
  --bs-btn-hover-color: var(--mw-primary-hover);
  --bs-btn-hover-border-color: rgba(15, 108, 108, 0.26);
  --bs-btn-active-bg: rgba(15, 108, 108, 0.1);
  --bs-btn-active-color: var(--mw-primary-hover);
  --bs-btn-active-border-color: rgba(15, 108, 108, 0.26);
  --bs-btn-disabled-bg: rgba(255, 255, 255, 0.85);
  --bs-btn-disabled-color: var(--mw-text-muted);
  --bs-btn-disabled-border-color: rgba(15, 108, 108, 0.1);
  box-shadow: var(--mw-shadow-xs);
}

.btn-outline-minwel:hover {
  box-shadow: var(--mw-shadow-sm);
}

.btn-link-minwel {
  color: var(--mw-primary);
  text-decoration: none;
  font-weight: 600;
}

.btn-link-minwel:hover {
  color: var(--mw-primary-hover);
  text-decoration: none;
}

/* Gentle CTA pulse (subtle) */
.btn-minwel.btn-lg {
  position: relative;
}

.btn-minwel.btn-lg::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 1px solid rgba(36, 211, 181, 0.25);
  opacity: 0;
  transition: opacity var(--mw-duration-base) var(--mw-ease);
  pointer-events: none;
}

.btn-minwel.btn-lg:hover::after {
  opacity: 1;
}

/* ---------------------------------------------------------
   Eyebrow (component decoration layer)
   Base typography sits in base.css; this adds chip styling.
   --------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.7rem;
  border-radius: var(--mw-radius-pill);
  background: rgba(15, 108, 108, 0.06);
  border: 1px solid rgba(15, 108, 108, 0.10);
  color: var(--mw-primary);
  font-size: var(--mw-text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--mw-accent);
  box-shadow: 0 0 0 4px rgba(36, 211, 181, 0.14);
  flex: 0 0 auto;
}

/* ---------------------------------------------------------
   Status chips / tags
   --------------------------------------------------------- */

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.75rem;
  border-radius: var(--mw-radius-pill);
  border: 1px solid transparent;
  font-size: var(--mw-text-sm);
  font-weight: 500;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--mw-shadow-xs);
}

.status-chip i {
  line-height: 1;
}

.status-live {
  color: var(--mw-status-live);
  background: var(--mw-status-live-bg);
  border-color: rgba(15, 159, 110, 0.18);
}

.status-build {
  color: var(--mw-primary);
  background: rgba(15, 108, 108, 0.08);
  border-color: rgba(15, 108, 108, 0.16);
}

.status-soon {
  color: var(--mw-warning);
  background: var(--mw-warning-bg);
  border-color: rgba(183, 121, 31, 0.18);
}

.status-neutral {
  color: var(--mw-status-neutral);
  background: var(--mw-status-neutral-bg);
  border-color: rgba(100, 116, 139, 0.18);
}

.module-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.6rem;
  border-radius: var(--mw-radius-pill);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.module-status.live {
  color: var(--mw-status-live);
  background: var(--mw-status-live-bg);
  border-color: rgba(15, 159, 110, 0.16);
}

.module-status.build {
  color: var(--mw-status-building);
  background: var(--mw-status-building-bg);
  border-color: rgba(194, 65, 12, 0.16);
}

.module-status.soon {
  color: var(--mw-status-planned);
  background: var(--mw-status-planned-bg);
  border-color: rgba(124, 58, 237, 0.16);
}

.module-status.early {
  color: var(--mw-status-early);
  background: var(--mw-status-early-bg);
  border-color: rgba(29, 78, 216, 0.16);
}

/* ---------------------------------------------------------
   Hero panel
   --------------------------------------------------------- */

.hero-panel {
  position: relative;
  border-radius: var(--mw-radius-2xl);
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(15, 108, 108, 0.10);
  box-shadow: var(--mw-shadow-md), var(--mw-shadow-inset);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background:
    linear-gradient(
      90deg,
      rgba(15, 108, 108, 0.8),
      rgba(36, 211, 181, 0.7),
      rgba(15, 108, 108, 0.35)
    );
}

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

.panel-label {
  display: inline-flex;
  align-items: center;
  color: var(--mw-text-muted);
  font-size: var(--mw-text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.panel-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.55rem;
  border-radius: 0.7rem;
  font-size: 0.75rem;
  background: rgba(15, 108, 108, 0.06);
  color: var(--mw-primary);
  border: 1px solid rgba(15, 108, 108, 0.12);
}

.hero-module-list {
  display: grid;
  gap: 0.55rem;
}

.hero-module-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.9rem;
  background: rgba(248, 250, 252, 0.72);
  border: 1px solid rgba(15, 108, 108, 0.06);
}

.hero-module-list li > span {
  font-weight: 600;
  color: var(--mw-text);
}

.hero-module-list li > small {
  font-size: 0.8rem;
  text-align: end;
  flex: 0 0 auto;
}

[dir="rtl"] .hero-module-list li > small {
  text-align: start;
}

/* ---------------------------------------------------------
   Generic cards / surfaces
   --------------------------------------------------------- */

.content-card,
.service-card,
.feature-panel,
.project-card,
.cta-panel,
.ceo-quote-card {
  border-radius: var(--mw-radius-2xl);
  background: var(--mw-card-grad);
  border: 1px solid rgba(15, 108, 108, 0.10);
  box-shadow: var(--mw-shadow-sm), var(--mw-shadow-inset);
}

.content-card {
  padding: clamp(0.9rem, 1vw + 0.6rem, 1.15rem);
}

.service-card {
  position: relative;
  padding: 1rem;
  transition:
    transform var(--mw-duration-base) var(--mw-ease),
    box-shadow var(--mw-duration-base) var(--mw-ease),
    border-color var(--mw-duration-base) var(--mw-ease);
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 108, 108, 0.18);
  box-shadow: var(--mw-shadow-md), var(--mw-shadow-inset);
}

.feature-panel {
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.feature-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(15, 108, 108, 0.55),
    rgba(36, 211, 181, 0.55),
    transparent
  );
}

.project-card {
  padding: 1rem;
  transition:
    transform var(--mw-duration-base) var(--mw-ease),
    box-shadow var(--mw-duration-base) var(--mw-ease),
    border-color var(--mw-duration-base) var(--mw-ease);
}

.project-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 108, 108, 0.16);
  box-shadow: var(--mw-shadow-md), var(--mw-shadow-inset);
}

.project-card-featured {
  background:
    radial-gradient(42rem 18rem at 0% 0%, rgba(36, 211, 181, 0.06), transparent 60%),
    radial-gradient(24rem 16rem at 100% 20%, rgba(15, 108, 108, 0.05), transparent 65%),
    var(--mw-card-grad);
  border-color: rgba(15, 108, 108, 0.14);
}

/* Founder note card */
.ceo-quote-card {
  position: relative;
  padding: clamp(1rem, 1.4vw + 0.75rem, 1.5rem);
  background:
    radial-gradient(30rem 14rem at 8% 0%, rgba(36, 211, 181, 0.07), transparent 70%),
    radial-gradient(22rem 12rem at 95% 10%, rgba(15, 108, 108, 0.05), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.92));
  border-color: rgba(15, 108, 108, 0.12);
  box-shadow: var(--mw-shadow-md), var(--mw-shadow-inset);
}

.ceo-quote-card blockquote {
  margin: 0;
  padding: 0;
  border: 0;
}

.ceo-quote-card blockquote p {
  color: var(--mw-text);
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.22rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
  margin: 0;
}

/* ---------------------------------------------------------
   Icons
   --------------------------------------------------------- */

.service-icon {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-grid;
  place-items: center;
  border-radius: 0.9rem;
  margin-bottom: 0.8rem;
  background: rgba(15, 108, 108, 0.08);
  color: var(--mw-primary);
  border: 1px solid rgba(15, 108, 108, 0.12);
  font-size: 1.05rem;
  box-shadow: var(--mw-shadow-xs);
  flex: 0 0 auto;
}

/* In compact rows (work cards), remove forced bottom margin */
.project-card .service-icon,
.d-flex > .service-icon.mb-0 {
  margin-bottom: 0;
}

/* ---------------------------------------------------------
   Lists
   --------------------------------------------------------- */

.mini-check-list {
  display: grid;
  gap: 0.45rem;
}

.mini-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--mw-text-soft);
  line-height: 1.5;
}

.mini-check-list li i {
  color: var(--mw-primary);
  margin-top: 0.08rem;
  flex: 0 0 auto;
}

/* ---------------------------------------------------------
   CTA panel
   --------------------------------------------------------- */

.cta-panel {
  position: relative;
  padding: clamp(1rem, 1.2vw + 0.7rem, 1.35rem);
  overflow: hidden;
  background:
    radial-gradient(28rem 14rem at 10% 0%, rgba(36, 211, 181, 0.08), transparent 70%),
    radial-gradient(28rem 14rem at 90% 10%, rgba(15, 108, 108, 0.07), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
  border-color: rgba(15, 108, 108, 0.14);
  box-shadow: var(--mw-shadow-md), var(--mw-shadow-inset);
}

.cta-meta {
  border-color: rgba(15, 108, 108, 0.08) !important;
}

/* ---------------------------------------------------------
   Product placeholder / preview helpers
   --------------------------------------------------------- */

.placeholder-outline {
  border-style: dashed;
  border-width: 1px;
  border-color: rgba(15, 108, 108, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.9));
}

.placeholder-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.55rem;
  border-radius: 0.7rem;
  font-size: 0.8rem;
  color: var(--mw-text-soft);
  border: 1px solid rgba(15, 108, 108, 0.08);
  background: rgba(255, 255, 255, 0.75);
}

.placeholder-label i {
  color: var(--mw-primary);
  line-height: 1;
}

/* ---------------------------------------------------------
   Partner logos (future-safe)
   --------------------------------------------------------- */

.partner-logo-wrap {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 108, 108, 0.12);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  box-shadow: var(--mw-shadow-xs);
  overflow: hidden;
}

.partner-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.45rem;
}

.partner-logo-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--mw-primary);
  background: linear-gradient(180deg, rgba(15, 108, 108, 0.06), rgba(36, 211, 181, 0.04));
}

/* ---------------------------------------------------------
   Accordion (future-safe)
   --------------------------------------------------------- */

.accordion-minwel {
  --bs-accordion-bg: rgba(255, 255, 255, 0.9);
  --bs-accordion-border-color: rgba(15, 108, 108, 0.10);
  --bs-accordion-border-radius: 1rem;
  --bs-accordion-inner-border-radius: 1rem;
  --bs-accordion-btn-bg: rgba(255, 255, 255, 0.92);
  --bs-accordion-active-bg: rgba(15, 108, 108, 0.05);
  --bs-accordion-active-color: var(--mw-text);
  --bs-accordion-btn-color: var(--mw-text);
  --bs-accordion-btn-focus-border-color: rgba(36, 211, 181, 0.6);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(36, 211, 181, 0.15);
}

.accordion-minwel .accordion-item {
  overflow: hidden;
  border-radius: 1rem !important;
  box-shadow: var(--mw-shadow-xs);
}

.accordion-minwel .accordion-item + .accordion-item {
  margin-top: 0.75rem;
}

.accordion-minwel .accordion-button {
  font-weight: 600;
  line-height: 1.35;
  padding-block: 0.9rem;
}

.accordion-minwel .accordion-body {
  color: var(--mw-text-soft);
  line-height: 1.65;
}

/* ---------------------------------------------------------
   Dropdowns
   --------------------------------------------------------- */

.dropdown-menu {
  border-radius: 0.95rem;
  border: 1px solid rgba(15, 108, 108, 0.10);
  box-shadow: var(--mw-shadow-md);
  padding: 0.35rem;
  min-width: 12rem;
}

.dropdown-item {
  border-radius: 0.7rem;
  font-weight: 500;
  color: var(--mw-text-soft);
  padding-block: 0.5rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: var(--mw-text);
  background: rgba(15, 108, 108, 0.06);
}

.dropdown-item.active,
.dropdown-item:active {
  background: rgba(15, 108, 108, 0.08);
  color: var(--mw-primary);
}

/* ---------------------------------------------------------
   Forms (future-safe)
   --------------------------------------------------------- */

.form-control,
.form-select,
.form-check-input {
  border-radius: 0.9rem;
  border-color: rgba(15, 108, 108, 0.16);
  background-color: rgba(255, 255, 255, 0.92);
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: rgba(36, 211, 181, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(36, 211, 181, 0.12);
}

.form-text {
  color: var(--mw-text-muted);
}

/* Inline note / placeholder message (used by form.js) */
.inline-note {
  margin-top: 0.55rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.86rem;
  border: 1px solid rgba(15, 108, 108, 0.10);
  background: rgba(255, 255, 255, 0.8);
  color: var(--mw-text-soft);
}

.inline-note.is-info {
  border-color: rgba(15, 108, 108, 0.16);
  background: rgba(15, 108, 108, 0.05);
  color: var(--mw-primary);
}

.inline-note.is-success {
  border-color: rgba(15, 159, 110, 0.18);
  background: rgba(15, 159, 110, 0.06);
  color: var(--mw-success);
}

.inline-note.is-warning {
  border-color: rgba(183, 121, 31, 0.22);
  background: rgba(183, 121, 31, 0.07);
  color: #9a670d;
}

.inline-note.is-error {
  border-color: rgba(185, 28, 28, 0.22);
  background: rgba(185, 28, 28, 0.06);
  color: var(--mw-danger);
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.site-footer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.82));
  border-top-color: rgba(15, 108, 108, 0.08) !important;
}

.site-footer .h6 {
  color: var(--mw-text);
  margin-bottom: 0.7rem;
  font-weight: 700;
}

.footer-brand {
  color: var(--mw-text);
}

.footer-brand:hover {
  color: var(--mw-primary);
  text-decoration: none;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  color: var(--mw-text-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--mw-primary);
}

.social-btn {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-grid;
  place-items: center;
  border-radius: 0.75rem;
  color: var(--mw-text-soft);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 108, 108, 0.10);
  text-decoration: none;
  box-shadow: var(--mw-shadow-xs);
  transition:
    transform var(--mw-duration-fast) var(--mw-ease),
    color var(--mw-duration-fast) var(--mw-ease),
    border-color var(--mw-duration-fast) var(--mw-ease),
    background-color var(--mw-duration-fast) var(--mw-ease);
}

.social-btn:hover {
  color: var(--mw-primary);
  border-color: rgba(15, 108, 108, 0.18);
  background: #fff;
  transform: translateY(-1px);
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2rem;
  padding-inline: 0.6rem;
  border-radius: var(--mw-radius-pill);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mw-text-soft);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 108, 108, 0.10);
  transition:
    color var(--mw-duration-fast) var(--mw-ease),
    background-color var(--mw-duration-fast) var(--mw-ease),
    border-color var(--mw-duration-fast) var(--mw-ease);
}

.lang-pill:hover {
  color: var(--mw-primary);
  background: #fff;
  border-color: rgba(15, 108, 108, 0.16);
}

.lang-pill.active,
.lang-pill[aria-current="page"] {
  color: var(--mw-primary);
  background: rgba(15, 108, 108, 0.07);
  border-color: rgba(15, 108, 108, 0.16);
}

.footer-bottom {
  border-top-color: rgba(15, 108, 108, 0.08) !important;
}

/* ---------------------------------------------------------
   Responsive refinements
   --------------------------------------------------------- */

@media (min-width: 992px) {
  .hero-panel {
    padding: 1.1rem;
  }

  .project-card,
  .service-card,
  .feature-panel {
    padding: 1.05rem;
  }

  .ceo-quote-card {
    padding: 1.25rem 1.35rem;
  }
}

@media (max-width: 575.98px) {
  .status-chip {
    font-size: 0.8rem;
    padding: 0.45rem 0.65rem;
  }

  .hero-module-list li {
    padding: 0.6rem 0.65rem;
  }

  .project-card,
  .service-card,
  .feature-panel,
  .cta-panel,
  .ceo-quote-card {
    border-radius: 1rem;
  }

  .dropdown-menu {
    min-width: 10.5rem;
  }
}

/* ---------------------------------------------------------
   Reduced motion polish
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .btn:hover,
  .service-card:hover,
  .project-card:hover,
  .social-btn:hover {
    transform: none !important;
  }

  .btn-minwel.btn-lg::after {
    display: none;
  }
}

/* =========================================================
   Minwel v3 overrides
   ========================================================= */

.site-header {
  background: rgba(251, 249, 244, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 108, 108, 0.06);
}

.navbar-minwel {
  min-height: var(--mw-header-height);
  padding-block: 0.35rem;
  border-bottom: 0;
}

.site-header.is-scrolled {
  background: rgba(251, 249, 244, 0.92);
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
}

.site-header.is-scrolled .navbar-minwel {
  border-bottom-color: transparent;
}

.navbar-brand {
  gap: 0.65rem;
}

.navbar-brand .brand-mark {
  width: 28px;
  height: 28px;
}

.brand-word {
  font-size: 1rem;
}

.navbar-minwel .nav-link {
  padding: 0.5rem 0.72rem;
  border-radius: 0.82rem;
}

.navbar-minwel .navbar-toggler {
  width: 40px;
  height: 40px;
  border-radius: 0.9rem;
}

.nav-actions .btn {
  min-height: 40px;
}

.service-icon {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 0.95rem;
}

.cta-panel {
  padding: clamp(1rem, 1.2vw + 0.75rem, 1.5rem);
}

@media (max-width: 991.98px) {
  .site-header {
    background: rgba(251, 249, 244, 0.9);
  }

  .navbar-minwel {
    padding-block: 0.4rem;
  }

  .navbar-minwel .navbar-collapse {
    margin-top: 0.75rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 108, 108, 0.08);
    box-shadow: var(--mw-shadow-md);
  }

  .navbar-minwel .nav-link {
    width: 100%;
    padding: 0.72rem 0.82rem;
  }

  .nav-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .nav-actions .dropdown,
  .nav-actions > a,
  .nav-actions > button {
    flex: 1 1 auto;
  }

  .nav-actions .btn {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand .brand-mark {
    width: 26px;
    height: 26px;
  }

  .brand-word {
    font-size: 0.98rem;
  }
}


/* =========================================================
   Minwel v4 header refinements
   ========================================================= */

.site-header {
  background: rgba(251, 249, 244, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-header.is-scrolled {
  background: rgba(251, 249, 244, 0.88);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.navbar-minwel {
  min-height: var(--mw-header-height);
  padding-block: 0.25rem;
}

.navbar-brand {
  gap: 0.55rem;
}

.navbar-brand .brand-mark {
  width: 26px;
  height: 26px;
}

.brand-word {
  font-size: 0.98rem;
}

.navbar-minwel .nav-link {
  padding: 0.42rem 0.68rem;
  border-radius: 0.78rem;
}

.navbar-minwel .navbar-toggler,
.nav-actions .btn {
  min-height: 38px;
}

.navbar-minwel .navbar-toggler {
  width: 38px;
  height: 38px;
  border-radius: 0.85rem;
}

@media (max-width: 991.98px) {
  .navbar-minwel .navbar-collapse {
    margin-top: 0.6rem;
    padding: 0.72rem;
    border-radius: 1rem;
    max-height: calc(100svh - 5rem);
    overflow: auto;
  }

  .navbar-minwel .nav-link {
    padding: 0.78rem 0.85rem;
  }

  .nav-actions {
    gap: 0.65rem !important;
  }
}

@media (max-width: 575.98px) {
  .site-header {
    background: rgba(251, 249, 244, 0.82);
  }

  .navbar-brand .brand-mark {
    width: 24px;
    height: 24px;
  }

  .brand-word {
    font-size: 0.94rem;
  }
}
