/* =============================================
   European African Medical Limited
   Main Stylesheet — Professional Edition
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:    #00408A;
  --primary-dk: #002d63;
  --primary-lt: #e8eef6;
  --accent:     #C8973A;
  --text:       #0f1923;
  --text-mid:   #3d4f5c;
  --text-muted: #7a8b96;
  --border:     #dde3e8;
  --border-lt:  #f0f3f5;
  --bg:         #ffffff;
  --bg-soft:    #f7f9fb;
  --bg-dark:    #0a1520;
  --radius:     4px;
  --radius-lg:  8px;
  --shadow-sm:  0 1px 4px rgba(0,0,0,.06);
  --shadow:     0 4px 20px rgba(0,0,0,.07);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.1);
  --transition: .25s ease;
  --font:       'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --max-w:      1240px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ============================================= */

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__logo-mark {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav__logo-bar {
  width: 4px;
  height: 36px;
  background: var(--primary);
  margin-right: 10px;
}

.nav__logo-text { display: flex; flex-direction: column; line-height: 1.25; }

.nav__logo-name {
  font-family: var(--font);
  font-weight: 700;
  font-size: .92rem;
  color: var(--text);
  letter-spacing: .005em;
}

.nav__logo-sub {
  font-size: .7rem;
  color: var(--text-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 400;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__links a {
  font-size: .875rem;
  font-weight: 400;
  color: var(--text-mid);
  letter-spacing: .01em;
  transition: color var(--transition);
}

.nav__links a:hover,
.nav__links a.active { color: var(--text); }

.nav__links a.active { font-weight: 600; }

.nav__cta {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: var(--radius) !important;
  font-weight: 500 !important;
  font-size: .875rem !important;
  letter-spacing: .02em !important;
  transition: background var(--transition) !important;
}

.nav__cta:hover { background: var(--primary-dk) !important; color: #fff !important; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: var(--transition);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: #fff;
}

.hero__content-wrap {
  display: flex;
  align-items: center;
  padding: 80px 6% 80px 6%;
  border-right: 1px solid var(--border);
}

.hero__content { max-width: 560px; }

.hero__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.hero__label-line {
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero__label-text {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 3.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -.01em;
}

.hero__title em {
  font-style: italic;
  color: var(--primary);
}

.hero__desc {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 480px;
  margin-bottom: 44px;
  line-height: 1.8;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: .9rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  letter-spacing: .02em;
  font-family: var(--font);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn--primary:hover { background: var(--primary-dk); border-color: var(--primary-dk); }

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

.btn--outline:hover { background: var(--primary); color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--text-mid);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
  font-size: .875rem;
}

.btn--ghost:hover { color: var(--text); }

.btn--ghost svg { transition: transform var(--transition); }
.btn--ghost:hover svg { transform: translateX(4px); }

.hero__stats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.hero__stat {
  padding-right: 32px;
  margin-right: 32px;
  border-right: 1px solid var(--border);
}

.hero__stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }

.hero__stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -.01em;
}

.hero__stat-label {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 5px;
  font-weight: 400;
  letter-spacing: .02em;
}

.hero__visual {
  background: var(--bg-soft);
  position: relative;
  display: flex;
  flex-direction: column;
}

.hero__img-main {
  flex: 1;
  background: #dce8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}


.hero__img-main svg { width: 80px; height: 80px; opacity: .2; stroke: var(--primary); fill: none; stroke-width: 1; }

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

.hero__img-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}

.hero__img-cell {
  padding: 24px;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hero__img-cell:last-child { border-right: none; }

.hero__cell-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.hero__cell-label {
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 4px;
  line-height: 1.4;
}

/* =============================================
   SECTION SHARED
   ============================================= */
.section { padding: 100px 6%; }
.section--soft { background: var(--bg-soft); }
.section--ruled { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--dark { background: var(--bg-dark); }

.section__inner { max-width: var(--max-w); margin: 0 auto; }

.section__header { margin-bottom: 60px; }
.section__header--center { text-align: center; }
.section__header--center .section__sub { margin-left: auto; margin-right: auto; }

.section__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.section__header--center .section__eyebrow { justify-content: center; }

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.18;
  letter-spacing: -.01em;
}

.section__title em { font-style: italic; color: var(--primary); }

.section__sub {
  max-width: 540px;
  margin-top: 16px;
  color: var(--text-mid);
  font-size: .97rem;
  line-height: 1.75;
}

.section__divider {
  width: 48px;
  height: 2px;
  background: var(--primary);
  margin: 20px 0;
}

.section__header--center .section__divider { margin: 20px auto; }

/* =============================================
   TRUST SECTION
   ============================================= */
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
}

.trust__card {
  padding: 40px 28px;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}

.trust__card:last-child { border-right: none; }

.trust__card:hover { background: var(--primary-lt); }

.trust__num {
  font-family: var(--font-serif);
  font-size: .78rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .08em;
  margin-bottom: 20px;
}

.trust__icon {
  width: 40px; height: 40px;
  margin-bottom: 20px;
}

.trust__icon svg { width: 40px; height: 40px; stroke: var(--primary); fill: none; stroke-width: 1.4; }

.trust__card h3 {
  font-family: var(--font);
  font-size: .97rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.trust__card p {
  font-size: .875rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* =============================================
   PRODUCTS SECTION
   ============================================= */
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.product__card {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transition: background var(--transition);
}

.product__card:hover { background: var(--bg-soft); }

.product__img {
  height: 200px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.product__img svg { width: 56px; height: 56px; opacity: .2; stroke: var(--primary); fill: none; stroke-width: 1.2; }

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

.product__tag {
  position: absolute;
  top: 0; left: 0;
  background: var(--primary);
  color: #fff;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
}

.product__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }

.product__cat {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.product__name {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.35;
}

.product__desc {
  font-size: .875rem;
  color: var(--text-mid);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 24px;
}

.product__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.product__link {
  font-size: .83rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: gap var(--transition);
}

.product__link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; }

.product__link:hover { gap: 12px; }

.products__cta { text-align: center; margin-top: 48px; }

/* =============================================
   ABOUT SECTION (HOME SNIPPET)
   ============================================= */
.about-home__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
}

.about-home__visual {
  background: #dce8f0;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-right: 1px solid var(--border);
}

.about-home__visual svg { width: 80px; height: 80px; opacity: .18; stroke: var(--primary); fill: none; stroke-width: 1; }

.about-home__visual img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; top: 0; left: 0; }

.about-home__stat-block {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--primary);
  color: #fff;
  padding: 24px 28px;
}

.about-home__stat-block .num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.about-home__stat-block .lbl {
  font-size: .75rem;
  opacity: .75;
  margin-top: 4px;
  letter-spacing: .04em;
  display: block;
}

.about-home__content {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-home__list { display: flex; flex-direction: column; gap: 16px; margin: 28px 0 36px; }

.about-home__list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-home__dash {
  width: 18px;
  height: 1.5px;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 11px;
}

.about-home__list-item p { font-size: .9rem; color: var(--text-mid); line-height: 1.65; }

/* =============================================
   CERTIFICATES SECTION
   ============================================= */
.certs__row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  border: 1px solid var(--border);
}

.cert__card {
  flex: 1;
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}

.cert__card:last-child { border-right: none; }
.cert__card:hover { background: var(--primary-lt); }

.cert__icon {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
}

.cert__icon svg { width: 48px; height: 48px; stroke: var(--primary); fill: none; stroke-width: 1.4; }

.cert__name {
  font-family: var(--font);
  font-size: .92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
  letter-spacing: .01em;
}

.cert__desc { font-size: .78rem; color: var(--text-muted); line-height: 1.5; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.6);
  padding: 72px 6% 36px;
}

