/* ============================================
   ESWUZ - Energy Sector Workers Union of Zimbabwe
   Design: Matching Lovable React version
   Colors from ESWUZ logo: Red, Blue, Gold, Green
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --primary: #1a6b3c;
  --primary-dark: #0f4525;
  --primary-light: #2d8a52;
  --primary-fg: #ffffff;
  --secondary: #d4941a;
  --secondary-light: #e8b24a;
  --secondary-fg: #1a2e1a;
  --accent-bg: #fdf5e6;
  --accent-fg: #6b4a14;
  --bg: #ffffff;
  --fg: #122418;
  --card: #ffffff;
  --card-fg: #122418;
  --muted: #f3f5f4;
  --muted-fg: #5a6b5e;
  --border: #dfe5e1;
  --destructive: #dc3545;
  --radius: 0.75rem;
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--fg); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; transition: all 0.3s; }
a:hover { color: var(--secondary); }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 800; line-height: 1.15; color: var(--fg); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media(min-width:768px) { .container { padding: 0 32px; } }

/* ============================================ TOP BAR ============================================ */
.topbar { background: var(--primary); color: var(--primary-fg); font-size: 0.82rem; display: none; }
@media(min-width:768px) { .topbar { display: block; } }
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--primary-fg); }
.topbar a:hover { text-decoration: underline; }
.topbar__info { display: flex; gap: 20px; align-items: center; }
.topbar__info svg { width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; }

/* ============================================ NAVBAR ============================================ */
.navbar { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.navbar__brand { display: flex; align-items: center; gap: 12px; }
.navbar__brand img { height: 48px; width: 48px; border-radius: 50%; object-fit: cover; }
.navbar__brand-text { display: none; }
@media(min-width:640px) { .navbar__brand-text { display: block; } }
.navbar__brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--fg); line-height: 1.1; }
.navbar__brand-sub { font-size: 0.72rem; color: var(--muted-fg); }
.navbar__links { display: none; align-items: center; gap: 2px; list-style: none; }
@media(min-width:1024px) { .navbar__links { display: flex; } }
.navbar__links a { display: flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 6px; font-size: 0.85rem; font-weight: 600; color: var(--muted-fg); transition: all 0.2s; }
.navbar__links a:hover, .navbar__links a.active { color: var(--primary); background: rgba(26,107,60,0.05); }
.navbar__links .dropdown { position: relative; }
.navbar__links .dropdown-menu { display: none; position: absolute; top: 100%; left: 0; margin-top: 4px; background: var(--card); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow-lg); padding: 8px 0; min-width: 200px; z-index: 50; }
.navbar__links .dropdown:hover .dropdown-menu { display: block; }
.navbar__links .dropdown-menu a { display: block; padding: 8px 16px; font-size: 0.85rem; color: var(--muted-fg); }
.navbar__links .dropdown-menu a:hover { color: var(--primary); background: rgba(26,107,60,0.05); }
.navbar__cta { display: none; }
@media(min-width:1024px) { .navbar__cta { display: inline-flex; align-items: center; gap: 6px; background: var(--secondary); color: var(--secondary-fg); padding: 10px 20px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; } }
.navbar__cta:hover { opacity: 0.9; color: var(--secondary-fg); }
.navbar__toggle { display: block; padding: 8px; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--fg); }
@media(min-width:1024px) { .navbar__toggle { display: none; } }

/* Mobile menu */
.mobile-menu { display: none; background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 10px 16px; border-radius: 6px; font-size: 1rem; font-weight: 600; color: var(--fg); }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--primary); background: rgba(26,107,60,0.05); }
.mobile-menu__sub a { padding-left: 32px; font-size: 0.9rem; color: var(--muted-fg); }
.mobile-menu__cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--secondary); color: var(--secondary-fg); padding: 12px 20px; border-radius: 999px; font-weight: 700; margin-top: 12px; width: 100%; text-align: center; }

/* ============================================ HERO CAROUSEL ============================================ */
.hero { position: relative; height: 92vh; min-height: 650px; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease, transform 1s ease; transform: scale(1.05); }
.hero-slide.active { opacity: 1; transform: scale(1); z-index: 2; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide__overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(18,36,24,0.88), rgba(18,36,24,0.60), rgba(18,36,24,0.20)); }
.hero-slide__overlay2 { position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,36,24,0.40), transparent, rgba(18,36,24,0.10)); }
.hero__content { position: relative; z-index: 10; height: 100%; display: flex; align-items: center; }
.hero__inner { max-width: 640px; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(212,148,26,0.2); backdrop-filter: blur(8px); border: 1px solid rgba(212,148,26,0.3); color: var(--secondary); padding: 6px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; margin-bottom: 24px; animation: fadeInUp 0.8s ease both; }
.hero__title { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900; line-height: 1.1; margin-bottom: 24px; animation: fadeInUp 0.8s ease 0.1s both; }
.hero__title-main { color: var(--primary-fg); }
.hero__title-accent { color: var(--secondary); }
.hero__subtitle { font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 32px; max-width: 560px; animation: fadeInUp 0.8s ease 0.2s both; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 16px; animation: fadeInUp 0.8s ease 0.3s both; }
.hero__nav { position: absolute; bottom: 32px; right: 32px; z-index: 10; display: flex; gap: 12px; }
.hero__nav button { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); color: white; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.hero__nav button:hover { background: rgba(255,255,255,0.25); }
.hero__dots { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 12px; }
.hero__dot { width: 48px; height: 6px; border-radius: 999px; background: rgba(255,255,255,0.2); border: none; cursor: pointer; position: relative; overflow: hidden; }
.hero__dot.active { background: rgba(255,255,255,0.2); }
.hero__dot-fill { position: absolute; inset: 0; background: var(--secondary); border-radius: 999px; transform: scaleX(0); transform-origin: left; transition: none; }
.hero__dot.active .hero__dot-fill { animation: dotFill 7s linear forwards; }
.hero__dot.past .hero__dot-fill { transform: scaleX(1); background: rgba(212,148,26,0.6); }

