/**
 * Theme Name: Astra child
 * Theme URI: https://www.quickmedic.io
 * Description: Custom child theme for QuickMedic - Global Medical Equipment Supply & Logistics.
 * Author: Brainstorm Force
 * Author URI: https://wpastra.com/about/
 * Template: astra
 * Version: 1.0.0
 * Text Domain: astra-child
 */

/* ==========================================================================
   Quickmedic.io — Design System
   Global Medical Equipment & Logistics
   ========================================================================== */

/* -------------------- Design Tokens -------------------- */
:root {
  /* Color */
  --primary: #0A8F87;
  --primary-light: #18B7AE;
  --primary-dark: #076B65;
  --navy: #12313D;
  --charcoal: #172126;
  --text: #172126;
  --muted: #64747A;
  --muted-2: #8A9AA0;
  --background: #FFFFFF;
  --surface: #F6F8F9;
  --surface-teal: #EAF8F7;
  --surface-blue: #F2F9FC;
  --border: #E4EAEC;
  --white: #FFFFFF;
  --success: #1E9E6B;
  --warning: #C77B12;

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 2px 10px rgba(18, 49, 61, 0.05);
  --shadow-md: 0 8px 30px rgba(18, 49, 61, 0.06);
  --shadow-lg: 0 20px 60px rgba(18, 49, 61, 0.10);

  /* Layout */
  --container: 1280px;
  --container-narrow: 880px;

  /* Spacing (fluid) */
  --space-section: clamp(48px, 7vw, 112px);
  --space-lg: clamp(28px, 4vw, 56px);
  --space-md: clamp(16px, 2.4vw, 28px);

  /* Type */
  --font-body: 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* -------------------- Reset -------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

p {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* -------------------- Typography -------------------- */
h1,
.h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2,
.h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3,
.h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
}

h4,
.h4 {
  font-size: 18px;
  font-weight: 600;
}

.text-lead {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--muted);
  line-height: 1.65;
}

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

.text-sm {
  font-size: 14px;
}

#ast-scroll-top .ast-icon.icon-arrow svg {
  width: 16px;
  height: 16px;
  fill: #0a8f87;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--primary);
  display: inline-block;
}

.eyebrow.on-dark {
  color: var(--primary-light);
}

/* -------------------- Layout helpers -------------------- */

.container-header {
  max-width: 1620px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.section {
  padding: var(--space-section) 0;
}

.section-tight {
  padding: clamp(32px, 4vw, 64px) 0;
}

.section-header {
  max-width: 680px;
  margin-bottom: var(--space-lg);
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.bg-surface {
  background: var(--surface);
}

.bg-surface-teal {
  background: var(--surface-teal);
}

.bg-surface-blue {
  background: var(--surface-blue);
}

.bg-navy {
  background: var(--navy);
  color: #fff;
}

.bg-navy h2,
.bg-navy h3,
.bg-navy h4 {
  color: #fff;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

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

.flex {
  display: flex;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gap-sm {
  gap: 10px;
}

.gap-md {
  gap: 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
  white-space: nowrap;
}

header a.btn {
  padding: 15px 16px;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 180ms ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

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

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--surface-teal);
  transform: translateY(-2px);
  color: var(--primary);
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type=reset]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
  outline: none !important;
  box-shadow: none !important;
  background: unset !important;
}

.header-search input:focus,
.search-bar input:focus {
  border-color: unset !important;
  border: unset !important;
}

.btn-white {
  background: #fff;
  color: var(--navy);
}

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

.btn-ghost-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 17px 30px;
  font-size: 16px;
}

.btn:hover svg.arrow {
  transform: translateX(3px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: border-color 180ms ease, gap 180ms ease;
}

.text-link:hover {
  border-color: var(--primary);
  gap: 9px;
  color: var(--primary);
}

.text-link svg {
  width: 16px;
  height: 16px;
}

/* -------------------- Header -------------------- */
.utility-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}

.utility-bar .container-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
}

.utility-bar-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.utility-bar-links {
  display: flex;
  gap: 22px;
  flex-shrink: 0;
}

.utility-bar-links a {
  opacity: 0.9;
  transition: opacity 150ms ease;
}