.footer__inner { max-width: var(--max-w); margin: 0 auto; }

.footer__top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer__brand-rule {
  width: 32px;
  height: 2px;
  background: var(--primary);
  margin-bottom: 18px;
}

.footer__brand-name {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}

.footer__brand-tagline {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  margin-bottom: 16px;
  letter-spacing: .04em;
}

.footer__brand-desc {
  font-size: .85rem;
  line-height: 1.75;
  color: rgba(255,255,255,.45);
  max-width: 280px;
}

.footer__col-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
  margin-bottom: 20px;
}

.footer__col ul { display: flex; flex-direction: column; gap: 11px; }

.footer__col ul li a {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}

.footer__col ul li a:hover { color: #fff; }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .855rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 12px;
}

.footer__contact-item svg { width: 15px; height: 15px; stroke: rgba(255,255,255,.3); fill: none; stroke-width: 1.8; flex-shrink: 0; margin-top: 2px; }

.footer__bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy { font-size: .8rem; color: rgba(255,255,255,.25); }

.footer__legal { display: flex; gap: 24px; }

.footer__legal a { font-size: .8rem; color: rgba(255,255,255,.25); transition: color var(--transition); }
.footer__legal a:hover { color: rgba(255,255,255,.6); }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: var(--bg-soft);
  padding: 64px 6%;
  border-bottom: 1px solid var(--border);
}