@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ============================================ BUTTONS ============================================ */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border: none; border-radius: 999px; font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: all 0.3s; text-decoration: none; }
.btn--primary { background: var(--secondary); color: var(--secondary-fg); box-shadow: 0 4px 20px rgba(212,148,26,0.3); }
.btn--primary:hover { transform: scale(1.05); color: var(--secondary-fg); box-shadow: 0 6px 28px rgba(212,148,26,0.4); }
.btn--outline { background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); color: white; border: 1px solid rgba(255,255,255,0.2); }
.btn--outline:hover { background: rgba(255,255,255,0.2); color: white; }
.btn--dark { background: var(--primary); color: var(--primary-fg); }
.btn--dark:hover { background: var(--primary-dark); color: var(--primary-fg); }
.btn--sm { padding: 8px 20px; font-size: 0.82rem; }
.btn--danger { background: var(--destructive); color: white; }
.btn--ghost { background: transparent; color: var(--primary); border: 1px solid var(--border); border-radius: var(--radius); }
.btn--ghost:hover { background: var(--muted); color: var(--primary); }

/* ============================================ SECTIONS ============================================ */
.section { padding: 80px 0; }
.section--muted { background: var(--muted); }
.section--primary { background: var(--primary); color: var(--primary-fg); }
.section--primary h2, .section--primary h3 { color: var(--primary-fg); }
.section--primary p { color: rgba(255,255,255,0.7); }
.section__header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section__badge { display: inline-block; background: var(--accent-bg); color: var(--accent-fg); padding: 6px 16px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; margin-bottom: 16px; }
.section__title { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 12px; }
.section__subtitle { font-size: 1.05rem; color: var(--muted-fg); line-height: 1.7; }

/* ============================================ PAGE HERO ============================================ */
.page-hero { position: relative; padding: 112px 0 144px; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(18,36,24,0.92), rgba(18,36,24,0.75), rgba(18,36,24,0.50)); }
.page-hero__bg::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,36,24,0.30), transparent, rgba(18,36,24,0.20)); z-index: 1; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); color: var(--primary-fg); margin-bottom: 12px; animation: fadeInUp 0.6s ease; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: clamp(1rem, 2vw, 1.2rem); max-width: 640px; animation: fadeInUp 0.6s ease 0.1s both; }