.utility-bar-links a:hover {
  opacity: 1;
  color: var(--primary-light);
}

/* -------------------- Header page title -------------------- */
.header-page-title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}

.header-page-title-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

/* -------------------- Language toggle -------------------- */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  padding: 3px;
  display: none;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  padding: 4px 10px 4px 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.75);
  transition: background 150ms ease, color 150ms ease;
}

.lang-btn svg {
  border-radius: 2px;
  flex-shrink: 0;
  display: block;
}

.lang-btn:hover {
  color: var(--navy);
}

.lang-btn[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.mobile-panel .lang-toggle {
  margin: 16px 24px 0;
  background: var(--surface);
  border-color: var(--border);
  width: fit-content;
}

.mobile-panel .lang-btn {
  color: var(--muted);
}

.mobile-panel .lang-btn:hover {
  color: var(--navy);
}

.mobile-panel .lang-btn[aria-pressed="true"] {
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 200ms ease, padding 200ms ease;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 54px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 200ms ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.main-nav a[aria-current="page"] {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  min-width: 200px;
  width: 200px;
  transition: border-color 150ms ease, background 150ms ease;
}

.header-search:focus-within {
  border-color: var(--primary);
  background: #fff;
}

.header-search svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex-shrink: 0;
}

.header-search input {
  border: 0;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 14px;
  box-shadow: unset;
}

.mobile-toggle,
.mobile-search-toggle {
  display: none;
  background: #fff !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  color: var(--navy) !important;
  cursor: pointer;
  box-shadow: none !important;
  transition: all 150ms ease;
}

.mobile-toggle svg,
.mobile-search-toggle svg {
  width: 22px !important;
  height: 22px !important;
  stroke: var(--navy) !important;
  color: var(--navy) !important;
  display: block !important;
  stroke-width: 2 !important;
}

.mobile-toggle:hover,
.mobile-toggle:focus {
  background: var(--surface) !important;
  border-color: var(--primary) !important;
}

.mobile-toggle:hover svg,
.mobile-toggle:focus svg {
  stroke: var(--primary) !important;
  color: var(--primary) !important;
}

.mobile-panel {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #fff;
  transform: translateX(100%);
  transition: transform 260ms ease;
  overflow-y: auto;
}

.mobile-panel.is-open {
  transform: translateX(0);
}

.mobile-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
}

.mobile-panel nav {
  display: flex;
  flex-direction: column;
  padding: 12px 24px;
  list-style: none;
}

.mobile-panel nav a {
  padding: 16px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  /* border-bottom: 1px solid var(--border); */
}

