/* MAS Advisory — Insights — shared stylesheet
   Rebuilt to match the real masadvisory.in design tokens */

:root {
  /* Core palette — matched to live site */
  --navy: #0F2545;        /* color-ink */
  --navy-soft: #2A3A5E;   /* color-ink-soft */
  --ink: #0F2545;         /* dark bookend background */
  --ink-mid: #1B3158;     /* gradient stop used on dark sections */
  --mute: #6B7280;        /* color-mute */
  --border: #E2E8F0;      /* color-line */
  --card: #F7F9FC;        /* color-paper */
  --cream: #EAF1F8;       /* color-cream */
  --white: #FFFFFF;

  --blue: #3FB6E8;
  --blue-deep: #1F8FC3;
  --blue-soft: #E2F0F8;

  --amber: #E8A540;
  --amber-soft: #FCF1DD;

  --teal: #2EBFA5;
  --teal-soft: #DCF4EE;

  --green: #5BB85B;
  --green-soft: #E0F1DD;

  --coral: #F26E5C;
  --coral-soft: #FCE2DD;

  --violet: #8C6BD8;
  --violet-soft: #EBE4FA;

  /* Back-compat aliases used throughout this stylesheet */
  --orange: var(--blue-deep);
  --peach: var(--amber-soft);
  --text-dark: var(--navy-soft);
  --text-gray: var(--mute);
  --text-gray-2: var(--mute);

  --font-head: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-w: 1160px;
  --radius: 10px;
  --radius-lg: 16px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy-soft);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- Header ---------- */
header.site-header {
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--blue-deep), var(--blue), var(--navy)) 1;
  position: sticky;
  top: 0;
  background: linear-gradient(180deg, var(--card) 0%, var(--white) 100%);
  backdrop-filter: blur(10px);
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-logo { height: 84px; width: auto; transition: height 0.3s var(--ease); }
.brand-divider {
  width: 1px;
  height: 30px;
  background: var(--border);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text .b1 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
}
.brand-text .b2 {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--blue-deep);
  text-transform: uppercase;
  font-weight: 700;
}
nav.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14.5px;
}
nav.main-nav a {
  color: var(--navy-soft);
  font-weight: 500;
  position: relative;
}
nav.main-nav a:hover { color: var(--blue-deep); }
nav.main-nav a.cta {
  background: transparent;
  color: var(--navy);
  padding: 9px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--navy);
  font-weight: 600;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
nav.main-nav a.cta:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); }
header.site-header.is-scrolled .brand-logo { height: 64px; }
header.site-header.is-scrolled { padding-top: 2px; padding-bottom: 2px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-mid) 100%);
  color: var(--white);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63,182,232,0.18) 0%, rgba(63,182,232,0) 70%);
}
.eyebrow {
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-block;
}
.hero .eyebrow { color: var(--blue); }
h1.hero-title {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 600;
  margin: 0 0 18px;
  line-height: 1.1;
  max-width: 780px;
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  max-width: 640px;
  line-height: 1.55;
}