.page-hero__inner { max-width: var(--max-w); margin: 0 auto; }

.page-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.page-hero__eyebrow::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--text-muted);
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
  margin-bottom: 14px;
  line-height: 1.15;
}

.page-hero__sub {
  font-size: .97rem;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.75;
}

/* =============================================
   PRODUCTS PAGE
   ============================================= */
.products-filter {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  margin-bottom: 48px;
  width: fit-content;
}

.filter-btn {
  padding: 10px 22px;
  border: none;
  border-right: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  font-size: .83rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
  letter-spacing: .02em;
}

.filter-btn:last-child { border-right: none; }

.filter-btn:hover { background: var(--bg-soft); color: var(--text); }

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

.products-full__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

/* =============================================
   ABOUT US PAGE
   ============================================= */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}

.about-story__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.about-story__eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--accent);
}

.about-story__title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 2.8vw, 2.7rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
  margin-bottom: 20px;
  line-height: 1.18;
}

.about-story__title em { font-style: italic; color: var(--primary); }

.about-story__text {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-story__img {
  aspect-ratio: 4/5;
  background: #dce8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-story__img svg { width: 80px; height: 80px; opacity: .15; stroke: var(--primary); fill: none; stroke-width: 1; }

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

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.value__card {
  background: var(--bg);
  padding: 36px 28px;
  transition: background var(--transition);
}

.value__card:hover { background: var(--primary-lt); }

.value__num {
  font-family: var(--font-serif);
  font-size: .78rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 20px;
}

.value__icon {
  width: 36px; height: 36px;
  margin-bottom: 18px;
}

.value__icon svg { width: 36px; height: 36px; stroke: var(--primary); fill: none; stroke-width: 1.4; }

.value__card h3 {
  font-size: .97rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
  line-height: 1.3;
}

.value__card p { font-size: .875rem; color: var(--text-mid); line-height: 1.7; }

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.team__card {
  background: var(--bg);
  transition: background var(--transition);
}

.team__card:hover { background: var(--bg-soft); }

.team__avatar {
  height: 200px;
  background: #dce8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.team__avatar svg { width: 60px; height: 60px; opacity: .2; stroke: var(--primary); fill: none; stroke-width: 1.2; }

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

.team__info { padding: 22px 20px; }

.team__name {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
  line-height: 1.3;
}

.team__role { font-size: .8rem; color: var(--text-muted); font-weight: 400; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact__info-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.25;
}

.contact__info-sub { font-size: .9rem; color: var(--text-mid); margin-bottom: 36px; line-height: 1.7; }

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.contact__detail:last-of-type { border-bottom: none; }

.contact__detail-icon {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact__detail-icon svg { width: 20px; height: 20px; stroke: var(--primary); fill: none; stroke-width: 1.6; }

.contact__detail-label { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: var(--text-muted); margin-bottom: 4px; }

.contact__detail-val { font-size: .93rem; color: var(--text); font-weight: 500; line-height: 1.4; }

.contact__form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 48px 44px;
}

.contact__form-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.contact__form-sub { font-size: .88rem; color: var(--text-muted); margin-bottom: 32px; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form__group { margin-bottom: 20px; }

.form__label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: var(--font);
  font-size: .92rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--primary);
}

.form__textarea { resize: vertical; min-height: 130px; }

.form__submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  border-radius: 0;
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.form__submit:hover { background: var(--primary-dk); border-color: var(--primary-dk); }

/* =============================================
   MOBILE NAV MENU
   ============================================= */
.nav__mobile-menu {
  display: none;
  position: fixed;
  top: 76px; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 24px 6%;
  z-index: 998;
  flex-direction: column;
  gap: 0;
}

.nav__mobile-menu.open { display: flex; }

.nav__mobile-menu a {
  font-size: .95rem;
  font-weight: 400;
  color: var(--text-mid);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-lt);
  transition: color var(--transition);
}

.nav__mobile-menu a:last-child { border-bottom: none; }

.nav__mobile-menu a:hover,
.nav__mobile-menu a.active { color: var(--text); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__content-wrap { border-right: none; border-bottom: 1px solid var(--border); padding: 64px 6%; }
  .hero__img-main { min-height: 280px; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .products__grid, .products-full__grid { grid-template-columns: repeat(2, 1fr); }
  .about-home__inner { grid-template-columns: 1fr; }
  .about-home__visual { min-height: 320px; border-right: none; border-bottom: 1px solid var(--border); }
  .about-home__content { padding: 44px 36px; }
  .about-hero { grid-template-columns: 1fr; gap: 48px; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .certs__row { flex-wrap: wrap; }
  .cert__card { flex: 1 1 calc(33% - 1px); min-width: 160px; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__card { border-bottom: 1px solid var(--border); }
  .products__grid, .products-full__grid { grid-template-columns: 1fr; }
  .hero__content-wrap { padding: 48px 6% 40px; }
  .section { padding: 72px 6%; }
  .values__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr; }
  .contact__form-card { padding: 28px 24px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .cert__card { flex: 1 1 calc(50% - 1px); }
  .products-filter { width: 100%; flex-wrap: wrap; }
  .filter-btn { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2.1rem; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .trust__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .cert__card { flex: 1 1 100%; }
  .hero__img-strip { grid-template-columns: 1fr; }
  .hero__img-cell { border-right: none; border-bottom: 1px solid var(--border); }
}

/* =====================================================
   PRODUCT DETAIL PAGE
   ===================================================== */

.product-detail__hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
  min-height: 520px;
}

.product-detail__gallery {
  background: var(--bg-soft);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.product-detail__main-img {
  flex: 1;
  overflow: hidden;
  position: relative;
}

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

.product-detail__thumbs {
  display: flex;
  border-top: 1px solid var(--border);
}

.product-detail__thumb {
  flex: 1;
  aspect-ratio: 1;
  overflow: hidden;
  border-right: 1px solid var(--border);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity .2s;
}

.product-detail__thumb:last-child { border-right: none; }
.product-detail__thumb:hover, .product-detail__thumb.active { opacity: 1; }

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

.product-detail__info {
  padding: 52px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-detail__cat {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.product-detail__name {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 18px;
}

.product-detail__tagline {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  border-left: 3px solid var(--primary);
  padding-left: 16px;
}

.product-detail__badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.product-detail__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 6px 14px;
  color: var(--text-muted);
}

.product-detail__badge svg {
  width: 14px;
  height: 14px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.product-detail__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Specs table */
.spec__table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
}

.spec__table tr {
  border-bottom: 1px solid var(--border);
}

.spec__table tr:last-child { border-bottom: none; }

.spec__table td {
  padding: 14px 20px;
  font-size: .9rem;
  vertical-align: top;
  line-height: 1.5;
}

.spec__table td:first-child {
  width: 38%;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-soft);
  border-right: 1px solid var(--border);
}

.spec__table td:last-child {
  color: var(--text-muted);
}

/* Use-case grid */
.usecase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.usecase__card {
  background: var(--bg);
  padding: 28px 24px;
}

.usecase__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
}

.usecase__icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.5;
}

.usecase__title {
  font-size: .92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.usecase__desc {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Related products strip */
.related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

/* Breadcrumb */
.breadcrumb {
  padding: 14px 6%;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  font-size: .8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

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

.breadcrumb__sep {
  color: var(--border);
  font-size: .9rem;
}

/* Sticky CTA bar */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 6%;
  z-index: 900;
  transform: translateY(100%);
  transition: transform .3s ease;
  border-top: 2px solid var(--primary-dk);
}

.sticky-cta.visible { transform: translateY(0); }

.sticky-cta__name {
  font-size: .95rem;
  font-weight: 600;
}

.sticky-cta__sub {
  font-size: .8rem;
  opacity: .75;
  margin-top: 2px;
}

.sticky-cta__btn {
  background: #fff;
  color: var(--primary);
  border: none;
  padding: 10px 24px;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .04em;
  text-decoration: none;
  display: inline-block;
}

/* Responsive product detail */
@media (max-width: 900px) {
  .product-detail__hero { grid-template-columns: 1fr; }
  .product-detail__gallery { border-right: none; border-bottom: 1px solid var(--border); min-height: 340px; }
  .product-detail__info { padding: 36px 6%; }
  .product-detail__name { font-size: 1.9rem; }
  .usecase__grid { grid-template-columns: repeat(2, 1fr); }
  .related__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .usecase__grid, .related__grid { grid-template-columns: 1fr; }
  .product-detail__name { font-size: 1.6rem; }
  .product-detail__info { padding: 28px 5%; }
}

/* =============================================
   MODERN ANIMATIONS & ENHANCEMENTS
   ============================================= */

/* Animation Base States */
.anim-fade-up,
.anim-fade-in,
.anim-slide-left,
.anim-slide-right,
.anim-scale-in {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.anim-fade-up {
  transform: translateY(30px);
}

.anim-fade-in {
  transform: scale(0.98);
}

.anim-slide-left {
  transform: translateX(-40px);
}

.anim-slide-right {
  transform: translateX(40px);
}

.anim-scale-in {
  transform: scale(0.92) translateY(20px);
}

/* Visible State */
.anim-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Navigation Enhancements */
.nav {
  transition: background-color 0.4s ease,
              box-shadow 0.4s ease,
              transform 0.4s ease;
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.nav--hidden {
  transform: translateY(-100%);
}

/* Enhanced Button Interactions */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

.btn--primary {
  box-shadow: 0 4px 14px rgba(0, 64, 138, 0.25);
}

.btn--primary:hover {
  box-shadow: 0 6px 20px rgba(0, 64, 138, 0.35);
  transform: translateY(-2px);
}

/* Card Hover Enhancements */
.trust__card,
.value__card,
.cert__card,
.team__card {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.trust__card:hover,
.value__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 64, 138, 0.1);
}

.product__card {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.product__img {
  overflow: hidden;
}

.product__img img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Link Hover Enhancements */
.product__link {
  transition: all 0.3s ease;
}

.product__link svg {
  transition: transform 0.3s ease;
}

.product__link:hover {
  color: var(--primary-dk);
}

.product__link:hover svg {
  transform: translateX(6px);
}

/* Hero Image Enhancements */
.hero__img-main {
  overflow: hidden;
}

.hero__img-main img {
  transition: transform 0.8s ease;
}

.hero__img-main:hover img {
  transform: scale(1.03);
}

/* Form Input Focus Effects */
.form__input,
.form__select,
.form__textarea {
  transition: border-color 0.3s ease,
              box-shadow 0.3s ease,
              transform 0.2s ease;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 64, 138, 0.08);
  transform: translateY(-1px);
}

/* Navigation Link Underline Animation */
.nav__links a {
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__links a.nav__cta::after {
  display: none;
}

/* Section Divider Animation */
.section__divider {
  position: relative;
  overflow: hidden;
}

.section__divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

/* Hero Stats Stagger Animation */
.hero__stat {
  opacity: 0;
  transform: translateY(20px);
  animation: statFadeIn 0.6s ease forwards;
}

.hero__stat:nth-child(1) { animation-delay: 0.4s; }
.hero__stat:nth-child(2) { animation-delay: 0.55s; }
.hero__stat:nth-child(3) { animation-delay: 0.7s; }

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

/* Cert Card Icon Pulse */
.cert__icon svg {
  transition: transform 0.3s ease;
}

.cert__card:hover .cert__icon svg {
  transform: scale(1.1);
}

/* Team Card Image Overlay */
.team__avatar {
  overflow: hidden;
  position: relative;
}

.team__avatar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,64,138,0.3), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team__card:hover .team__avatar::after {
  opacity: 1;
}

/* Filter Button Transitions */
.filter-btn {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Contact Detail Hover */
.contact__detail {
  transition: all 0.3s ease;
}

.contact__detail:hover {
  background: var(--bg-soft);
  margin-left: -10px;
  padding-left: 10px;
  border-radius: 4px;
}

/* Footer Link Hover Enhancement */
.footer__col ul li a {
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

.footer__col ul li a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.3s ease;
}

.footer__col ul li a:hover::before {
  width: 100%;
}

/* =============================================
   SUBTLE HOVER EFFECTS - PROFESSIONAL
   ============================================= */

/* Product Card - Subtle lift */
.product__card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.product__card:hover .product__img img {
  transform: scale(1.05);
}

.product__img img {
  transition: transform 0.4s ease;
}

/* Trust Card - Simple background change */
.trust__card {
  transition: background-color 0.3s ease;
}

.trust__card:hover {
  background-color: var(--primary-lt);
}

/* Value Card */
.value__card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* Cert Card */
.cert__card {
  transition: background-color 0.3s ease;
}

.cert__card:hover {
  background-color: var(--primary-lt);
}

/* Team Card */
.team__card {
  transition: transform 0.3s ease;
}

.team__card:hover {
  transform: translateY(-4px);
}

/* Buttons - Simple lift */
.btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 64, 138, 0.2);
}

.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

/* Navigation */
.nav__links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

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

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__cta {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 64, 138, 0.25);
}

/* Product Link */
.product__link svg {
  transition: transform 0.2s ease;
}

.product__link:hover svg {
  transform: translateX(4px);
}

/* Filter Buttons */
.filter-btn {
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: var(--bg-soft);
}

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

/* Contact Details */
.contact__detail {
  transition: background-color 0.2s ease;
}

.contact__detail:hover {
  background: var(--bg-soft);
}

/* Footer Links */
.footer__col ul li a {
  transition: color 0.2s ease;
}

.footer__col ul li a:hover {
  color: #fff;
}

/* Links */
a {
  transition: color 0.2s ease;
}

/* =============================================
   PRODUCT DETAIL PAGE - NEW HERO LAYOUT
   ============================================= */

.product-hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-soft) 100%);
  position: relative;
  overflow: hidden;
}

.product-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(0,64,138,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.product-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 8%;
  position: relative;
  z-index: 2;
}

.product-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.product-hero__eyebrow::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.product-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
}