.mobile-panel-cta {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-panel-close {
  background: #fff !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  color: var(--navy) !important;
  cursor: pointer;
  box-shadow: none !important;
  transition: all 150ms ease;
}

.mobile-panel-close svg {
  width: 22px !important;
  height: 22px !important;
  stroke: var(--navy) !important;
  color: var(--navy) !important;
  display: block !important;
  stroke-width: 2 !important;
}

.mobile-panel-close:hover {
  background: var(--surface) !important;
  border-color: var(--primary) !important;
}

.mobile-panel-close:hover svg {
  stroke: var(--primary) !important;
  color: var(--primary) !important;
}

/* -------------------- Hero -------------------- */
.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-copy h1 {
  margin-bottom: 20px;
}

.hero-copy .text-lead {
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-visual {
  position: relative;
  background: linear-gradient(160deg, var(--surface-teal) 0%, var(--surface-blue) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8%;
  background: radial-gradient(circle at 50% 40%, rgba(24, 183, 174, 0.28), transparent 70%);
  filter: blur(10px);
  z-index: -1;
}

.hero-visual img {
  border-radius: var(--radius-md);
}

.floating-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  animation: floatCard 5s ease-in-out infinite;
}

.floating-card .fc-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--surface-teal);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-card .fc-icon svg {
  width: 18px;
  height: 18px;
}

.floating-card span.fc-sub {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}

.fc-1 {
  top: 6%;
  left: -6%;
}

.fc-2 {
  bottom: 8%;
  right: -6%;
  animation-delay: 1.2s;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-card {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* -------------------- Trust bar -------------------- */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.trust-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 28px 0;
}

.trust-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.trust-icon svg {
  width: 22px;
  height: 22px;
}

.trust-item h4 {
  margin-bottom: 4px;
  font-size: 15px;
}

.trust-item p {
  font-size: 13.5px;
  color: var(--muted);
}

/* -------------------- Cards -------------------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.category-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.category-card .cat-image {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface);
}

.category-card .cat-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.category-card:hover .cat-image img {
  transform: scale(1.05);
}

.category-card .cat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface-teal);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-card .cat-icon svg {
  width: 20px;
  height: 20px;
}

.category-card h3 {
  font-size: 18px;
}

.category-card p {
  color: var(--muted);
  font-size: 14px;
}

.category-card .cat-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--primary);
  font-size: 14px;
  margin-top: auto;
}

.category-card .cat-link svg {
  width: 16px;
  height: 16px;
  transition: transform 220ms ease;
}

.category-card:hover .cat-link svg {
  transform: translateX(4px);
}

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

.product-card .pc-image {
  aspect-ratio: 4/3;
  background: #f8fafc;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.product-card .pc-image img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 400ms ease;
}

.product-card:hover .pc-image img {
  transform: scale(1.05);
}

.product-card .pc-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #fff;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--primary);
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
  display: none;
}

.product-card .pc-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-card .pc-category {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.product-card h3 {
  font-size: 17px;
}

.product-card h3 a:hover {
  color: var(--muted-2);
}

.product-card .pc-manufacturer {
  font-size: 13px;
  color: var(--muted);
}

.product-card .pc-desc {
  font-size: 14px;
  color: var(--muted);
  flex: 1;
}

.product-card .pc-spec {
  font-size: 12.5px;
  color: var(--muted-2);
  border-top: 1px dashed var(--border);
  padding-top: 10px;
  margin-top: 4px;
}

.product-card .pc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  gap: 10px;
}

.product-card .pc-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

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

.availability {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--success);
}

.availability .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.availability.limited {
  color: var(--warning);
}

.availability.limited .dot {
  background: var(--warning);
}

.service-card {
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sv-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--surface-teal);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sv-icon svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.sv-icon-solo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
}

.sv-icon-solo svg {
  width: 18px;
  height: 18px;
}

.service-card p {
  color: var(--muted);
  font-size: 14.5px;
}

.service-card .cat-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--primary);
  font-size: 14px;
  margin-top: 4px;
}

.service-card .cat-link svg {
  width: 16px;
  height: 16px;
  transition: transform 220ms ease;
}

.service-card:hover .cat-link svg {
  transform: translateX(4px);
}

/* -------------------- Badge / chip -------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-teal);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge.navy {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.note-placeholder {
  background: var(--surface-blue);
  border: 1px dashed #9FC6DA;
  color: var(--navy);
  font-size: 13px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}

/* -------------------- Product Search / filters -------------------- */
.search-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 36px);
  box-shadow: var(--shadow-md);
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 14px 22px;
  margin-bottom: 20px;
}

.search-bar svg {
  width: 20px;
  height: 20px;
  color: var(--muted);
  flex-shrink: 0;
}

.search-bar input {
  border: 0;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 15px;
  box-shadow: unset;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  transition: all 180ms ease;
}

.filter-chip:hover {
  border-color: var(--primary);
  color: var(--navy);
}

.filter-chip.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.filter-select {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
}

.results-meta {
  font-size: 13.5px;
  color: var(--muted);
  margin: 20px 0;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  display: none;
}

.no-results.is-visible {
  display: block;
}

/* -------------------- Logistics / split section -------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split.reverse .split-media {
  order: 2;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 28px;
}

.step-item {
  display: flex;
  gap: 16px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface-teal);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.step-item h4 {
  margin-bottom: 4px;
  font-size: 16px;
}

.step-item p {
  font-size: 14px;
  color: var(--muted);
}

/* -------------------- Why / stats section (dark) -------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-lg);
}

.why-item {
  background: var(--navy);
  padding: 36px 28px;
}

.why-num {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}

.why-item h3 {
  color: #fff;
  font-size: 19px;
  margin-bottom: 10px;
}

.why-item p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.why-item-light {
  background: #fff !important;
  /* border: 1px solid var(--border); */
}