/* ---------- Hero visual (floating cards, matches live site's hero__visual) ---------- */
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-visual {
  position: relative;
  height: 340px;
}
.hero-visual-card {
  position: absolute;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 44px rgba(0,0,0,0.28);
  max-width: 250px;
  transition: transform 0.4s var(--ease), box-shadow 0.3s var(--ease);
}
.hero-visual-card:hover {
  transform: translateY(-6px) rotate(0deg) !important;
  box-shadow: 0 26px 54px rgba(0,0,0,0.32);
  z-index: 5;
}
.hero-visual-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-deep);
  padding: 4px 10px;
  background: var(--blue-soft);
  border-radius: 4px;
}
.hero-visual-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin: 10px 0 6px;
  color: var(--navy);
}
.hero-visual-card p {
  font-size: 12.5px;
  color: var(--mute);
  line-height: 1.5;
  margin: 0;
}
.hero-visual-card--1 { top: 0; left: 4%; transform: rotate(-3deg); z-index: 3; }
.hero-visual-card--2 { top: 100px; right: 0; transform: rotate(3deg); z-index: 2; }
.hero-visual-card--3 {
  bottom: 0; left: 8%;
  transform: rotate(-2deg);
  z-index: 1;
  background: var(--ink-mid);
  border-color: transparent;
}
.hero-visual-card--3 h3, .hero-visual-card--3 p { color: var(--white); }
.hero-visual-card--3 p { color: rgba(255,255,255,0.68); }
.hero-visual-card--3 .hero-visual-tag { background: rgba(63,182,232,0.2); color: var(--blue); }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
section.alt { background: var(--card); }
.section-head { margin-bottom: 36px; }
.section-desc { max-width: 100%; }
.section-head .eyebrow { color: var(--blue-deep); }
h2.section-title {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 600;
  color: var(--navy);
  margin: 6px 0 10px;
  line-height: 1.2;
}
.section-desc { color: var(--mute); font-size: 15.5px; }

/* ---------- Buttons (pill, matching live site) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(31,143,195,0.28); }
.btn.ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
}
.btn.ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }
.btn.navy { background: var(--navy); }
.btn.amber {
  background: var(--amber);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(232,165,64,0.4), 0 0 0 0 rgba(232,165,64,0.55);
  animation: amber-pulse 2.2s ease-in-out infinite;
}
.btn.amber:hover { background: var(--white); color: var(--navy); animation-play-state: paused; }
@keyframes amber-pulse {
  0%   { box-shadow: 0 8px 20px rgba(232,165,64,0.4), 0 0 0 0 rgba(232,165,64,0.55); }
  70%  { box-shadow: 0 8px 20px rgba(232,165,64,0.4), 0 0 0 16px rgba(232,165,64,0); }
  100% { box-shadow: 0 8px 20px rgba(232,165,64,0.4), 0 0 0 0 rgba(232,165,64,0); }
}

/* ---------- Featured whitepaper card (amber "spotlight" theme) ---------- */
.featured-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-mid) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15,37,69,0.2);
  position: relative;
}
.featured-card::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,165,64,0.16) 0%, transparent 65%);
  pointer-events: none;
}
.featured-copy { padding: 40px 44px; color: var(--white); position: relative; z-index: 1; }
.featured-copy .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,165,64,0.18);
  border: 1px solid rgba(232,165,64,0.4);
  color: var(--amber);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.featured-copy .tag::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  position: relative;
  animation: dot-pulse 1.6s ease-out infinite;
}
@keyframes dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(232,165,64,0.6); }
  100% { box-shadow: 0 0 0 8px rgba(232,165,64,0); }
}
.featured-copy h3 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 14px;
  line-height: 1.25;
}
.featured-copy p { color: rgba(255,255,255,0.78); font-size: 15px; margin: 0 0 18px; }
.featured-meta {
  display: flex;
  gap: 22px;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.featured-visual {
  background: linear-gradient(135deg, rgba(232,165,64,0.14) 0%, var(--ink-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  position: relative;
}
.featured-visual .stat-block { text-align: center; color: var(--white); }
.featured-visual .stat-block .n {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 600;
  color: var(--amber);
}
.featured-visual .stat-block .l { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 6px; }

/* ---------- Article grid ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15,37,69,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15,37,69,0.12);
}
.article-card .thumb {
  height: 150px;
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--ink-mid) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--white);
  text-align: center;
  padding: 18px;
  overflow: hidden;
}
.article-card .thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(circle at 80% 20%, rgba(63,182,232,0.22) 0%, transparent 45%);
}
.article-card .thumb .thumb-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.article-card .thumb .thumb-icon svg {
  width: 22px; height: 22px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.8;
}
.article-card .thumb .thumb-label {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  z-index: 1;
}
.article-card .thumb.thumb-fe {
  background: linear-gradient(135deg, var(--violet) 0%, var(--ink) 100%);
}
.article-card .thumb.thumb-fe .thumb-icon svg { stroke: var(--violet-soft); }
.article-card .body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.article-card .source {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--blue-deep);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.article-card h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.3;
}
.article-card p { font-size: 13.8px; color: var(--mute); flex: 1; margin: 0 0 16px; }
.article-card .readmore { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.article-card .readmore:hover { color: var(--blue-deep); }

/* ---------- Opportunities Carousel ---------- */
.carousel-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15,37,69,0.18);
  background: var(--ink);
}
.carousel-track { display: flex; transition: transform 0.45s var(--ease); }
.carousel-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}
.carousel-slide .cs-photo { position: relative; background-size: cover; background-position: center; }
.carousel-slide .cs-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,37,69,0.05) 0%, rgba(15,37,69,0.6) 100%);
}
.carousel-slide .cs-badge {
  position: absolute;
  top: 20px; left: 20px;
  background: rgba(15,37,69,0.75);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 2;
  backdrop-filter: blur(4px);
}
.carousel-slide .cs-copy { padding: 40px 44px; color: var(--white); display: flex; flex-direction: column; justify-content: center; }
.carousel-slide .cs-eyebrow {
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--sector-color, var(--blue));
}
.carousel-slide h3 { font-family: var(--font-head); font-size: 26px; font-weight: 600; margin: 0 0 10px; line-height: 1.25; }
.carousel-slide .cs-location { color: var(--sector-color, var(--amber)); font-size: 13.5px; font-weight: 700; margin-bottom: 14px; }
.carousel-slide p.cs-desc { color: rgba(255,255,255,0.78); font-size: 14px; margin: 0 0 20px; line-height: 1.55; }
.cs-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 22px; }
.cs-stat {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 10px 12px;
}
.cs-stat .k { font-family: var(--font-head); color: var(--sector-color, var(--amber)); font-size: 17px; font-weight: 600; }
.cs-stat .l { font-size: 11px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.03em; }
.cs-confidential { font-size: 11.5px; color: rgba(255,255,255,0.5); font-style: italic; margin-bottom: 16px; }