/* ============================================ STATS BAR ============================================ */
.stats-bar { background: var(--primary); padding: 32px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media(min-width:768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; color: var(--primary-fg); }
.stat__icon { color: var(--secondary); margin: 0 auto 8px; font-size: 1.3rem; }
.stat__value { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 900; }
.stat__label { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

/* ============================================ CARDS ============================================ */
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.35s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card__body { padding: 24px; }
.card__icon { width: 56px; height: 56px; background: rgba(26,107,60,0.08); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 1.5rem; color: var(--primary); }
.card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.card__text { font-size: 0.9rem; color: var(--muted-fg); line-height: 1.65; }

/* Grid layouts */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media(min-width:768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media(min-width:768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media(min-width:768px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ============================================ NEWS CARDS ============================================ */
.news-card { display: flex; flex-direction: column; }
.news-card__image { height: 192px; background: linear-gradient(135deg, rgba(26,107,60,0.1), rgba(212,148,26,0.1)); display: flex; align-items: center; justify-content: center; color: rgba(26,107,60,0.2); font-size: 2.5rem; overflow: hidden; }
.news-card__image img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-card__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.news-card__tag { font-size: 0.72rem; background: var(--accent-bg); color: var(--accent-fg); padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.news-card__date { font-size: 0.72rem; color: var(--muted-fg); }
.news-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; line-height: 1.35; }
.news-card__title a { color: var(--fg); }
.news-card__title a:hover { color: var(--primary); }
.news-card__excerpt { font-size: 0.88rem; color: var(--muted-fg); line-height: 1.65; flex: 1; }
.news-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 0.85rem; font-weight: 600; color: var(--primary); }
.news-card__link:hover { gap: 10px; }

/* ============================================ EVENTS ============================================ */
.event-card { display: flex; flex-direction: column; }
@media(min-width:768px) { .event-card { flex-direction: row; } }
.event-card__date { background: var(--primary); color: var(--primary-fg); padding: 20px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 100px; }
.event-card__day { font-family: var(--font-display); font-size: 2.2rem; font-weight: 900; color: var(--secondary); line-height: 1; }
.event-card__month { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-top: 4px; }
.event-card__body { padding: 20px; flex: 1; }
.event-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.event-card__meta { display: flex; gap: 16px; font-size: 0.82rem; color: var(--muted-fg); margin-bottom: 8px; }
.event-card__desc { font-size: 0.9rem; color: var(--muted-fg); line-height: 1.6; }
.event-card__countdown { margin-top: 12px; display: flex; gap: 12px; }
.countdown-unit { text-align: center; background: var(--muted); padding: 8px 12px; border-radius: 8px; min-width: 56px; }
.countdown-unit__value { font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; color: var(--primary); display: block; }
.countdown-unit__label { font-size: 0.65rem; color: var(--muted-fg); text-transform: uppercase; letter-spacing: 0.05em; }

/* ============================================ LEADERSHIP CAROUSEL ============================================ */
.leaders-scroll { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 16px; scroll-behavior: smooth; }
.leaders-scroll::-webkit-scrollbar { height: 4px; }
.leaders-scroll::-webkit-scrollbar-track { background: var(--muted); border-radius: 4px; }
.leaders-scroll::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
.leader-card { scroll-snap-align: start; min-width: 260px; max-width: 300px; flex-shrink: 0; text-align: center; background: var(--card); padding: 32px 24px; border-radius: 16px; border: 1px solid var(--border); transition: all 0.35s; }
.leader-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.leader-card__avatar { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 16px; overflow: hidden; border: 3px solid var(--secondary); background: var(--muted); }
.leader-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.leader-card__initials { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--secondary); font-family: var(--font-display); font-size: 2rem; font-weight: 900; }
.leader-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.leader-card__position { font-size: 0.82rem; color: var(--secondary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
.leader-card__bio { font-size: 0.85rem; color: var(--muted-fg); line-height: 1.6; }
.leaders-nav { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.leaders-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); cursor: pointer; font-size: 1rem; color: var(--fg); transition: all 0.2s; }
.leaders-nav button:hover { border-color: var(--primary); color: var(--primary); }

/* ============================================ TIMELINE ============================================ */
.timeline { max-width: 768px; margin: 0 auto; position: relative; }
.timeline__line { position: absolute; left: 32px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline__item { position: relative; padding-left: 80px; padding-bottom: 40px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot { position: absolute; left: 21px; width: 24px; height: 24px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-fg); font-size: 0.7rem; }
.timeline__content { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; transition: box-shadow 0.3s; }
.timeline__content:hover { box-shadow: var(--shadow-md); }
.timeline__year { font-family: var(--font-display); font-weight: 700; color: var(--primary); font-size: 1.15rem; }
.timeline__badge { display: inline-block; font-size: 0.72rem; background: var(--accent-bg); color: var(--accent-fg); padding: 2px 10px; border-radius: 999px; font-weight: 600; margin-left: 12px; }
.timeline__title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-top: 4px; }
.timeline__desc { font-size: 0.88rem; color: var(--muted-fg); margin-top: 8px; line-height: 1.65; }

/* ============================================ GALLERY ============================================ */
.gallery-item { position: relative; overflow: hidden; border-radius: 16px; cursor: pointer; }
.gallery-item img { width: 100%; height: 256px; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item__overlay { position: absolute; inset: 0; background: rgba(18,36,24,0.30); display: flex; align-items: center; justify-content: center; opacity: 0; transition: all 0.35s; }
.gallery-item:hover .gallery-item__overlay { opacity: 1; background: rgba(18,36,24,0.55); }
.gallery-item__zoom { width: 56px; height: 56px; background: rgba(255,255,255,0.2); backdrop-filter: blur(4px); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.3rem; }
.gallery-item__info { padding: 16px; }
.gallery-item__title { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; margin-bottom: 2px; }
.gallery-item__caption { font-size: 0.82rem; color: var(--muted-fg); }

/* ============================================ CONTACT ============================================ */
.contact-info__item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-info__icon { width: 48px; height: 48px; background: rgba(26,107,60,0.08); border-radius: 16px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.2rem; flex-shrink: 0; }
.contact-info__label { font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; margin-bottom: 2px; }
.contact-info__value { font-size: 0.88rem; color: var(--muted-fg); }
.contact-info__value a { color: var(--muted-fg); }
.contact-info__value a:hover { color: var(--primary); }

/* ============================================ FORMS ============================================ */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--fg); margin-bottom: 6px; }
.form-control { width: 100%; padding: 12px 16px; background: var(--muted); border: none; border-radius: 12px; font-family: var(--font-body); font-size: 0.9rem; color: var(--fg); outline: none; transition: box-shadow 0.25s; }
.form-control:focus { box-shadow: 0 0 0 3px rgba(26,107,60,0.15); }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control { appearance: auto; }

/* ============================================ ALERTS ============================================ */
.alert { padding: 14px 20px; border-radius: 12px; margin-bottom: 20px; font-size: 0.88rem; font-weight: 500; }
.alert--success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert--error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ============================================ TESTIMONIALS ============================================ */
.testimonial { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; position: relative; }
.testimonial__quote { font-size: 3rem; color: var(--primary); opacity: 0.15; position: absolute; top: 12px; left: 20px; font-family: serif; line-height: 1; }
.testimonial__text { font-size: 0.95rem; color: var(--fg); line-height: 1.7; font-style: italic; margin-bottom: 16px; position: relative; z-index: 1; }
.testimonial__author { font-size: 0.82rem; color: var(--muted-fg); }
.testimonial__author strong { color: var(--primary); font-weight: 600; }

/* ============================================ COMPARISON TABLE ============================================ */
.compare-table { width: 100%; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: var(--card); }
.compare-table__header { display: grid; grid-template-columns: 2fr 1fr 1fr; background: var(--primary); color: var(--primary-fg); padding: 16px; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; }
.compare-table__row { display: grid; grid-template-columns: 2fr 1fr 1fr; padding: 16px; font-size: 0.88rem; border-top: 1px solid var(--border); align-items: center; }
.compare-table__row:nth-child(even) { background: rgba(243,245,244,0.5); }
.compare-table__check { color: var(--primary); text-align: center; font-size: 1.2rem; }
.compare-table__x { color: var(--muted-fg); opacity: 0.3; text-align: center; font-size: 1.2rem; }

/* ============================================ FOOTER ============================================ */
.footer { background: var(--fg); color: rgba(255,255,255,0.8); }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding: 64px 0; }
@media(min-width:768px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media(min-width:1024px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__brand img { height: 48px; width: 48px; border-radius: 50%; }
.footer__brand-name { font-family: var(--font-display); font-weight: 800; color: white; font-size: 1.1rem; }
.footer__brand-sub { font-size: 0.72rem; color: rgba(255,255,255,0.5); }
.footer__about p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.footer__motto { color: var(--secondary); font-weight: 600; font-size: 0.88rem; }
.footer h4 { font-family: var(--font-display); font-weight: 700; color: white; margin-bottom: 16px; font-size: 0.95rem; }
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: all 0.25s; }
.footer__links a:hover { color: var(--secondary); padding-left: 4px; }
.footer__contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; margin-bottom: 12px; }
.footer__contact-icon { color: var(--secondary); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.footer__contact-item a { color: rgba(255,255,255,0.6); }
.footer__contact-item a:hover { color: var(--secondary); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer__bottom a { color: var(--secondary); }
.footer__bottom a:hover { text-decoration: underline; }

/* ============================================ CTA SECTION ============================================ */
.cta-section { background: var(--primary); padding: 80px 0; text-align: center; }
.cta-section h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--primary-fg); margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.7); font-size: 1.05rem; max-width: 540px; margin: 0 auto 32px; }

/* ============================================ MEMBERSHIP ============================================ */
.grade-item { display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: 12px; transition: background 0.2s; }
.grade-item:hover { background: var(--muted); }
.grade-letter { width: 40px; height: 40px; background: var(--primary); color: var(--primary-fg); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 900; font-size: 1.1rem; flex-shrink: 0; }
.grade-name { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }
.grade-desc { font-size: 0.82rem; color: var(--muted-fg); }

.step-card { text-align: center; padding: 24px; }
.step-number { width: 48px; height: 48px; background: var(--primary); color: var(--primary-fg); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; margin: 0 auto 16px; }

/* ============================================ ARTICLE SINGLE ============================================ */
.article { max-width: 760px; margin: 0 auto; }
.article__meta { display: flex; gap: 16px; font-size: 0.85rem; color: var(--muted-fg); margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.article__content { font-size: 1.05rem; line-height: 1.85; color: var(--muted-fg); }
.article__content p { margin-bottom: 20px; }
.article__content h2 { margin: 36px 0 16px; font-size: 1.5rem; color: var(--fg); }

/* ============================================ PAGINATION ============================================ */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pagination a, .pagination span { padding: 10px 16px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.85rem; font-weight: 600; color: var(--muted-fg); }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }

/* ============================================ ANIMATIONS ============================================ */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animate-on-scroll { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ============================================ UTILITIES ============================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--muted-fg); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.gap-4 { gap: 16px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.max-w-md { max-width: 448px; }
.max-w-lg { max-width: 512px; }
.max-w-xl { max-width: 576px; }
.max-w-3xl { max-width: 768px; }
.max-w-5xl { max-width: 1024px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.rounded-2xl { border-radius: 16px; }
.overflow-hidden { overflow: hidden; }
.shadow-2xl { box-shadow: var(--shadow-xl); }
.check-icon { color: var(--primary); }
.x-icon { color: var(--muted-fg); opacity: 0.3; }

/* ============================================ RESPONSIVE ============================================ */
@media(max-width:768px) {
  .hero { height: 75vh; min-height: 500px; }
  .page-hero { padding: 80px 0 100px; }
  .section { padding: 60px 0; }
  .hero__nav { bottom: 80px; right: 16px; }
  .hero__dots { bottom: 24px; }
}

/* ============================================ ENHANCED ANIMATIONS ============================================ */
@keyframes slideInLeft { from { opacity:0; transform:translateX(-60px); } to { opacity:1; transform:translateX(0); } }
@keyframes slideInRight { from { opacity:0; transform:translateX(60px); } to { opacity:1; transform:translateX(0); } }
@keyframes scaleIn { from { opacity:0; transform:scale(0.85); } to { opacity:1; transform:scale(1); } }
@keyframes bounceIn { 0% { opacity:0; transform:scale(0.3); } 50% { opacity:1; transform:scale(1.05); } 70% { transform:scale(0.95); } 100% { transform:scale(1); } }
@keyframes pulse { 0%,100% { transform:scale(1); } 50% { transform:scale(1.05); } }
@keyframes shimmer { 0% { background-position:-200% 0; } 100% { background-position:200% 0; } }
@keyframes float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }
@keyframes tickerScroll { 0% { transform:translateX(100%); } 100% { transform:translateX(-100%); } }

.animate-slide-left { opacity:0; transform:translateX(-60px); transition:all 0.7s cubic-bezier(0.16,1,0.3,1); }
.animate-slide-right { opacity:0; transform:translateX(60px); transition:all 0.7s cubic-bezier(0.16,1,0.3,1); }
.animate-scale { opacity:0; transform:scale(0.85); transition:all 0.6s cubic-bezier(0.16,1,0.3,1); }
.animate-fade-up { opacity:0; transform:translateY(40px); transition:all 0.7s cubic-bezier(0.16,1,0.3,1); }

.animate-slide-left.visible, .animate-slide-right.visible, .animate-scale.visible, .animate-fade-up.visible { opacity:1; transform:translate(0) scale(1); }

/* Staggered children */
.stagger-children > *:nth-child(1) { transition-delay:0.05s; }
.stagger-children > *:nth-child(2) { transition-delay:0.1s; }
.stagger-children > *:nth-child(3) { transition-delay:0.15s; }
.stagger-children > *:nth-child(4) { transition-delay:0.2s; }
.stagger-children > *:nth-child(5) { transition-delay:0.25s; }
.stagger-children > *:nth-child(6) { transition-delay:0.3s; }

/* Card hover enhanced */
.card { transition: all 0.4s cubic-bezier(0.16,1,0.3,1); }
.card:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.12); transform: translateY(-8px); }

