@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

/* VascuTech Medical Limited — shared site styles
   Deliberately single-theme: always renders on white, regardless of OS/browser theme. */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F7F7FA;
  --ink: #1B1D22;
  --ink-soft: #575C67;
  --ink-faint: #8B909A;
  --line: #E7E8ED;
  --red: #9C2B45;
  --blue: #3E4E78;
  --grad: linear-gradient(135deg, #9C2B45 0%, #77396C 45%, #3E4E78 100%);
  --tint: #F4EEF1;
  --shadow: 0 1px 2px rgba(20,20,30,0.05), 0 14px 34px rgba(20,20,30,0.07);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
body.page-loaded { opacity: 1; transform: translateY(0); }
body.page-leaving { opacity: 0; transform: translateY(-8px); }
::selection { background: var(--tint); color: var(--red); }
a { color: inherit; }
p { margin: 0; }

h1, h2, h3 {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
  letter-spacing: -0.01em;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand-lockup { height: 28px; display: block; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a.link { text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.nav-links a.link.active,
.nav-links a.link:hover { color: var(--red); }
@media (max-width: 640px) { .nav-links a.link { display: none; } }

/* ---------- NAV DROPDOWNS (Our Work / About Us) ---------- */
.nav-item-dropdown { position: relative; }
.nav-item-dropdown::after {
  /* invisible bridge so the pointer can travel from the trigger down into the panel
     without the gap between them closing the menu */
  content: '';
  position: absolute;
  top: 100%; left: -12px; right: -12px; height: 16px;
}
.dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: -14px;
  min-width: 250px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateX(-18px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
  z-index: 60;
}
.nav-item-dropdown:hover .dropdown-panel,
.nav-item-dropdown.open .dropdown-panel {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
}
.dropdown-item:hover { background: var(--bg-alt); }
.dropdown-item-title {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dropdown-item-desc { font-size: 12.5px; color: var(--ink-faint); }
.dropdown-item-tag {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--red); background: var(--tint);
  padding: 2px 7px; border-radius: 20px;
}

/* The nav's Contact-us button is a fixed, static control — no hover/active
   color change. It intentionally does not use .link's hover rule above. */
.nav-cta {
  text-decoration: none;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  color: #FFFFFF;
  background: var(--grad);
  padding: 11px 22px;
  border-radius: 999px;
}
.nav-cta:hover,
.nav-cta:focus,
.nav-cta:active {
  color: #FFFFFF;
  background: var(--grad);
}
.nav-cta:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700; font-size: 14.5px;
  padding: 11px 22px; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.15s ease, opacity 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-grad { background: var(--grad); color: #fff; }
.btn-grad:hover { opacity: 0.9; }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---------- HERO (home only) ---------- */
.hero { position: relative; overflow: hidden; padding: 108px 0 88px; text-align: center; }
#particles-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero .wrap { position: relative; z-index: 1; }
.eyebrow {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red);
}
.hero h1 { font-size: clamp(34px, 5.4vw, 56px); margin: 16px auto 0; max-width: 15ch; }
.hero-sub { margin: 20px auto 0; font-size: 18px; color: var(--ink-soft); max-width: 50ch; }
.hero-ctas { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- HOME TILES ---------- */
.tiles-section { padding: 8px 0 100px; }
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
@media (max-width: 700px) { .tiles { grid-template-columns: 1fr; } }
.tile {
  background: var(--bg);
  padding: 34px 28px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.15s ease;
}
.tile:hover { background: var(--bg-alt); }
.tile-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.tile h3 { font-size: 18px; font-weight: 600; }
.tile p { font-size: 14.5px; color: var(--ink-soft); flex-grow: 1; }
.tile .go { font-size: 13.5px; font-weight: 700; color: var(--red); display: flex; align-items: center; gap: 5px; }
.tile:hover .go { gap: 8px; }

/* ---------- PAGE HEADER (Our Work / About / Contact) ---------- */
.page-header { padding: 76px 0 8px; text-align: center; }
.page-header .eyebrow { display: block; }
.page-header h1 { font-size: clamp(30px, 4.6vw, 44px); margin-top: 12px; }
.page-header p { margin: 16px auto 0; font-size: 17px; color: var(--ink-soft); max-width: 54ch; }

/* ---------- SUBSECTIONS ---------- */
.subsection { padding: 72px 0; border-top: 1px solid var(--line); }
.subsection.alt { background: var(--bg-alt); }
.sub-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.sub-head h2 { font-size: clamp(24px, 3.2vw, 32px); margin-top: 10px; }
.sub-head p { margin-top: 14px; font-size: 16px; color: var(--ink-soft); }
.concept-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--red); background: var(--tint);
  padding: 5px 11px; border-radius: 20px; margin-top: 6px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 820px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card { display: flex; flex-direction: column; gap: 12px; }
.feature-card .feature-icon {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--tint); color: var(--red);
  display: flex; align-items: center; justify-content: center;
}
.feature-card h3 { font-size: 16px; font-weight: 600; }
.feature-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- TESTIMONIAL CAROUSEL ---------- */
.carousel { position: relative; max-width: 640px; margin: 0 auto; }
.carousel-track { overflow: hidden; border-radius: 14px; }
.carousel-slides { display: flex; transition: transform 0.4s ease; }
.quote-card {
  flex: 0 0 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px 40px;
  text-align: center;
}
.quote-card p.quote { font-size: 18px; color: var(--ink); font-style: italic; line-height: 1.6; }
.quote-card .who { margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--ink-faint); font-style: normal; }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.carousel-arrow {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink-soft);
}
.carousel-arrow:hover { border-color: var(--red); color: var(--red); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); cursor: pointer; border: none; padding: 0; }
.carousel-dot.active { background: var(--red); }
.report-cta { text-align: center; margin-top: 40px; }

/* ---------- ABOUT FACTS ---------- */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 780px;
  margin: 0 auto;
}
@media (max-width: 700px) { .facts-grid { grid-template-columns: 1fr; } }
.fact-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 24px;
  text-align: left;
}
.fact-card .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); margin-bottom: 12px; }
.fact-card p { font-size: 15px; color: var(--ink-soft); }

.tbc-box {
  max-width: 480px; margin: 0 auto;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: var(--ink-faint);
}
.tbc-box b { display: block; font-family: 'Sora', sans-serif; font-size: 15px; color: var(--ink-soft); margin-bottom: 4px; }

/* ---------- CONTACT PAGE ---------- */
.contact-body { padding: 40px 0 100px; text-align: center; }
.contact-email {
  display: inline-block; margin-top: 22px;
  font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 600;
  color: var(--ink); text-decoration: none;
  border-bottom: 2px solid transparent;
}
.contact-email:hover { border-color: var(--red); color: var(--red); }
.contact-actions { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-mark { height: 22px; opacity: 0.85; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13.5px; color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--red); }
.footer-copy { font-size: 13px; color: var(--ink-faint); width: 100%; margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.001ms !important; }
}