.why-item-light h3 {
  color: var(--navy) !important;
}

.why-item-light p {
  color: var(--muted) !important;
}

/* -------------------- CTA band -------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--surface-teal), var(--surface-blue));
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
}

.cta-band .btn-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

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

/* -------------------- Forms -------------------- */
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}

.form-field .required {
  color: var(--primary);
}

.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14.5px;
  color: var(--text);
  background: #fff;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-field input,
.form-field select {
  height: 46px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 143, 135, 0.12);
  outline: none;
}

.form-field textarea {
  resize: vertical;
  height: auto;
  min-height: 110px;
}

.form-field .error-msg {
  font-size: 12.5px;
  color: #C0392B;
  display: none;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #C0392B;
}

.form-field.has-error .error-msg {
  display: block;
}

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.4vw, 44px);
  box-shadow: var(--shadow-md);
}

.form-success {
  display: none;
  background: var(--surface-teal);
  border: 1px solid var(--primary-light);
  color: var(--primary-dark);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 14.5px;
}

.form-success.is-visible {
  display: block;
}

ul#menu-legal-links {
  display: flex;
  gap: 16px;
}

/* -------------------- FAQ Accordion -------------------- */
.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  background: none;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  box-shadow: unset;
}

.accordion-trigger svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 220ms ease;
}