.product-hero__title em {
  font-style: italic;
  color: var(--primary);
}

.product-hero__tagline {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 480px;
  border-left: 3px solid var(--primary);
  padding-left: 20px;
}

.product-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.product-hero__main-img {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

/* Clean Product Gallery */
.scattered-gallery {
  padding: 60px 6%;
  background: var(--bg-soft);
}

.scattered-gallery .section__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.scattered-img {
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
}

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

.scattered-img--large {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.scattered-img--medium,
.scattered-img--small {
  aspect-ratio: 4/3;
}

/* Simple Feature Blocks */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 6%;
}

.feature-block:nth-child(even) .feature-block__image {
  order: 2;
}

.feature-block__image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.feature-block__image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-block__content {
  padding: 20px 0;
}

.feature-block__num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-lt);
  line-height: 1;
  margin-bottom: 16px;
}

.feature-block__title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.feature-block__text {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* Sticky Product Info */
.product-sticky-info {
  position: sticky;
  top: 100px;
  padding: 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* Image Reveal Mask Animation */
.reveal-mask {
  position: relative;
  overflow: hidden;
}

.reveal-mask::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary);
  transform: translateY(0);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-mask.is-revealed::after {
  transform: translateY(100%);
}

/* Text Scramble Effect Base */
[data-scramble] {
  display: inline-block;
}

/* Cursor Follower (for desktop) */
.cursor-follower {
  position: fixed;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease;
}

.cursor-follower.is-hovering {
  width: 50px;
  height: 50px;
  background: var(--accent);
}

/* Product Badge Animation */
.product__tag {
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 64, 138, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(0, 64, 138, 0); }
}