/* Section title underline animation */
.section__title { position:relative; display:inline-block; }
.section__title::after { content:''; position:absolute; bottom:-8px; left:50%; transform:translateX(-50%); width:0; height:3px; background:var(--secondary); border-radius:999px; transition:width 0.6s cubic-bezier(0.16,1,0.3,1); }
.section__header.visible .section__title::after, .section__title.visible::after { width:60px; }

/* Stats counter animation */
.stat { transition:all 0.5s cubic-bezier(0.16,1,0.3,1); }
.stat:hover { transform:translateY(-4px) scale(1.02); }
.stat__value { transition:color 0.3s; }
.stat:hover .stat__value { color:var(--secondary); }

/* Button ripple effect */
.btn { position:relative; overflow:hidden; }
.btn::after { content:''; position:absolute; inset:0; background:radial-gradient(circle at var(--x,50%) var(--y,50%), rgba(255,255,255,0.3) 0%, transparent 60%); opacity:0; transition:opacity 0.4s; }
.btn:hover::after { opacity:1; }

/* News ticker bar */
.news-ticker { background:linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); overflow:hidden; white-space:nowrap; padding:0; position:relative; border-bottom:3px solid var(--secondary); }
.news-ticker__label { position:absolute; left:0; top:0; bottom:0; z-index:2; background:linear-gradient(135deg, #c0392b, #e74c3c); color:#fff; font-weight:700; font-size:0.82rem; display:flex; align-items:center; gap:8px; padding:0 20px; box-shadow:4px 0 12px rgba(0,0,0,0.3); }
.news-ticker__label i { font-size:1rem; animation:pulse 2s ease-in-out infinite; }
.news-ticker__track { display:inline-flex; animation:tickerScroll 30s linear infinite; padding-left:220px; }
.news-ticker__item { color:rgba(255,255,255,0.85); font-size:0.85rem; padding:12px 40px; display:inline-flex; align-items:center; gap:10px; cursor:pointer; transition:color 0.2s; }
.news-ticker__item:hover { color:var(--secondary); }
.news-ticker__item i { color:var(--secondary); font-size:0.5rem; }

/* Floating animation for hero badge */
.hero__badge { animation: fadeInUp 0.8s ease both, float 3s ease-in-out 1s infinite; }

/* Topbar social */
.topbar__social { display:flex; align-items:center; gap:8px; margin-left:16px; }
.topbar__social a { color:var(--primary-fg); opacity:0.8; transition:all 0.2s; font-size:0.9rem; }
.topbar__social a:hover { opacity:1; color:var(--secondary); text-decoration:none; }

/* ============================================================
   ESWUZ v6 — TURN B ADDITIONS
   - Upgraded news ticker with ripples & sheen
   - Emergency hotline banner (homepage + footer)
   - Baines-style AI live chat widget
   - React-floating-WhatsApp-style widget
   - BPO-style team carousel (management page)
   ============================================================ */

/* ---------- keyframes used across widgets ---------- */
@keyframes eswuzRipplePulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes eswuzShineSlide  { 0% { left:-40%; } 60%,100% { left:110%; } }
@keyframes eswuzPhoneShake  { 0%,60%,100% { transform: rotate(0); } 10% { transform: rotate(-14deg); } 20% { transform: rotate(12deg); } 30% { transform: rotate(-10deg); } 40% { transform: rotate(10deg); } 50% { transform: rotate(-6deg); } }
@keyframes eswuzBorderDance { 0%,100% { border-color: rgba(212,148,26,.35); } 50% { border-color: rgba(26,107,60,.75); } }
@keyframes eswuzGlow        { 0%,100% { box-shadow: 0 0 0 0 rgba(26,107,60,.25), 0 4px 24px rgba(0,0,0,.08); } 50% { box-shadow: 0 0 0 10px rgba(26,107,60,.04), 0 8px 36px rgba(26,107,60,.28); } }
@keyframes eswuzChatMsgIn   { from { opacity:0; transform: translateY(8px); } to { opacity:1; transform: translateY(0); } }
@keyframes eswuzTypingBounce{ 0%,100% { transform: translateY(0); opacity:.4; } 50% { transform: translateY(-4px); opacity:1; } }
@keyframes eswuzFwaRing     { 0% { transform: scale(1); opacity:.55; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes eswuzFadeUp      { from { opacity:0; transform: translateY(12px); } to { opacity:1; transform: translateY(0); } }

/* =============================================================
   UPGRADED NEWS TICKER — ripples, sheen, fashionable accent
   ============================================================= */
.news-ticker {
  position: relative;
  background: linear-gradient(135deg, #0f4525 0%, #1a6b3c 50%, #112a1b 100%);
  overflow: hidden;
  white-space: nowrap;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 3px solid var(--secondary);
  box-shadow: 0 6px 24px rgba(15,69,37,.25), inset 0 1px 0 rgba(255,255,255,.06);
}
.news-ticker::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212,148,26,.12), transparent 55%),
    radial-gradient(ellipse at 80% 50%, rgba(255,255,255,.06), transparent 60%);
  pointer-events: none;
}
.news-ticker::after {
  /* sheen */
  content: '';
  position: absolute; top:0; left:-30%;
  width: 30%; height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.12) 50%, transparent 100%);
  animation: eswuzShineSlide 6s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}