.accordion-item.is-open .accordion-trigger svg {
  transform: rotate(45deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease;
}

.accordion-panel-inner {
  padding: 0 4px 22px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* -------------------- Spec table -------------------- */
.spec-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.spec-table tr:nth-child(even) {
  background: var(--surface);
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 13px 18px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.spec-table th {
  width: 42%;
  color: var(--muted);
  font-weight: 600;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table-wrap {
  overflow-x: auto;
}

/* -------------------- Footer -------------------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
}

.footer-cta {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 44px 0;
}

.footer-cta .flex-between {
  flex-wrap: wrap;
  gap: 20px;
}

.footer-cta h3 {
  color: #fff;
  font-size: 22px;
}

.footer-main {
  padding: 56px 16px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 14px;
  max-width: 280px;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14.5px;
  transition: color 150ms ease;
}

.footer-col a:hover {
  color: var(--primary-light);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-social svg {
  width: 17px;
  height: 17px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

/* -------------------- Breadcrumbs -------------------- */
.breadcrumbs {
  font-size: 13.5px;
  color: var(--muted);
  padding: 18px 0;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs .sep {
  margin: 0 8px;
  color: var(--muted-2);
}

/* -------------------- Page hero (inner pages) -------------------- */
.page-hero {
  padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 56px);
}

.page-hero.on-surface {
  background: var(--surface);
}

.page-hero .text-lead {
  max-width: 640px;
}

/* -------------------- Process steps (numbered, horizontal) -------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: var(--space-lg);
}

.process-item {
  text-align: center;
  padding: 10px;
}

.process-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface-teal);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 16px;
}

.process-item h4 {
  font-size: 15.5px;
  margin-bottom: 6px;
}

.process-item p {
  font-size: 13.5px;
  color: var(--muted);
}

/* -------------------- Utility text blocks -------------------- */
.doc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.doc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}

.doc-chip:hover {
  color: var(--navy);
}

.doc-chip svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.doc-chip.unavailable {
  color: var(--muted-2);
  opacity: 0.6;
}

/* -------------------- Scroll reveal -------------------- */
[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========================================================================
   Comprehensive Responsive System (Cascading Desktop-Down)
   ======================================================================== */

/* -------------------- 1300px: Small Laptops / Large Tablets -------------------- */
@media (max-width: 1300px) {
  .utility-bar {
    display: none !important;
  }

  .main-nav {
    display: none !important;
  }

  .header-search {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
  }

  .mobile-panel {
    display: block;
  }
}

/* -------------------- 1024px: Tablets Landscape -------------------- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .trust-bar .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .trust-item {
    padding: 20px 0;
  }

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

  .why-item {
    padding: 28px 22px;
  }

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

  .footer-main {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 28px;
  }

  .footer-main .footer-col:last-child {
    grid-column: span 1;
  }

  .floating-card {
    display: none !important;
  }
}

/* -------------------- 860px: Tablets Portrait -------------------- */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .hero-visual {
    order: -1;
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }

  .split,
  .split.reverse .split-media {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .split.reverse .split-media {
    order: 0;
  }

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

  .why-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .cta-band {
    padding: clamp(28px, 6vw, 44px) 20px;
  }

  .cta-band .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-band .btn-row .btn {
    width: 100%;
  }

  .footer-cta .flex-between {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-cta .btn {
    width: 100%;
  }
}

/* -------------------- 640px: Large Mobile -------------------- */
@media (max-width: 640px) {
  .trust-bar .grid-4 {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .trust-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
  }

  .trust-bar .grid-4 .trust-item:last-child {
    border-bottom: none;
  }

  .process-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .search-panel {
    padding: 20px 16px;
  }

  .search-bar {
    padding: 11px 16px;
    margin-bottom: 14px;
  }

  .filter-row {
    gap: 8px;
  }

  .filter-chip {
    padding: 7px 14px;
    font-size: 12.5px;
  }

  .category-card {
    padding: 18px;
  }

  .product-card .pc-body {
    padding: 16px;
  }

  .service-card {
    padding: 22px 18px;
  }

  .form-card {
    padding: 22px 16px;
  }
}

/* -------------------- 500px: Standard Mobile -------------------- */
@media (max-width: 500px) {

  .container,
  .container-narrow,
  .cta-band-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-inner {
    padding: 12px;
  }

  .logo img {
    height: 54px;
  }

  .header-actions>.btn {
    display: none !important;
  }

  .section {
    padding: clamp(36px, 6vw, 56px) 0;
  }

  .section-tight {
    padding: clamp(24px, 4vw, 36px) 0;
  }

  h1,
  .h1 {
    font-size: clamp(26px, 7vw, 32px);
    letter-spacing: -0.01em;
  }

  h2,
  .h2 {
    font-size: clamp(21px, 5.5vw, 26px);
  }

  h3,
  .h3 {
    font-size: clamp(18px, 4.5vw, 22px);
  }

  .text-lead {
    font-size: 15px;
    line-height: 1.6;
  }

  .btn {
    width: 100%;
    padding: 13px 20px;
    font-size: 14.5px;
  }

  .btn-lg {
    padding: 14px 22px;
    font-size: 15px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-bottom-links,
  ul#menu-legal-links {
    flex-direction: column;
    gap: 8px;
  }

  .spec-table th,
  .spec-table td {
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* -------------------- 360px: Small Mobile -------------------- */
@media (max-width: 360px) {

  .container,
  .container-narrow,
  .cta-band-wrap {
    padding-left: 12px;
    padding-right: 12px;
  }

  .logo img {
    max-width: 125px;
    height: auto;
  }

  .mobile-toggle {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px;
    min-height: 38px;
  }

  .mobile-toggle svg {
    width: 20px !important;
    height: 20px !important;
  }

  .btn {
    padding: 12px 16px;
    font-size: 14px;
  }
}

/* -------------------- New Homepage Sections & Hero Updates -------------------- */

/* Hero: Full-bleed operating-room background with dark teal scrim */
.hero {
  padding: clamp(64px, 11vw, 132px) 0 clamp(64px, 10vw, 116px);
  overflow: hidden;
  position: relative;
  background-color: var(--navy);
  background-image:
    linear-gradient(115deg, rgba(7, 34, 32, 0.93) 0%, rgba(8, 55, 52, 0.86) 45%, rgba(10, 100, 94, 0.68) 100%),
    url("assets/images/hero-operating-room.jpg");
  background-size: cover;
  background-position: center;
}

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

.hero-copy {
  max-width: 640px;
}

.hero .eyebrow {
  color: #fff;
}

.hero .eyebrow::before {
  background: #fff;
}

.hero-copy h1 {
  margin-bottom: 20px;
  color: #fff;
}

.hero-copy .text-lead {
  margin-bottom: 32px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.in-view .hero-actions .btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.in-view .hero-actions .btn-secondary:hover {
  border-color: var(--primary);
}

.hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
}

.hero-copy>.text-link {
  color: #fff;
}

.hero-copy>.text-link:hover {
  border-color: #fff;
}

/* Navy background & Trust pillars (Who We Are / Why Quickmedic) */
.bg-navy .text-lead {
  color: rgba(255, 255, 255, 0.75);
}

.trust-pillar {
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trust-pillar p {
  color: var(--muted);
  font-size: 14.5px;
}

.bg-navy .trust-pillar {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.bg-navy .trust-pillar h3 {
  color: #fff;
}

.bg-navy .trust-pillar p {
  color: rgba(255, 255, 255, 0.68);
}

.bg-navy .trust-pillar .sv-icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--primary-light);
}

/* Brand gradient band (Logistics & Consultations sections) */
.bg-brand-gradient {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 65%, var(--primary-light) 100%);
  color: #fff;
}

.bg-brand-gradient h2,
.bg-brand-gradient h3,
.bg-brand-gradient h4 {
  color: #fff;
}

.bg-brand-gradient .text-lead {
  color: rgba(255, 255, 255, 0.85);
}

.bg-brand-gradient .eyebrow {
  color: #fff;
}

.bg-brand-gradient .eyebrow::before {
  background: #fff;
}

.bg-brand-gradient .step-num {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.bg-brand-gradient .step-item p {
  color: rgba(255, 255, 255, 0.78);
}

/* Brand visual panels & photo grids */
.brand-visual-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  position: relative;
  isolation: isolate;
}

.brand-visual-panel.photo-panel {
  padding: 12px;
  display: block;
}

.logistics-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.logistics-photo-main {
  grid-column: 1 / -1;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.logistics-photo-sub {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.logistics-photo-main img,
.logistics-photo-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Full-width photo break */
.image-break {
  line-height: 0;
}

.image-break img {
  width: 100%;
  height: clamp(220px, 32vw, 420px);
  object-fit: cover;
  display: block;
}

/* Globe graphic */
.globe-graphic {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
}

.globe-graphic .globe-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 1.2;
}

.globe-graphic .globe-outline {
  fill: rgba(255, 255, 255, 0.05);
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 1.5;
}

.globe-graphic .globe-route {
  fill: none;
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 1.3;
  stroke-dasharray: 4 5;
}

.globe-graphic .globe-pin-ring {
  fill: none;
  stroke: #fff;
  stroke-width: 1.3;
  opacity: 0.55;
  transform-origin: center;
  animation: pinPulse 2.6s ease-out infinite;
}

.globe-graphic .globe-pin-dot {
  fill: #fff;
}

.globe-graphic .globe-pin:nth-of-type(2) .globe-pin-ring {
  animation-delay: 0.5s;
}

.globe-graphic .globe-pin:nth-of-type(3) .globe-pin-ring {
  animation-delay: 1s;
}

.globe-graphic .globe-pin:nth-of-type(4) .globe-pin-ring {
  animation-delay: 1.5s;
}

.globe-graphic .globe-pin:nth-of-type(5) .globe-pin-ring {
  animation-delay: 0.2s;
}

@keyframes pinPulse {
  0% {
    transform: scale(0.4);
    opacity: 0.7;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .globe-graphic .globe-pin-ring {
    animation: none;
    opacity: 0.35;
  }
}

/* Consultation panel graphic */
.consult-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}

.consult-graphic .consult-icon {
  width: 84px;
  height: 84px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.consult-graphic .consult-icon svg {
  width: 38px;
  height: 38px;
}

.consult-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 300px;
}

.consult-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-align: left;
}

.consult-badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #fff;
}

/* Dynamic Page Hero for Inner Pages */
.page-hero.has-bg-image {
  position: relative;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
}

.page-hero.has-bg-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(115deg, rgba(7, 34, 32, 0.93) 0%, rgba(8, 55, 52, 0.86) 45%, rgba(10, 100, 94, 0.68) 100%);
  z-index: 0;
}

.page-hero.has-bg-image>.container {
  position: relative;
  z-index: 1;
}

.page-hero.has-bg-image h1,
.page-hero.has-bg-image .eyebrow,
.page-hero.has-bg-image .text-lead {
  color: #fff;
}

.page-hero.has-bg-image .eyebrow::before {
  background: #fff;
}

/* ==========================================================================
   Brands We Represent Section (Interactive Slider)
   ========================================================================== */
.brands-section {
  background: #ffffff;
  padding: 60px 0 70px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.brands-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 100%;
  margin-top: 36px;
  gap: 12px;
}

.brands-slider {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  padding: 12px 4px;
  cursor: grab;
  user-select: none;
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.brands-slider::-webkit-scrollbar {
  display: none;
}

.brands-slider:active {
  cursor: grabbing;
}

.brands-track {
  display: flex;
  gap: 20px;
  width: max-content;
  align-items: center;
}

.brand-item {
  flex: 0 0 200px;
  width: 200px;
  height: 94px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
  box-shadow: 0 2px 8px rgba(18, 49, 61, 0.04);
}

.brand-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-light);
}

.brand-item img {
  max-width: 100%;
  max-height: 55px;
  object-fit: contain;
  filter: grayscale(15%);
  transition: filter 250ms ease, transform 250ms ease;
  pointer-events: none;
}

.brand-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.brand-item a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.brands-nav-btn {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--border);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 200ms ease;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  display: none;
}

.brands-nav-btn:hover {
  background: var(--surface-teal);
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.08);
}

.brands-nav-btn:active {
  transform: scale(0.95);
}

.brands-nav-btn svg {
  stroke: currentColor;
}

@media (max-width: 768px) {
  .brand-item {
    flex: 0 0 160px;
    width: 160px;
    height: 80px;
    padding: 10px 14px;
  }

  .brands-nav-btn {
    display: none;
  }

  .brands-slider {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* ==========================================================================
   Testimonials Page & Cards
   ========================================================================== */
.testim-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 24px 0;
  text-align: center;
}

.testim-stat-item .stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.testim-stat-item .stat-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 6px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 10px;
}

.testim-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.testim-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10, 143, 135, 0.35);
}