/* Loading State for Images */
.img-loading {
  background: linear-gradient(90deg, var(--bg-soft) 25%, var(--border) 50%, var(--bg-soft) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .anim-fade-up,
  .anim-fade-in,
  .anim-slide-left,
  .anim-slide-right,
  .anim-scale-in,
  .hero__stat {
    opacity: 1;
    transform: none;
    animation: none;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .cursor-follower {
    display: none !important;
  }
}

/* Responsive Product Hero */
@media (max-width: 1024px) {
  .product-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .product-hero__content {
    padding: 60px 6%;
    order: 2;
  }
  
  .product-hero__visual {
    padding: 40px;
    order: 1;
    min-height: 50vh;
  }
  
  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 6%;
  }
  
  .feature-block:nth-child(even) .feature-block__image {
    order: 0;
  }
  
  .scattered-gallery .section__inner {
    grid-template-columns: 1fr;
  }
  
  .scattered-img--large {
    grid-column: span 1;
  }
  
  .feature-block__num {
    font-size: 2.5rem;
  }
  
  .feature-block__title {
    font-size: 1.5rem;
  }
}

/* =============================================
   PREMIUM MODERN HOVER EFFECTS
   ============================================= */

/* Product Cards - Refined */
.product__card {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 64, 138, 0.12);
}

