/*
Theme Name: UHCL — Udaipur Health Care
Theme URI: https://uhcl.net/
Author: WebSenor
Author URI: https://websenor.com/
Description: Dynamic WordPress theme for Udaipur Health Care Pvt. Ltd. (UHCL) — orthopaedic casting manufacturer. Pixel-faithful to the original design, fully editable from the WordPress admin: global header/footer/contact via the Customizer, navigation via Menus, products as a custom post type, and News & Blog as posts.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: uhcl
*/

/* ============================================================
   UHCL — Udaipur Health Care Pvt. Ltd.
   Enterprise clinical design system
   ============================================================ */

:root {
  /* Brand palette — clinical & trustworthy */
  --blue-900: #0b2a4a;
  --blue-800: #103a63;
  --blue-700: #14538c;
  --blue-600: #1769ad;
  --blue-500: #1e88d4;
  --blue-100: #e3f0fb;
  --blue-50:  #f2f8fd;
  --teal-500: #0fb5ae;
  --teal-600: #0a8f8a;

  --ink:      #16202b;
  --slate:    #4a5a6a;
  --muted:    #6b7a8a;
  --line:     #e2e9f0;
  --bg:       #ffffff;
  --bg-soft:  #f5f9fc;
  --bg-tint:  #eef5fb;

  --white:    #ffffff;
  --shadow-sm: 0 1px 3px rgba(11,42,74,.06), 0 1px 2px rgba(11,42,74,.04);
  --shadow:    0 8px 24px rgba(11,42,74,.08);
  --shadow-lg: 0 24px 60px rgba(11,42,74,.14);

  --radius:   14px;
  --radius-sm: 9px;
  --maxw:     1200px;

  --serif: "Georgia", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-800); }
h1,h2,h3,h4 { color: var(--blue-900); line-height: 1.18; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; color: var(--slate); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: linear-gradient(180deg, var(--blue-50), #fff); }
.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--slate); }

/* eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--teal-500); border-radius: 2px; }
.center .eyebrow::before { display: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: .98rem; padding: 14px 26px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; transition: all .22s ease; white-space: nowrap;
}
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px rgba(23,105,173,.28); }
.btn--primary:hover { background: var(--blue-800); color:#fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(23,105,173,.34); }
.btn--ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: #fff; color: var(--blue-800); }
.btn--outline { background:#fff; color: var(--blue-700); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue-500); color: var(--blue-800); transform: translateY(-2px); }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }

/* ===================== TOP BAR ===================== */
.topbar { background: var(--blue-900); color: #cfe0f0; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: #cfe0f0; }
.topbar a:hover { color: #fff; }
.topbar__group { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar__group span { display:inline-flex; align-items:center; gap:7px; }
.topbar svg { width: 15px; height: 15px; opacity: .8; }

/* ===================== HEADER / NAV ===================== */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.nav__logo img { height: 46px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links > li { position: relative; }
.nav__links a { color: var(--ink); font-weight: 600; font-size: .97rem; padding: 10px 15px; border-radius: 8px; display: block; }
.nav__links a:hover, .nav__links a.active { color: var(--blue-700); background: var(--blue-50); }
.nav__cta { display: flex; align-items: center; gap: 12px; }

/* dropdown */
.has-drop > a::after { content: "▾"; font-size: .7rem; margin-left: 6px; color: var(--muted); }
.drop {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 290px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s; list-style: none; margin: 0;
}
.has-drop:hover .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop a { padding: 11px 14px; border-radius: 8px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.drop a span { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.drop a:hover { background: var(--blue-50); }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--blue-900); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* mobile nav */
.mobile-nav { display: none; }

/* ===================== HERO ===================== */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content:""; position:absolute; inset:0;
  background: linear-gradient(110deg, rgba(8,28,49,.93) 0%, rgba(11,42,74,.82) 42%, rgba(16,58,99,.55) 100%); }
.hero__inner { position: relative; padding: 110px 0 120px; max-width: 720px; }
.hero h1 { color: #fff; }
.hero p { color: #d7e6f4; font-size: 1.2rem; max-width: 600px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 30px; }
.pill { display:inline-flex; align-items:center; gap:7px; font-size:.82rem; font-weight:600;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color:#eaf3fb;
  padding: 7px 14px; border-radius: 999px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* stats strip */
.stats { background: var(--blue-800); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.stat { padding: 30px 18px; text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: 0; }
.stat__num { font-size: 2.4rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.stat__num span { color: var(--teal-500); }
.stat__label { font-size: .9rem; color: #bdd4e9; }

/* ===================== SECTION HEAD ===================== */
.shead { max-width: 720px; margin-bottom: 50px; }
.shead.center { margin-left: auto; margin-right: auto; }

/* ===================== PRODUCT CARDS ===================== */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: all .25s ease; box-shadow: var(--shadow-sm);
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #cfe0f0; }
.pcard__img { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-tint); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.pcard__tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 8px; }
.pcard__body h3 { margin-bottom: 8px; }
.pcard__body p { font-size: .95rem; margin-bottom: 16px; }
.pcard__link { margin-top: auto; font-weight: 700; font-size: .92rem; color: var(--blue-600); display: inline-flex; align-items: center; gap: 6px; }
.pcard__link:hover { gap: 10px; color: var(--blue-800); }

/* ===================== FEATURE / VALUE ===================== */
.fcard { background:#fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); transition: all .25s; }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fcard__icon { width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-600); margin-bottom: 18px; }
.fcard__icon svg { width: 26px; height: 26px; }
.fcard h3 { font-size: 1.15rem; }
.fcard p { font-size: .96rem; margin: 0; }

/* split media */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split--rev .split__media { order: 2; }

.checklist { list-style: none; padding: 0; margin: 22px 0 0; }
.checklist li { position: relative; padding: 8px 0 8px 34px; color: var(--slate); font-weight: 500; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 22px; height: 22px;
  background: var(--teal-500); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; }

/* logos / certs strip */
.certs { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.cert-badge { display: flex; align-items: center; gap: 12px; background:#fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 12px 22px; font-weight: 700; color: var(--blue-800); box-shadow: var(--shadow-sm); }
.cert-badge svg { width: 22px; height: 22px; color: var(--teal-600); }

/* ===================== CTA BANNER ===================== */
.cta-banner { position: relative; background: linear-gradient(120deg, var(--blue-800), var(--blue-600)); color:#fff; border-radius: 22px; padding: 56px; overflow: hidden; }
.cta-banner::before { content:""; position:absolute; right:-80px; top:-80px; width:300px; height:300px; border-radius:50%; background: rgba(255,255,255,.07); }
.cta-banner::after { content:""; position:absolute; left:-60px; bottom:-100px; width:260px; height:260px; border-radius:50%; background: rgba(15,181,174,.16); }
.cta-banner h2 { color:#fff; position: relative; }
.cta-banner p { color:#d7e6f4; position: relative; max-width: 560px; }
.cta-banner .hero__actions { position: relative; }

/* ===================== PAGE HEADER ===================== */
.pagehead { position: relative; color:#fff; padding: 84px 0 64px; background: linear-gradient(120deg, var(--blue-900), var(--blue-700)); overflow:hidden; }
.pagehead::after { content:""; position:absolute; right:-60px; top:-60px; width:280px; height:280px; border-radius:50%; background: rgba(255,255,255,.06); }
.pagehead h1 { color:#fff; position:relative; }
.pagehead p { color:#cfe0f0; max-width: 640px; position:relative; }
.crumbs { position: relative; font-size: .85rem; color:#a9c6e3; margin-bottom: 16px; }
.crumbs a { color:#cfe0f0; }

/* ===================== TABLE ===================== */
.spec-table { width: 100%; border-collapse: collapse; background:#fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border:1px solid var(--line); }
.spec-table th { background: var(--blue-800); color:#fff; text-align: left; padding: 15px 20px; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.spec-table td { padding: 14px 20px; border-top: 1px solid var(--line); color: var(--slate); }
.spec-table tr:nth-child(even) td { background: var(--bg-soft); }

/* tag chips */
.chips { display:flex; flex-wrap:wrap; gap:10px; margin-top: 6px; }
.chip { background: var(--blue-50); color: var(--blue-700); font-weight:600; font-size:.85rem; padding:8px 15px; border-radius:999px; border:1px solid #d6e7f7; }

/* ===================== FORM ===================== */
.form { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form .row { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display:block; font-weight:600; font-size:.88rem; color: var(--blue-900); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width:100%; padding: 12px 14px; border:1.5px solid var(--line); border-radius: 9px; font: inherit; color: var(--ink); background:#fff; transition: border .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(30,136,212,.14); }
.field textarea { resize: vertical; min-height: 120px; }

/* info cards */
.info-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: 1.05rem; display:flex; align-items:center; gap:10px; }
.info-card h3 svg { width: 20px; height:20px; color: var(--teal-600); }
.info-card p { font-size: .95rem; margin: 0; }

/* ===================== FOOTER ===================== */
.footer { background: var(--blue-900); color: #b9cee2; padding: 64px 0 0; font-size: .95rem; }
.footer a { color: #b9cee2; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 44px; }
.footer__logo { height: 46px; margin-bottom: 16px; }
.footer h4 { color: #fff; font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer__contact span { display:flex; gap:10px; margin-bottom: 12px; align-items:flex-start; }
.footer__contact svg { width:17px; height:17px; flex:none; margin-top:3px; color: var(--teal-500); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size: .85rem; color:#8eaac7; }

/* ===================== MODAL ===================== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(8,24,44,.62); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .25s ease; z-index: 200;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: #fff; border-radius: 18px; max-width: 560px; width: 100%; max-height: 92vh; overflow-y: auto;
  box-shadow: var(--shadow-lg); transform: translateY(20px) scale(.98); transition: transform .28s ease; position: relative;
}
.modal-overlay.open .modal { transform: none; }
.modal__head { background: linear-gradient(120deg,var(--blue-800),var(--blue-600)); color:#fff; padding: 26px 30px; border-radius: 18px 18px 0 0; }
.modal__head h3 { color:#fff; margin: 0 0 4px; font-size: 1.35rem; }
.modal__head p { color: #cfe2f4; margin: 0; font-size: .92rem; }
.modal__body { padding: 26px 30px 30px; }
.modal__close { position: absolute; top: 16px; right: 18px; background: rgba(255,255,255,.18); border: 0; color:#fff;
  width: 34px; height: 34px; border-radius: 50%; font-size: 1.3rem; line-height: 1; cursor: pointer; transition: background .2s; }
.modal__close:hover { background: rgba(255,255,255,.34); }

/* ===================== WHATSAPP FLOAT ===================== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.45);
  transition: transform .2s; animation: wa-pulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.08); color:#fff; }
.wa-float svg { width: 30px; height: 30px; }
@keyframes wa-pulse { 0%{box-shadow:0 0 0 0 rgba(37,211,102,.5)} 70%{box-shadow:0 0 0 16px rgba(37,211,102,0)} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0)} }

.btn--wa { background:#25d366; color:#fff; box-shadow:0 8px 20px rgba(37,211,102,.3); }
.btn--wa:hover { background:#1da851; color:#fff; transform: translateY(-2px); }

/* ===================== GALLERY ===================== */
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.gallery img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-sm); border:1px solid var(--line); }
.gallery--lg { grid-template-columns: repeat(4,1fr); }

.pgallery__main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-tint); }
.pgallery__main img { width:100%; aspect-ratio: 4/3; object-fit: cover; }
.pgallery__thumbs { display:flex; gap:10px; margin-top:12px; }
.pgallery__thumbs img { width:84px; height:64px; object-fit:cover; border-radius:9px; border:2px solid var(--line); cursor:pointer; transition: border .2s; }
.pgallery__thumbs img:hover, .pgallery__thumbs img.active { border-color: var(--blue-500); }

/* category block */
.cat-head { display:flex; align-items:center; gap:14px; margin: 0 0 26px; }
.cat-head .cat-ico { width:48px; height:48px; border-radius:12px; background:var(--blue-50); color:var(--blue-600); display:grid; place-items:center; flex:none; }
.cat-head .cat-ico svg{ width:24px; height:24px; }
.cat-head h2 { margin:0; font-size:1.6rem; }
.cat-head p { margin:0; font-size:.95rem; }

/* social row */
.social { display:flex; gap:10px; margin-top:16px; }
.social a { width:38px; height:38px; border-radius:10px; background:rgba(255,255,255,.1); display:grid; place-items:center; color:#cfe0f0; transition: all .2s; }
.social a:hover { background:var(--teal-500); color:#fff; transform:translateY(-2px); }
.social svg { width:18px; height:18px; }

/* timeline / news */
.news-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); transition:all .25s; display:flex; flex-direction:column; }
.news-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-lg); }
.news-card__img { aspect-ratio:16/9; overflow:hidden; background:var(--bg-tint); }
.news-card__img img { width:100%; height:100%; object-fit:cover; }
.news-card__body { padding:22px; }
.news-card__date { font-size:.78rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--teal-600); }
.news-card h3 { font-size:1.12rem; margin:8px 0 8px; }
.news-card p { font-size:.93rem; margin:0; }

.map-list { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:8px; }
.map-list span { background:#fff; border:1px solid var(--line); border-radius:10px; padding:11px 14px; font-weight:600; font-size:.9rem; color:var(--blue-800); display:flex; align-items:center; gap:8px; box-shadow:var(--shadow-sm); }
.map-list span::before { content:"●"; color:var(--teal-500); font-size:.7rem; }

/* ===================== LOGO CAROUSEL (marquee) ===================== */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-chip { flex: none; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 24px; box-shadow: var(--shadow-sm); min-width: 200px; }
.logo-chip svg { width: 26px; height: 26px; color: var(--blue-600); flex: none; }
.logo-chip strong { display: block; color: var(--blue-900); font-size: .98rem; line-height: 1.1; }
.logo-chip span { font-size: .76rem; color: var(--muted); }

/* ===================== RATINGS / BADGES ===================== */
.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.badge-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; text-align: center; box-shadow: var(--shadow-sm); transition: all .25s; }
.badge-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.badge-card .badge-ico { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.badge-card .badge-ico svg { width: 28px; height: 28px; }
.badge-card strong { display: block; font-size: 1.05rem; color: var(--blue-900); }
.badge-card span { font-size: .85rem; color: var(--muted); }
.stars { color: #f5a623; letter-spacing: 2px; font-size: 1.1rem; }

/* ===================== TESTIMONIALS ===================== */
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); position: relative; height: 100%; }
.tcard::before { content: "\201C"; position: absolute; top: 6px; right: 22px; font-family: var(--serif); font-size: 5rem; color: var(--blue-100); line-height: 1; }
.tcard .stars { margin-bottom: 12px; }
.tcard p { color: var(--ink); font-size: 1rem; position: relative; z-index: 1; }
.tcard__by { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.tcard__av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-600), var(--teal-500)); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.tcard__by strong { color: var(--blue-900); font-size: .95rem; display: block; }
.tcard__by span { color: var(--muted); font-size: .82rem; }

/* ===================== LEADERSHIP ===================== */
.lead-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); text-align: center; transition: all .25s; }
.lead-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.lead-card__top { background: linear-gradient(135deg, var(--blue-800), var(--blue-600)); padding: 30px 20px 0; }
.lead-card__av { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto; background: #fff; color: var(--blue-700);
  display: grid; place-items: center; font-size: 2rem; font-weight: 800; border: 4px solid rgba(255,255,255,.4); transform: translateY(20px); }
.lead-card__body { padding: 32px 22px 26px; }
.lead-card__body h3 { margin: 0 0 4px; font-size: 1.15rem; }
.lead-card__role { color: var(--teal-600); font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.lead-card__body p { font-size: .92rem; margin: 14px 0 0; }

/* ===================== EVENT BANNER ===================== */
.event { display: grid; grid-template-columns: 1.05fr 1fr; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.event__media { position: relative; min-height: 340px; }
.event__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event__media .event__tag { position: absolute; top: 18px; left: 18px; background: var(--teal-500); color: #fff; font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 8px 16px; border-radius: 999px; z-index: 2; }
.event__body { background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); color: #fff; padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.event__body h2 { color: #fff; }
.event__body p { color: #cfe0f0; }
.event__meta { display: flex; flex-wrap: wrap; gap: 22px; margin: 18px 0 26px; }
.event__meta div { display: flex; align-items: center; gap: 9px; font-size: .92rem; color: #eaf3fb; font-weight: 600; }
.event__meta svg { width: 18px; height: 18px; color: var(--teal-500); }

/* blog teaser link */
.blog-teaser__cat { font-size:.74rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--teal-600); }

/* ===================== CREATIVE / ANIMATION POLISH ===================== */
/* Hero: slow ken-burns zoom + floating accent blobs + soft grid */
.hero__bg img { animation: heroZoom 20s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before, .hero::after { content:""; position:absolute; border-radius:50%; z-index:1; pointer-events:none; filter: blur(2px); }
.hero::before { width:360px; height:360px; right:-90px; top:-120px; background: radial-gradient(circle at 30% 30%, rgba(15,181,174,.30), transparent 70%); animation: floaty 9s ease-in-out infinite; }
.hero::after { width:280px; height:280px; right:18%; bottom:-120px; background: radial-gradient(circle at 50% 50%, rgba(30,136,212,.28), transparent 70%); animation: floaty 11s ease-in-out infinite reverse; }
@keyframes floaty { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-26px) } }
.hero .container { position: relative; z-index: 2; }
.hero h1 { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero > .container p, .hero__badges, .hero__actions { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero > .container p { animation-delay:.08s } .hero__badges { animation-delay:.16s } .hero__actions { animation-delay:.24s }
@keyframes rise { from { opacity:0; transform: translateY(22px) } to { opacity:1; transform:none } }
.pill { transition: transform .2s, background .2s; } .pill:hover { transform: translateY(-2px); background: rgba(255,255,255,.2); }

/* Button shine */
.btn { position: relative; overflow: hidden; }
.btn::after { content:""; position:absolute; top:0; left:-130%; width:60%; height:100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.38), transparent); transform: skewX(-20deg); transition: left .6s ease; }
.btn:hover::after { left: 140%; }

/* Card top accent bar */
.pcard, .fcard { position: relative; }
.pcard::before, .fcard::before { content:""; position:absolute; top:0; left:0; height:3px; width:0; background: linear-gradient(90deg, var(--blue-500), var(--teal-500)); transition: width .35s ease; border-radius: 3px 3px 0 0; z-index:3; }
.pcard:hover::before, .fcard:hover::before { width:100%; }
.fcard:hover .fcard__icon { transform: translateY(-3px) rotate(-4deg); background: var(--blue-600); color:#fff; }
.fcard__icon { transition: all .3s ease; }

/* Animated gradient on CTA banner */
.cta-banner { background: linear-gradient(120deg, var(--blue-900), var(--blue-600), var(--teal-600), var(--blue-700)); background-size: 280% 280%; animation: ctaShift 12s ease infinite; }
@keyframes ctaShift { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }

/* Animated underline under section headings */
.shead h2 { position: relative; display: inline-block; }
.shead.center h2::after { left: 50%; transform: translateX(-50%); }
.shead h2::after { content:""; position:absolute; left:0; bottom:-12px; width:54px; height:4px; border-radius:4px;
  background: linear-gradient(90deg, var(--blue-500), var(--teal-500)); transform-origin:left; animation: lineGrow .9s ease both; }
@keyframes lineGrow { from { transform: scaleX(0) } to { transform: scaleX(1) } }

/* Reveal stagger for grid children */
.reveal.in .grid > * { animation: rise .6s ease both; }
.reveal.in .grid > *:nth-child(2){animation-delay:.06s}.reveal.in .grid > *:nth-child(3){animation-delay:.12s}
.reveal.in .grid > *:nth-child(4){animation-delay:.18s}.reveal.in .grid > *:nth-child(5){animation-delay:.24s}
.reveal.in .grid > *:nth-child(6){animation-delay:.3s}

/* badge star shimmer */
.badge-card:hover .badge-ico { transform: scale(1.08) rotate(6deg); transition: transform .3s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split--rev .split__media { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stats .container { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: 0; }
}
@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: block; }
  .mobile-nav { display: block; max-height: 0; overflow: hidden; background:#fff; border-bottom:1px solid var(--line); transition: max-height .35s ease; }
  .mobile-nav.open { max-height: 620px; }
  .mobile-nav ul { list-style:none; margin:0; padding: 10px 24px 22px; }
  .mobile-nav a { display:block; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight:600; color: var(--ink); }
  .mobile-nav .sub a { padding-left: 16px; font-weight: 500; font-size: .92rem; color: var(--slate); }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px 26px; }
  .topbar { display: none; }
  .hero__inner { padding: 70px 0 80px; }
  .gallery, .gallery--lg, .map-list { grid-template-columns: 1fr 1fr; }
  .modal__head, .modal__body { padding-left: 22px; padding-right: 22px; }
  .badges { grid-template-columns: 1fr 1fr; }
  .event { grid-template-columns: 1fr; }
  .event__media { min-height: 220px; }
  .event__body { padding: 32px 26px; }
}