.testim-card-featured {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfb 100%);
  border: 1.5px solid rgba(10, 143, 135, 0.25);
}

.testim-card-inner {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.testim-card-featured .testim-card-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}

.testim-media {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
  background: var(--surface);
}

.testim-card-featured .testim-media {
  aspect-ratio: 1;
}

.testim-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: top;
}

.testim-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(18, 49, 61, 0.88);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  text-align: center;
}

.testim-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 18px;
}

.testim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testim-stars {
  color: #E5A823;
  font-size: 18px;
  letter-spacing: 2px;
}

.testim-quote-icon {
  color: var(--primary);
}

.testim-quote {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--charcoal);
  font-style: italic;
  font-weight: 450;
}

.testim-card-featured .testim-quote {
  font-size: 18px;
  line-height: 1.7;
}

.testim-author {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.author-name {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 4px;
}

.author-role {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 6px;
  line-height: 1.4;
}

.author-org {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: var(--surface-teal);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.testim-case-preview {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

.testim-case-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 200ms ease;
}

.testim-case-link svg.arrow {
  width: 30px;
  height: 30px;
  stroke: #1b9292;
}

.testim-case-link:hover {
  background: var(--surface-teal);
  border-color: var(--primary-light);
}

.case-thumb-wrap {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.case-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-text strong {
  font-size: 13px;
  color: var(--navy);
}

.case-text small {
  font-size: 11.5px;
  color: var(--muted);
}

/* ==========================================================================
   Global Events Mosaic (About Page)
   ========================================================================== */
.global-events-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
}

.event-mosaic-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 260ms ease, border-color 260ms ease;
}

.event-mosaic-item:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--primary-light);
}

.event-mosaic-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.event-mosaic-1 {
  grid-column: 1 / -1;
}

.event-mosaic-1 img {
  height: 360px;
}

.event-mosaic-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 34, 32, 0.95) 100%);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.35;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .testim-card-featured .testim-card-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .testim-stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .global-events-mosaic {
    margin-top: 24px;
  }
}