.news-ticker__label {
  position: absolute; left:0; top:0; bottom:0; z-index:3;
  background: linear-gradient(135deg, var(--secondary) 0%, #b3791a 100%);
  color:#fff; font-weight:800; font-size:.82rem;
  display:flex; align-items:center; gap:10px;
  padding: 0 22px;
  box-shadow: 6px 0 22px rgba(0,0,0,.35);
  letter-spacing:.4px;
}
.news-ticker__label::after {
  /* pill ripple beside the label */
  content:''; position:absolute; right:-10px; top:50%;
  width:14px; height:14px; background: var(--secondary); border-radius:50%; transform: translateY(-50%);
  box-shadow: 0 0 0 0 rgba(212,148,26,.7);
  animation: eswuzRipplePulse 2.2s ease-out infinite;
}
.news-ticker__label i { font-size:1.05rem; animation: pulse 2s ease-in-out infinite; }
.news-ticker__track {
  display: inline-flex;
  animation: tickerScroll 30s linear infinite;
  padding-left: 240px;
}
.news-ticker__item {
  color: rgba(255,255,255,.92);
  font-size:.88rem; font-weight:500;
  padding: 14px 44px;
  display:inline-flex; align-items:center; gap:12px;
  cursor: pointer; transition: color .2s;
  position: relative;
}
.news-ticker__item + .news-ticker__item::before {
  /* gold divider between items */
  content:''; position:absolute; left:0; top:50%; transform: translateY(-50%);
  width: 6px; height: 6px; background: var(--secondary); border-radius:50%;
  box-shadow: 0 0 10px rgba(212,148,26,.75);
}
.news-ticker__item:hover { color: var(--secondary); }
.news-ticker__item i {
  color: var(--secondary); font-size:.55rem;
  filter: drop-shadow(0 0 6px rgba(212,148,26,.8));
  animation: pulse 1.8s ease-in-out infinite;
}
.news-ticker:hover .news-ticker__track { animation-play-state: paused; }

/* =============================================================
   EMERGENCY HOTLINE BANNER (homepage) — phone icon (not ambulance)
   ============================================================= */
.eswuz-hotline-section { padding: 40px 0 8px; }
.eswuz-hotline-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(26,107,60,.06), rgba(212,148,26,.06));
  border: 2px solid rgba(26,107,60,.35);
  border-radius: 18px;
  padding: 22px 30px;
  overflow: hidden;
  animation: eswuzBorderDance 4s ease infinite, eswuzGlow 3.2s ease infinite;
}
.eswuz-hotline-banner::before {
  /* sheen */
  content:''; position:absolute; top:0; left:-40%; width:35%; height:100%;
  background: linear-gradient(110deg, transparent, rgba(26,107,60,.12), transparent);
  animation: eswuzShineSlide 5s ease-in-out infinite; pointer-events:none;
}
.eswuz-hotline-inner {
  display:flex; align-items:center; gap: 22px; flex-wrap: wrap;
  position: relative; z-index: 2;
}
.eswuz-hotline-icon {
  position: relative;
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color:#fff;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(26,107,60,.45);
  flex-shrink: 0;
}
.eswuz-hotline-icon i { animation: eswuzPhoneShake 2s ease-in-out infinite; }
.eswuz-hotline-icon::before,
.eswuz-hotline-icon::after {
  content:''; position:absolute; inset:0; border-radius:50%;
  border: 2px solid rgba(26,107,60,.5);
  animation: eswuzFwaRing 2.4s ease-out infinite;
}
.eswuz-hotline-icon::after { animation-delay: 1.2s; }
.eswuz-hotline-live-dot {
  position: absolute; top: 4px; right: 4px;
  width: 12px; height: 12px; background: #22c55e; border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34,197,94,.7);
  animation: eswuzRipplePulse 1.8s ease-out infinite;
}
.eswuz-hotline-text { flex: 1; min-width: 220px; }
.eswuz-hotline-label {
  display: inline-flex; align-items:center; gap:8px;
  font-size:.78rem; font-weight:700; color: var(--primary);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px;
}
.eswuz-hotline-live-badge {
  background: #dc3545; color:#fff; font-size:.66rem; padding:2px 8px;
  border-radius: 999px; font-weight:800; letter-spacing: .6px;
  animation: eswuzGlow 2s ease infinite;
}
.eswuz-hotline-numbers {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 900; color: var(--fg);
}
.eswuz-hotline-numbers a { color: var(--fg); text-decoration: none; }
.eswuz-hotline-numbers a:hover { color: var(--primary); }
.eswuz-hotline-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.eswuz-hotline-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items:center; gap: 8px;
  padding: 12px 22px;
  background: var(--primary); color:#fff;
  border-radius: 999px; font-weight: 700; font-size:.9rem;
  box-shadow: 0 6px 18px rgba(26,107,60,.35);
  text-decoration: none;
  transition: transform .18s, box-shadow .18s;
}
.eswuz-hotline-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(26,107,60,.45); color:#fff; }
.eswuz-hotline-btn--wa { background: #25D366; box-shadow: 0 6px 18px rgba(37,211,102,.4); }
.eswuz-hotline-btn--wa:hover { box-shadow: 0 10px 26px rgba(37,211,102,.55); }
.eswuz-hotline-btn .btn-shine {
  position: absolute; top:0; left:-100%; width:50%; height:100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  animation: eswuzShineSlide 3s infinite;
}
@media (max-width: 640px) {
  .eswuz-hotline-banner { padding: 18px; }
  .eswuz-hotline-numbers { font-size: 1.1rem; }
  .eswuz-hotline-inner { gap: 14px; }
}

/* =============================================================
   FOOTER HOTLINE BLOCK
   ============================================================= */
.footer-hotline {
  background: linear-gradient(135deg, rgba(26,107,60,.18), rgba(212,148,26,.12));
  border: 2px solid rgba(212,148,26,.35);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex; gap: 12px; align-items: center;
  margin-top: 14px;
  position: relative; overflow: hidden;
  animation: eswuzBorderDance 4s ease infinite, eswuzGlow 3s ease infinite;
}
.footer-hotline::before {
  content:''; position:absolute; top:0; left:-100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  animation: eswuzShineSlide 4s infinite;
}
.footer-hotline i {
  font-size: 1.2rem; color: var(--secondary);
  animation: eswuzPhoneShake 2s ease-in-out infinite;
}
.footer-hotline .fh-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.footer-hotline small { font-size: .68rem; opacity: .85; letter-spacing: 1px; text-transform: uppercase; }
.footer-hotline strong { font-size: .92rem; color: #fff; font-weight: 800; line-height: 1.3; }
.footer-hotline strong a { color: inherit; text-decoration: none; }
.footer-hotline strong a:hover { color: var(--secondary); }

/* =============================================================
   BAINES-STYLE AI LIVE CHAT — .eswuz-livechat
   ============================================================= */
.eswuz-livechat { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9998; }
.eswuz-lc-toggle {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border: none; border-radius: 50%;
  font-size: 1.5rem; cursor: pointer;
  box-shadow: 0 6px 22px rgba(26,107,60,.45);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform .2s;
  animation: eswuzGlow 3s ease infinite;
}
.eswuz-lc-toggle:hover { transform: scale(1.08); }
.eswuz-lc-toggle::before {
  content: ''; position: absolute; top: -3px; right: -3px;
  width: 16px; height: 16px; background: #22c55e;
  border-radius: 50%; border: 2.5px solid #fff;
  box-shadow: 0 0 0 0 rgba(34,197,94,.7);
  animation: eswuzRipplePulse 1.8s ease-out infinite;
}
.eswuz-lc-window {
  display: none;
  position: absolute; bottom: 74px; right: 0;
  width: 380px; max-width: calc(100vw - 2rem);
  max-height: 540px;
  background: #fff; border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--border);
  animation: eswuzFadeUp .25s ease;
}
.eswuz-lc-window.show { display: flex; }
.eswuz-lc-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; padding: 14px 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.eswuz-lc-header-info { display: flex; gap: 10px; align-items: center; }
.eswuz-lc-avatar {
  width: 40px; height: 40px; background: rgba(255,255,255,.22);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; overflow: hidden;
}
.eswuz-lc-avatar img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.eswuz-lc-header strong { font-size: .95rem; display: block; font-weight: 800; }
.eswuz-lc-header small { font-size: .72rem; opacity: .85; display: block; }
.eswuz-lc-close { background: none; border: none; color: #fff; font-size: 1rem; cursor: pointer; opacity: .75; padding: 6px; }
.eswuz-lc-close:hover { opacity: 1; }
.eswuz-lc-body {
  flex: 1; overflow-y: auto; padding: 14px;
  background: linear-gradient(180deg, #f8faf8, #fff);
  max-height: 340px;
}
.eswuz-lc-msg { margin-bottom: 10px; animation: eswuzChatMsgIn .35s ease; }
.eswuz-lc-msg.bot .eswuz-lc-bubble {
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px 14px 14px 4px;
}
.eswuz-lc-msg.user .eswuz-lc-bubble {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border-radius: 14px 14px 4px 14px; margin-left: auto;
}
.eswuz-lc-bubble {
  padding: 9px 14px; max-width: 88%;
  font-size: .88rem; line-height: 1.55; width: fit-content;
}
.eswuz-lc-bubble a { color: var(--secondary); font-weight: 700; }
.eswuz-lc-msg small {
  font-size: .68rem; color: var(--muted-fg);
  display: block; margin-top: 3px;
}
.eswuz-lc-msg.user small { text-align: right; }
.eswuz-lc-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.eswuz-lc-chip {
  background: #fff; border: 1px solid var(--border);
  padding: 6px 12px; border-radius: 999px;
  font-size: .74rem; color: var(--primary); font-weight: 600;
  cursor: pointer; transition: all .15s;
}
.eswuz-lc-chip:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.eswuz-lc-typing { display: flex; gap: 4px; align-items: center; padding: 8px 14px; }
.eswuz-lc-typing span {
  width: 6px; height: 6px; background: var(--muted-fg);
  border-radius: 50%; animation: eswuzTypingBounce .9s infinite;
}
.eswuz-lc-typing span:nth-child(2) { animation-delay: .15s; }
.eswuz-lc-typing span:nth-child(3) { animation-delay: .3s; }
.eswuz-lc-form { padding: 10px; border-top: 1px solid var(--border); background: #fff; }
.eswuz-lc-input-group { display: flex; gap: 6px; }
.eswuz-lc-input {
  flex: 1; padding: 9px 12px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-family: inherit; font-size: .9rem;
}
.eswuz-lc-input:focus { outline: none; border-color: var(--primary); }
.eswuz-lc-send {
  background: var(--primary); color: #fff; border: none;
  border-radius: 10px; padding: 9px 14px; cursor: pointer;
  transition: background .15s;
}
.eswuz-lc-send:hover { background: var(--primary-dark); }

/* =============================================================
   REACT-FLOATING-WHATSAPP-STYLE WIDGET — .eswuz-fwa
   ============================================================= */
.eswuz-fwa { position: fixed; bottom: 1.5rem; right: calc(1.5rem + 76px); z-index: 9997; }
.eswuz-fwa-btn {
  width: 60px; height: 60px; border: none;
  background: #25D366; color: #fff;
  border-radius: 50%; cursor: pointer;
  font-size: 1.7rem;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: 0 6px 22px rgba(37,211,102,.5);
  transition: transform .2s;
}
.eswuz-fwa-btn:hover { transform: scale(1.08); }
.eswuz-fwa-ring,
.eswuz-fwa-ring.r2 {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(37,211,102,.65);
  animation: eswuzFwaRing 2.4s ease-out infinite;
  pointer-events: none;
}
.eswuz-fwa-ring.r2 { animation-delay: 1.2s; }
.eswuz-fwa-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 6px;
  background: #dc3545; color: #fff;
  border-radius: 999px;
  font-size: .65rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}
.eswuz-fwa-chat {
  display: none;
  position: absolute; bottom: 74px; right: 0;
  width: 340px; max-width: calc(100vw - 2rem);
  background: #fff; border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
  overflow: hidden;
  animation: eswuzFadeUp .25s ease;
  border: 1px solid var(--border);
}
.eswuz-fwa-chat.show { display: block; }
.eswuz-fwa-head {
  background: linear-gradient(135deg, #075e54, #128c7e);
  color: #fff; padding: 14px;
  display: flex; align-items: center; gap: 12px;
}
.eswuz-fwa-head-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0; position: relative;
}
.eswuz-fwa-head-avatar img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.eswuz-fwa-head-avatar::after {
  content: ''; position: absolute; bottom: 0; right: 0;
  width: 11px; height: 11px; background: #22c55e;
  border: 2px solid #fff; border-radius: 50%;
}
.eswuz-fwa-head-text { flex: 1; min-width: 0; }
.eswuz-fwa-head-text strong { font-size: .88rem; display: block; font-weight: 700; }
.eswuz-fwa-head-text small { font-size: .7rem; opacity: .8; }
.eswuz-fwa-close {
  background: none; border: none; color: #fff;
  font-size: 1rem; cursor: pointer; opacity: .75; padding: 4px;
}
.eswuz-fwa-close:hover { opacity: 1; }
.eswuz-fwa-body {
  background:
    linear-gradient(rgba(245,237,221,.92), rgba(245,237,221,.92)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><circle cx='20' cy='20' r='1' fill='%23aaa' opacity='.3'/></svg>");
  padding: 16px; min-height: 130px;
}
.eswuz-fwa-msg {
  background: #fff; padding: 10px 14px; border-radius: 4px 12px 12px 12px;
  max-width: 88%; box-shadow: 0 1px 2px rgba(0,0,0,.08);
  animation: eswuzChatMsgIn .4s ease;
}
.eswuz-fwa-msg-sender { font-size: .72rem; color: #128c7e; font-weight: 700; margin-bottom: 2px; }
.eswuz-fwa-msg-text { font-size: .88rem; color: #222; line-height: 1.45; }
.eswuz-fwa-msg-time { font-size: .66rem; color: #888; text-align: right; margin-top: 4px; }
.eswuz-fwa-input {
  background: #f0f0f0; padding: 10px;
  display: flex; gap: 8px; align-items: center;
}
.eswuz-fwa-input input {
  flex: 1; padding: 9px 14px;
  border: none; border-radius: 22px;
  background: #fff; font-size: .88rem; font-family: inherit;
}
.eswuz-fwa-input input:focus { outline: none; }
.eswuz-fwa-input button {
  background: #25D366; color: #fff; border: none;
  width: 38px; height: 38px; border-radius: 50%;
  cursor: pointer; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}

/* mobile — stack vertically */
@media (max-width: 520px) {
  .eswuz-livechat { bottom: 1rem; right: 1rem; }
  .eswuz-fwa { bottom: calc(1rem + 76px); right: 1rem; }
  .eswuz-lc-window, .eswuz-fwa-chat { width: calc(100vw - 2rem); }
}

/* =============================================================
   BPO-STYLE TEAM CAROUSEL — management page
   ============================================================= */
.team-carousel-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
.team-carousel {
  overflow: hidden;
  border-radius: 20px;
  padding: 20px 10px;
}
.team-track {
  display: flex;
  gap: 24px;
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.team-card {
  flex: 0 0 calc(33.333% - 16px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(26,107,60,.18);
}
.team-photo {
  position: relative;
  width: 100%; aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-initials {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display);
  font-size: 3rem; font-weight: 900;
  letter-spacing: 2px;
}
.team-info { padding: 18px 20px 22px; text-align: left; }
.team-info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 800; color: var(--fg);
  margin-bottom: 3px;
}
.team-role {
  display: inline-block; font-size: .78rem; font-weight: 700;
  color: var(--primary);
  text-transform: uppercase; letter-spacing: .6px;
  margin-bottom: 10px;
}
.team-info p {
  font-size: .88rem; color: var(--muted-fg); line-height: 1.6;
  margin-bottom: 12px;
}
.team-social { display: flex; gap: 8px; }
.team-linkedin {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #0a66c2; color: #fff;
  transition: transform .2s;
}
.team-linkedin:hover { transform: scale(1.1); color: #fff; }
.team-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  border: none; background: #fff; color: var(--primary);
  font-size: 1.05rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  cursor: pointer; z-index: 4;
  transition: transform .2s, background .2s;
}
.team-nav:hover { transform: translateY(-50%) scale(1.08); background: var(--primary); color: #fff; }
.team-prev { left: -10px; }
.team-next { right: -10px; }
.team-grid-mobile { display: none; }
@media (max-width: 900px) {
  .team-card { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 600px) {
  .team-carousel-wrap { display: none; }
  .team-grid-mobile {
    display: grid; grid-template-columns: 1fr; gap: 20px;
    max-width: 500px; margin: 0 auto;
  }
  .team-card-sm {
    background: #fff; border: 1px solid var(--border); border-radius: 16px;
    padding: 18px; text-align: center; box-shadow: var(--shadow-md);
  }
  .team-photo-sm {
    width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 2rem; font-weight: 900; overflow: hidden;
  }
  .team-photo-sm img { width: 100%; height: 100%; object-fit: cover; }
  .team-card-sm h4 { font-size: 1.05rem; font-weight: 800; color: var(--fg); margin-bottom: 2px; }
  .team-card-sm span {
    font-size: .74rem; font-weight: 700; color: var(--primary);
    text-transform: uppercase; letter-spacing: .6px;
  }
  .team-card-sm p { font-size: .88rem; color: var(--muted-fg); line-height: 1.55; margin: 8px 0; }
  .team-linkedin-sm {
    width: 30px; height: 30px; display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: 50%; background: #0a66c2; color: #fff;
  }
}