.product__card:hover .product__img img {
  transform: scale(1.03);
}

.product__img img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Trust Cards - Elegant */
.trust__card {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.trust__card:hover {
  background: linear-gradient(135deg, var(--bg) 0%, var(--primary-lt) 100%);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 64, 138, 0.08);
}

/* Value Cards */
.value__card {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.value__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 64, 138, 0.1);
}

/* Buttons - Premium feel */
.btn {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 64, 138, 0.25);
}

/* Navigation - Underline slide */
.nav__links a {
  position: relative;
}

.nav__links a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav__links a:hover::before,
.nav__links a.active::before {
  width: 100%;
}

/* Product Links */
.product__link {
  transition: color 0.2s ease;
}

.product__link svg {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product__link:hover svg {
  transform: translateX(6px);
}

/* Section Dividers */
.section__divider {
  position: relative;
  overflow: hidden;
}

.section__divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,64,138,0.3), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

/* Gallery Images */
.scattered-img {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scattered-img:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

/* Feature Blocks */
.feature-block__image {
  overflow: hidden;
  border-radius: 12px;
}

.feature-block__image img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-block:hover .feature-block__image img {
  transform: scale(1.02);
}

/* Number counter animation trigger */
.feature-block__num {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   SMOOTH SCROLLING BEHAVIOR
   ============================================= */

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