.carousel-slide[data-sector="healthcare"] { --sector-color: var(--coral); }
.carousel-slide[data-sector="schools"] { --sector-color: var(--amber); }
.carousel-slide[data-sector="higher"] { --sector-color: var(--blue); }

.carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--navy);
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 5;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.carousel-nav:hover { background: var(--blue-deep); color: var(--white); }
.carousel-nav.prev { left: 16px; }
.carousel-nav.next { right: 16px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.carousel-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.carousel-dot.active { background: var(--blue-deep); transform: scale(1.2); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item summary {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--blue-deep);
  flex-shrink: 0;
  font-family: var(--font-body);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .answer { margin-top: 14px; color: var(--navy-soft); font-size: 15px; line-height: 1.65; max-width: 780px; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--ink); color: rgba(255,255,255,0.62); padding: 48px 0 28px; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-grid h4 { color: var(--white); font-family: var(--font-head); font-size: 15px; font-weight: 600; margin: 0 0 14px; }
.footer-logo {
  height: 60px;
  width: auto;
  background: var(--white);
  padding: 8px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.footer-grid a { display: block; color: rgba(255,255,255,0.62); margin-bottom: 10px; }
.footer-grid a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.tagline { color: rgba(255,255,255,0.75); font-style: italic; font-family: var(--font-head); font-size: 17px; }

/* ---------- Article detail page ---------- */
.article-detail-head { padding: 56px 0 40px; background: linear-gradient(135deg, var(--ink) 0%, var(--ink-mid) 100%); color: var(--white); }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,0.78); }
.breadcrumb a:hover { color: var(--blue); }
.article-meta-row { display: flex; gap: 20px; color: rgba(255,255,255,0.55); font-size: 13.5px; margin-top: 18px; flex-wrap: wrap; }
.article-body { max-width: 760px; margin: 0 auto; padding: 48px 24px 20px; font-size: 16.5px; line-height: 1.75; }
.article-body h2 { font-family: var(--font-head); color: var(--navy); font-size: 26px; font-weight: 600; margin-top: 42px; margin-bottom: 14px; }
.article-body h3 { font-family: var(--font-head); color: var(--navy); font-size: 20px; font-weight: 600; margin-top: 30px; margin-bottom: 10px; }
.article-body p { margin: 0 0 18px; color: var(--navy-soft); }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 22px; color: var(--navy-soft); }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  border-left: 4px solid var(--blue-deep);
  background: var(--card);
  padding: 18px 24px;
  margin: 28px 0;
  font-style: italic;
  color: var(--navy-soft);
}
.callout { background: var(--amber-soft); border-radius: var(--radius); padding: 22px 26px; margin: 30px 0; font-size: 15px; }
.callout strong { color: var(--navy); }
.source-note { font-size: 13px; color: var(--mute); border-top: 1px solid var(--border); padding-top: 18px; margin-top: 40px; }
.author-box {
  display: flex; gap: 16px; align-items: center;
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 40px 0;
}
.author-box .avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 19px;
  flex-shrink: 0;
}
.author-box .name { font-weight: 700; color: var(--navy); font-size: 14.5px; }
.author-box .role { font-size: 13px; color: var(--mute); }

