/* CANIFELII — Dr. Anuj Tomar */
:root {
  --cyan: #1FA3D8;
  --cyan-deep: #157FB0;
  --cyan-soft: #E8F5FB;
  --cyan-tint: #F4FAFD;
  --navy: #0B2540;
  --ink: #1A2230;
  --muted: #6B7480;
  --cream: #FBF8F3;
  --paper: #FFFFFF;
  --red: #C8252C;
  --red-soft: #FDF1F1;
  --warm-line: #EFE7DA;
  --shadow-sm: 0 1px 2px rgba(11, 37, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 37, 64, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 37, 64, 0.12);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- type ---------- */
.display, h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-wrap: balance;
}
h1 { font-size: clamp(44px, 6.4vw, 88px); font-weight: 500; letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -0.025em; }
h3 { font-size: clamp(22px, 2.2vw, 28px); }
h4 { font-size: 18px; letter-spacing: -0.01em; }
p { color: var(--ink); text-wrap: pretty; }
.muted { color: var(--muted); }
.serif {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-deep);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
}

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

/* ---------- container ---------- */
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(251, 248, 243, 0.82);
  border-bottom: 1px solid var(--warm-line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: white;
  box-shadow: var(--shadow-sm);
}
.nav__brand-text { display: flex; flex-direction: column; line-height: 1; }
.nav__brand-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 18px;
  color: var(--red);
}
.nav__brand-sub {
  font-size: 11px; color: var(--muted);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-top: 3px;
}
.nav__links { display: flex; gap: 36px; align-items: center; }
.nav__links a {
  font-size: 15px; font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--cyan-deep); }
.nav__links a.active { color: var(--cyan-deep); }
.nav__links a.active::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--cyan);
  border-radius: 2px;
}
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: white;
  padding: 11px 18px; border-radius: 999px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600; font-size: 14px;
  transition: transform 0.15s, background 0.2s;
}
.nav__cta:hover { background: var(--cyan-deep); transform: translateY(-1px); }
@media (max-width: 760px) {
  .nav__links { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600; font-size: 15px;
  cursor: pointer; border: none;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}
.btn--primary {
  background: var(--cyan);
  color: white;
  box-shadow: 0 6px 18px rgba(31, 163, 216, 0.32);
}
.btn--primary:hover {
  background: var(--cyan-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(31, 163, 216, 0.42);
}
.btn--ink {
  background: var(--navy); color: white;
}
.btn--ink:hover { background: #122F50; transform: translateY(-1px); }
.btn--ghost {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn--ghost:hover { background: var(--navy); color: white; }

/* ---------- footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 40px;
  margin-top: 120px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.footer h4 {
  color: white;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer__brand {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: white;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.footer__tag {
  font-family: 'Newsreader', serif;
  font-style: italic;
  color: var(--cyan);
  font-size: 17px;
  margin-bottom: 18px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { font-size: 15px; transition: color 0.2s; }
.footer ul a:hover { color: white; }
.footer__bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap; gap: 12px;
}

/* ---------- hero ribbon (info bar) ---------- */
.ticker {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 10px 0;
}
.ticker__inner {
  display: flex; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
}
.ticker__item { display: inline-flex; align-items: center; gap: 8px; }
.ticker__item .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #6BE89A;
  box-shadow: 0 0 0 4px rgba(107, 232, 154, 0.25);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(107, 232, 154, 0.25); }
  50% { box-shadow: 0 0 0 7px rgba(107, 232, 154, 0.05); }
}
@media (max-width: 700px) {
  .ticker__inner { justify-content: center; }
  .ticker__item:nth-child(n+3) { display: none; }
}

/* ---------- shared cards / sections ---------- */
section { padding: 120px 0; }
@media (max-width: 760px) { section { padding: 80px 0; } }

.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 40px; margin-bottom: 56px;
}
.section-head__title { max-width: 720px; }
.section-head__title h2 { margin-top: 14px; }
.section-head__lead {
  max-width: 360px;
  color: var(--muted);
  font-size: 17px;
}
@media (max-width: 760px) {
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
}

/* shared decorative paw */
.paw {
  display: inline-block;
  width: 1em; height: 1em;
  vertical-align: -0.12em;
}

/* image placeholder helper */
.img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cyan-soft);
}
.img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* fade-in utility */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.in { opacity: 1; transform: none; }