.cta-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--ink-mid) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 48px 0;
}
.cta-strip h3 { font-family: var(--font-head); margin: 0 0 6px; font-size: 21px; font-weight: 600; }
.cta-strip p { margin: 0; color: rgba(255,255,255,0.78); font-size: 14px; }

/* ---------- Floating WhatsApp Button (matches live site's .whatsapp-fab) ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 76px;
  height: 76px;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(37,211,102,0.5);
  z-index: 999;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  animation: whatsapp-pulse 2.4s ease-out infinite;
}
.whatsapp-float svg { width: 38px; height: 38px; fill: #fff; }
.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 16px 36px rgba(37,211,102,0.55);
  animation-play-state: paused;
}
@keyframes whatsapp-pulse {
  0%   { box-shadow: 0 10px 28px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.55); }
  70%  { box-shadow: 0 10px 28px rgba(37,211,102,0.45), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 28px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}
.whatsapp-tooltip {
  position: fixed;
  right: 108px;
  bottom: 46px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
}
.whatsapp-float:hover + .whatsapp-tooltip,
.whatsapp-float:focus + .whatsapp-tooltip { opacity: 1; }

@media (max-width: 700px) {
  .whatsapp-float { width: 66px; height: 66px; right: 18px; bottom: 18px; }
  .whatsapp-float svg { width: 32px; height: 32px; }
  .whatsapp-tooltip { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  nav.main-nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .featured-card { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  h1.hero-title { font-size: 32px; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
  .carousel-slide { grid-template-columns: 1fr; }
  .carousel-slide .cs-photo { min-height: 220px; }
}

@media (max-width: 480px) {
  .brand-logo { height: 52px; }
  .brand-divider, .brand-text { display: none; }
  .footer-logo { height: 44px; }
  h1.hero-title { font-size: 27px; }
  .hero { padding: 44px 0 40px; }
  h2.section-title { font-size: 25px; }
  .featured-copy { padding: 28px 22px; }
  .featured-copy h3 { font-size: 21px; }
  .carousel-slide .cs-copy { padding: 26px 22px; }
  .carousel-slide h3 { font-size: 20px; }
  .cs-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .carousel-nav { width: 36px; height: 36px; font-size: 15px; }
  .carousel-nav.prev { left: 8px; }
  .carousel-nav.next { right: 8px; }
  .article-detail-head { padding: 40px 0 28px; }
  .article-body { padding: 32px 18px 10px; font-size: 15.5px; }
  .cta-strip { padding: 26px 24px; }
  .header-inner { padding: 12px 16px; }
  .wrap { padding: 0 16px; }
}
