:root{
  --bg:#F6FAF8;
  --panel:#FFFFFF;
  --panel2:#FFFFFF;
  --ink:#0B1F1C;
  --muted:#334155;
  --a:#0F766E;
  --b:#2563EB;
  --pink:#DB2777;
  --line:rgba(59,130,246,0.308);
  --line-light:rgba(59,130,246,0.495);
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:'Plus Jakarta Sans','Inter',ui-sans-serif,system-ui,-apple-system,"Segoe UI","Noto Sans Devanagari",sans-serif;
  background-color:var(--bg);
  background-image:
    radial-gradient(ellipse 80% 55% at 15% -5%, rgba(59,130,246,0.144) 0%, transparent 70%),
    radial-gradient(ellipse 65% 50% at 88% 10%, rgba(18,48,45,0.02) 0%, transparent 70%),
    radial-gradient(ellipse 70% 45% at 50% 105%, rgba(15,118,110,0.075) 0%, transparent 70%);
  background-attachment:fixed;
  background-repeat:no-repeat;
  color:var(--ink);
  min-height:100vh;
  display:flex;
  flex-direction:column;
  -webkit-font-smoothing:auto;
}
button,input,select,textarea{font:inherit}
button{cursor:pointer;border:0}
.wrap{max-width:1040px;margin:0 auto;padding:0 18px 40px;width:100%;flex:1}

/* ========================================================
   TOP HEADER STYLING (MODERN & SLEEK)
   ======================================================== */
.top-header{
  width:100%;
  border-bottom:1px solid rgba(18,48,45,0.2);
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(16px);
  position:sticky;
  top:0;
  z-index:99;
  padding:12px 20px;
}
.header-container{
  max-width:1040px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.brand-link{
  display:flex;
  align-items:center;
  text-decoration:none;
}
.brand-img-logo-main{
  height: 48px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(18,48,45,0.12));
}
.brand-img-logo{
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 0 10px rgba(15,118,110,0.158));
}
.footer-img-logo-main{
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}
.footer-img-logo{
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(15,118,110,0.135));
}
.brand-text{
  font-weight:900;
  font-size:1.6rem;
  letter-spacing:-0.8px;
  color:var(--ink);
}
.brand-text span{color:var(--a)}
.brand-badge{
  background:rgba(15,118,110,0.12);
  color:var(--a);
  border:1px solid rgba(15,118,110,0.33);
  font-size:0.68rem;
  font-weight:800;
  padding:3px 8px;
  border-radius:20px;
  text-transform:uppercase;
  letter-spacing:0.5px;
}
.header-actions{
  display:flex;
  align-items:center;
  gap:14px;
}
.status-indicator{
  display:flex;
  align-items:center;
  gap:6px;
  background:rgba(255,255,255,0.92);
  padding:6px 12px;
  border-radius:20px;
  border:1px solid var(--line);
  font-size:0.75rem;
  color:var(--muted);
}
.status-dot{
  width:7px;
  height:7px;
  background:var(--a);
  border-radius:50%;
  box-shadow:0 0 8px var(--a);
  animation:pulse 2s infinite;
}
@keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:0.4;transform:scale(0.85)}}
.admin-link-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:#FFFFFF;
  border:1px solid var(--line);
  color:var(--muted);
  text-decoration:none;
  padding:8px 12px;
  border-radius:12px;
  font-size:0.82rem;
  font-weight:700;
  transition:all 0.2s;
}
.admin-link-btn:hover{
  border-color:var(--a);
  color:var(--a);
}
.lang-selector-wrapper{
  position:relative;
  display:flex;
  align-items:center;
  background:#FFFFFF;
  border:1px solid var(--line);
  border-radius:12px;
  padding:0 10px 0 12px;
  transition:all 0.2s ease;
}
.lang-selector-wrapper:hover{
  border-color:var(--a);
}
.globe-icon{
  color:var(--muted);
  margin-right:6px;
  flex-shrink:0;
}
.lang-select{
  background:transparent;
  color:#0B1F1C;
  border:0;
  padding:6px 6px 6px 0;
  font-size:0.84rem;
  font-weight:600;
  cursor:pointer;
  outline:none;
}
.lang-select option{
  background:#FFFFFF;
  color:#0B1F1C;
}

/* ========================================================
   HERO & CORE PAGE STYLES
   ======================================================== */
.hero{text-align:center;padding:42px 10px 26px}
.eyebrow{display:inline-block;background:rgba(15,118,110,0.1);border:1px solid rgba(15,118,110,0.308);color:var(--a);padding:6px 15px;border-radius:999px;font-weight:800;letter-spacing:1.8px;font-size:.73rem}
.hero h1{font-size:clamp(1.5rem,3.6vw,2.55rem);line-height:1.18;max-width:820px;margin:14px auto;letter-spacing:-0.02em}
.grad{background:linear-gradient(95deg,var(--a) 0%,#2563EB 52%,var(--pink) 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero p{color:var(--muted);max-width:640px;margin:14px auto;line-height:1.65}
.orb{width:102px;height:102px;border-radius:50%;margin:20px auto 6px;background:linear-gradient(135deg,#0F766E,#3B82F6,#EC4899);display:grid;place-items:center;color:#FFFFFF;font-size:2.9rem;box-shadow:0 0 48px rgba(15,118,110,0.171),0 0 90px rgba(59,130,246,0.09);animation:float 3.4s ease-in-out infinite}
@keyframes float{50%{transform:translateY(-9px) rotate(4deg);box-shadow:0 0 65px rgba(59,130,246,0.234),0 0 100px rgba(15,118,110,0.126)}}
@keyframes pop{0%{transform:scale(.97);opacity:.5}100%{transform:scale(1);opacity:1}}
.card{background:linear-gradient(155deg,rgba(255,255,255,0.92),rgba(255,255,255,0.94));border:1px solid rgba(59,130,246,0.242);border-radius:24px;padding:clamp(18px,4vw,32px);box-shadow:0 22px 65px rgba(18,48,45,0.12),inset 0 1px 0 rgba(18,48,45,0.024);backdrop-filter:blur(16px);animation:pop .3s ease}
.narrow{max-width:790px;margin:22px auto}
.hide{display:none!important}
.progress{height:8px;background:#FFFFFF;border-radius:9px;overflow:hidden;margin:0 0 24px}
.bar{height:100%;width:0;background:linear-gradient(90deg,var(--a),var(--b),var(--pink));transition:width .4s}
.stepmeta{display:flex;justify-content:space-between;color:var(--muted);font-size:.85rem;margin-bottom:9px}
.q{font-size:clamp(1.3rem,4vw,1.9rem);font-weight:800;line-height:1.35;margin:16px 0 22px}
.choices{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}
.choice{background:rgba(255,255,255,0.92);border:1px solid rgba(59,130,246,0.308);color:var(--ink);padding:13px 5px;border-radius:16px;transition:all .2s ease;min-height:88px}
.choice:hover{transform:translateY(-3px);border-color:var(--a);background:rgba(255,255,255,0.95);box-shadow:0 8px 20px rgba(18,48,45,0.075)}
.choice.selected{background:linear-gradient(145deg,#0F766E,#E3EEEA);border:2px solid var(--a);transform:translateY(-2px);box-shadow:0 0 20px rgba(15,118,110,0.099)}
.face{font-size:1.5rem;display:block;margin-bottom:7px}
.choice small{color:#0B1F1C;font-size:.72rem;line-height:1.35;display:block}
.actions{display:flex;justify-content:space-between;gap:12px;margin-top:25px;flex-wrap:wrap}
.primary,.secondary{padding:13px 22px;border-radius:14px;font-weight:800;transition:all .2s ease}
.primary{background:linear-gradient(100deg,var(--a),#3B82F6);color:#FFFFFF;box-shadow:0 8px 24px rgba(15,118,110,0.126)}
.primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 12px 30px rgba(15,118,110,0.189)}
.primary:disabled{opacity:.35;cursor:not-allowed}
.secondary{background:rgba(255,255,255,0.92);color:var(--ink);border:1px solid var(--line)}
.secondary:hover{border-color:var(--b);background:rgba(255,255,255,0.95)}
.hint{font-size:.88rem;color:var(--muted);line-height:1.55}
.fieldgrid{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.field{display:flex;flex-direction:column;gap:7px}
.field label{font-size:.9rem;color:var(--muted)}
.field input,.field select,.field textarea{width:100%;background:#FFFFFF;border:1px solid var(--line);border-radius:12px;padding:13px;color:#0B1F1C}
.field textarea{resize:vertical;min-height:120px}
.field.full{grid-column:1/-1}
.result{text-align:center}
.score{font-size:clamp(4rem,15vw,7rem);font-weight:950;line-height:1;margin:12px 0;background:linear-gradient(90deg,var(--a),#2563EB,var(--pink));background-clip:text;-webkit-background-clip:text;color:transparent}
.meter{height:15px;background:#FFFFFF;border-radius:20px;overflow:hidden;margin:20px 0}
.meter>div{height:100%;background:linear-gradient(90deg,#DC2626,#EA580C,#0F766E);width:0;transition:width 1.1s}
.resultgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;text-align:left;margin:20px 0}
.mini,.tip{background:#FFFFFF;border:1px solid var(--line);border-radius:16px;padding:16px;text-align:left}
.mini h3{margin:0 0 8px;font-size:1rem}
.mini p,.tip p{margin:0;color:var(--muted);line-height:1.5;font-size:.92rem}
.tips{display:grid;grid-template-columns:1fr 1fr;gap:12px;text-align:left}
.tip b{display:block;margin-bottom:7px}
.privacy{border:1px solid #DCE7E3;background:#FFFFFF;border-radius:14px;padding:13px;color:#2563EB;font-size:.85rem;line-height:1.5;margin-top:16px}
.tag{display:inline-block;background:#FFFFFF;color:var(--a);border-radius:50px;padding:6px 11px;font-size:.78rem;font-weight:800}
.importance{background:linear-gradient(135deg,#FFFFFF,#FFFFFF);border:1px solid #3B82F6;border-radius:16px;padding:16px;text-align:left;margin:18px 0}
.importance p{color:#2563EB;line-height:1.55;margin:7px 0 0}
.dimension{display:grid;grid-template-columns:145px 1fr 42px;align-items:center;gap:10px;margin:12px 0;text-align:left}
.dimension span{font-size:.85rem;color:#0B1F1C}
.dimtrack{height:10px;background:#E3EEEA;border-radius:10px;overflow:hidden}
.dimtrack i{display:block;height:100%;background:linear-gradient(90deg,var(--pink),var(--b),var(--a));width:0;transition:width .8s}
.dimension b{text-align:right;font-size:.85rem}
.cert{background:#FFFFFF;color:#0B1F1C;border:8px double #CFE0DA;border-radius:18px;padding:25px;text-align:center}
.cert h2{font: bold clamp(1.5rem,5vw,2.4rem) Georgia,serif;margin:10px}
.cert .certname{font-size:clamp(1.4rem,5vw,2rem);font-weight:900;color:#0F766E;border-bottom:1px solid #CFE0DA;display:inline-block;padding:8px 20px}
.cert .certscore{font-size:2.8rem;font-weight:950;color:#0F766E}
.cert p{color:#475569;line-height:1.5;font-size:.86rem}
.certrow{display:flex;justify-content:space-around;align-items:center;gap:14px;margin:16px}
.cert img{width:105px;height:105px}
.certfooter{border-top:1px solid #CFE0DA;padding-top:12px;font-weight:800;color:#0B1F1C}
.voice-row{
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}
.voice-btn-styled{
  background: #FFFFFF;
  color: #0B1F1C;
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 750;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.voice-btn-styled:hover{
  border-color: var(--a);
  color: var(--a);
  background: #FFFFFF;
  transform: translateY(-1px);
}
.voice-btn-styled.listening{
  background: #DC2626 !important;
  color: #FFFFFF !important;
  border-color: #DC2626 !important;
  box-shadow: 0 0 18px rgba(220,38,38,0.25);
  animation: micPulse 1.2s infinite;
}
@keyframes micPulse{
  0%, 100%{ transform: scale(1); }
  50%{ transform: scale(1.05); box-shadow: 0 0 24px rgba(220,38,38,0.25); }
}
.mic-svg-icon{
  flex-shrink: 0;
  transition: transform 0.2s;
}
.voice-btn-styled.listening .mic-svg-icon{
  stroke: #0B1F1C;
}
.error{color:#DC2626;min-height:1.3em;font-size:.85rem;margin-top:8px}

.journey{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin:22px 0;text-align:left}
.journey-step{background:linear-gradient(160deg,rgba(255,255,255,0.92),rgba(255,255,255,0.92));border:1px solid rgba(59,130,246,0.264);border-radius:18px;padding:16px 14px;min-height:142px;position:relative;transition:all .22s ease;box-shadow:0 8px 24px rgba(18,48,45,0.066)}
.journey-step:hover{transform:translateY(-3px);border-color:rgba(15,118,110,0.495);box-shadow:0 14px 32px rgba(18,48,45,0.102)}
.journey-step .num{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,var(--a),#3B82F6);color:#FFFFFF;font-weight:900;font-size:.88rem;margin-bottom:12px}
.journey-step h3{font-size:.94rem;margin:0 0 7px;color:#0B1F1C}
.journey-step p{font-size:.79rem;line-height:1.48;color:var(--muted);margin:0}
.journey-step.active{border-color:var(--a);background:linear-gradient(145deg,#E6F4F1,#FFFFFF);box-shadow:0 0 0 1px rgba(15,118,110,0.135)}
.journey-step.active .num{background:var(--a);color:#0B1F1C}
.journey-intro{color:var(--muted);line-height:1.55;margin:6px 0 14px}
.hero-journey{max-width:860px;margin:30px auto 0;text-align:center}
.hero-journey>h2{text-align:center;font-size:1.12rem;margin:0 0 5px;color:#0B1F1C}
.hero .hero-journey>.journey-intro{text-align:center;margin:10px auto 20px;font-size:clamp(1.18rem,2.8vw,1.65rem);font-weight:800;color:#0B1F1C;max-width:100%}
.hero-journey>.journey-step{min-height:130px}

/* ========================================================
   SITE FOOTER STYLING (COMPLETE & PROFESSIONAL)
   ======================================================== */
.site-footer{
  width:100%;
  background:linear-gradient(180deg,#FFFFFF 0%,#F6FAF8 100%);
  border-top:1px solid var(--line);
  padding:50px 18px 25px;
  color:var(--muted);
  font-size:0.88rem;
  margin-top:auto;
}
.footer-inner{
  max-width:1040px;
  margin:auto;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr;
  gap:32px;
  margin-bottom:38px;
}
.footer-col{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap:8px;
}
.logo-orb-sm{
  display:inline-grid;
  place-items:center;
  width:26px;
  height:26px;
  border-radius:8px;
  background:linear-gradient(135deg,var(--a),#3B82F6);
  color:#FFFFFF;
  font-weight:900;
  font-size:0.95rem;
}
.footer-brand-name{
  font-size:1.4rem;
  font-weight:900;
  color:var(--ink);
  letter-spacing:-0.5px;
}
.footer-brand-name span{color:var(--a)}
.footer-mission{
  line-height:1.6;
  margin:0;
  color:#334155;
  font-size:0.84rem;
}
.privacy-badge{
  display:inline-flex;
  align-items:center;
  gap:7px;
  background:#FFFFFF;
  border:1px solid var(--line);
  padding:6px 11px;
  border-radius:10px;
  color:var(--a);
  font-size:0.75rem;
  font-weight:600;
  width:fit-content;
  margin-top:4px;
}
.footer-heading{
  font-size:0.95rem;
  font-weight:800;
  color:var(--ink);
  margin:0 0 4px;
  letter-spacing:0.3px;
}
.footer-links{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:9px;
}
.footer-links li{
  color:#334155;
  font-size:0.82rem;
  line-height:1.45;
  transition:color 0.2s;
  cursor:default;
}
.footer-links li:hover{
  color:var(--a);
}
.org-card{
  background:#FFFFFF;
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
}
.org-name{
  color:var(--ink);
  font-weight:700;
  font-size:0.88rem;
  margin-bottom:6px;
}
.org-desc{
  font-size:0.78rem;
  line-height:1.5;
  margin:0 0 10px;
  color:var(--muted);
}
.org-contact{
  display:flex;
  align-items:center;
}
.live-pill{
  font-size:0.72rem;
  color:var(--a);
  font-weight:700;
  letter-spacing:0.4px;
}
.footer-divider{
  height:1px;
  background:linear-gradient(90deg,transparent,var(--line),transparent);
  margin-bottom:24px;
}
.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:14px;
  font-size:0.82rem;
  color:#2563EB;
}
.footer-quote{
  display:flex;
  align-items:center;
  gap:8px;
}
.heart-icon{
  color:var(--pink);
  font-size:1.1rem;
}
.footer-copy b{color:#334155}

/* Responsive Media Queries (Mobile, Tablet, Desktop) */
@media(max-width:992px){
  .wrap{padding:0 16px 36px}
  .footer-grid{grid-template-columns:repeat(2,1fr);gap:28px}
  .journey{grid-template-columns:repeat(2,1fr);gap:12px}
}

@media(max-width:768px){
  .top-header{padding:12px 14px}
  .brand-img-logo-main{height:42px;max-width:180px}
  .lang-select{font-size:0.82rem;padding:7px 4px 7px 0;max-width:145px}
  .hero{padding:26px 8px 18px}
  .hero h1{font-size:clamp(1.9rem,6.5vw,3.2rem)}
  .orb{width:82px;height:82px;font-size:2.4rem;margin:16px auto 4px}
  .card{border-radius:20px;padding:20px 16px}
  .fieldgrid,.resultgrid,.tips{grid-template-columns:1fr;gap:12px}
  .dimension{grid-template-columns:105px 1fr 32px;gap:8px}
  .dimension span{font-size:0.78rem}
  .actions{gap:10px}
  .actions button{flex:1 1 calc(50% - 10px);padding:12px 14px;font-size:0.88rem}
  .certrow{flex-direction:column;gap:16px}
  .cert{padding:18px 14px;border-width:5px}
  .cert img{width:88px;height:88px}
  .cert .certscore{font-size:2.2rem}
  .cert h2{font-size:1.45rem;margin:6px 0}
  .footer-grid{grid-template-columns:1fr;gap:24px}
  .footer-bottom{flex-direction:column;text-align:center;justify-content:center;gap:10px}
}

@media(max-width:580px){
  .top-header{padding:10px 12px}
  .brand-img-logo-main{height:36px;max-width:140px}
  .lang-selector-wrapper{padding:0 6px 0 8px;border-radius:10px}
  .lang-select{max-width:120px;font-size:0.78rem;padding:6px 2px 6px 0}
  .globe-icon{width:14px;height:14px;margin-right:4px}
  .hero{padding-top:18px}
  .hero h1{font-size:clamp(1.7rem,6.2vw,2.5rem);margin:8px 0}
  .hero p{font-size:0.88rem;margin:10px auto}
  .orb{width:70px;height:70px;font-size:2rem}
  .q{font-size:1.25rem;margin:12px 0 16px}
  .choices{grid-template-columns:repeat(3,1fr);gap:8px}
  .choice{padding:10px 4px;min-height:80px;border-radius:13px}
  .choice .face{font-size:1.35rem;margin-bottom:4px}
  .choice small{font-size:0.7rem;line-height:1.2}
  .journey{grid-template-columns:repeat(2,1fr);gap:10px}
  .journey-step{min-height:135px;padding:14px 12px}
  .journey-step h3{font-size:.9rem;line-height:1.25}
  .journey-step p{font-size:.76rem;line-height:1.4}
  .score{font-size:4.2rem}
  .actions button{flex:1 1 100%;text-align:center;justify-content:center}
  .voice-row{flex-direction:column;align-items:flex-start;gap:8px}
  .voice-btn-styled{width:100%;justify-content:center}
  .get-in-touch-trigger{bottom:16px;right:16px;padding:9px 15px;font-size:0.8rem}
  .git-modal-overlay{padding:12px}
  .git-card{padding:22px 18px;border-radius:20px}
  .git-title{font-size:1.2rem}
}

@media(max-width:380px){
  .choices{grid-template-columns:repeat(2,1fr);gap:7px}
  .brand-img-logo-main{height:32px;max-width:125px}
  .lang-select{max-width:105px;font-size:0.74rem}
  .card{padding:16px 12px;border-radius:16px}
  .dimension{grid-template-columns:85px 1fr 28px;gap:6px}
  .dimension span{font-size:0.72rem}
  .score{font-size:3.5rem}
}
@media print{
  body{background:#FFFFFF}
  .top-header,.hero,#quiz,#reflection,#openQuestion,#details,#result,.site-footer,.cert-actions{display:none!important}
  #certificate{display:block!important}
  .cert{min-height:95vh;display:flex;flex-direction:column;justify-content:center;border:8px double #CFE0DA;box-shadow:none}
}
/* ========================================================
   FLOATING GET IN TOUCH WIDGET
   ======================================================== */
.get-in-touch-trigger{
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, var(--a), #3B82F6);
  color: #FFFFFF;
  border: 0;
  border-radius: 50px;
  padding: 12px 20px;
  font-weight: 850;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(15,118,110,0.18);
  z-index: 999;
  transition: all 0.25s ease;
}
.get-in-touch-trigger:hover{
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(15,118,110,0.248);
}
.git-pulse{
  width: 8px;
  height: 8px;
  background: #FFFFFF;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

.git-modal-overlay{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18,48,45,0.45);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  place-items: center;
  padding: 18px;
}
.git-modal-overlay.active{
  display: grid;
}
.git-card{
  background: linear-gradient(145deg, #FFFFFF, #FFFFFF);
  border: 1px solid var(--line);
  border-radius: 24px;
  width: 100%;
  max-width: 440px;
  padding: 30px 26px;
  box-shadow: 0 25px 70px rgba(18,48,45,0.12);
  position: relative;
  animation: pop 0.25s ease;
}
.git-close{
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: #0B1F1C;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.git-header{
  margin-bottom: 20px;
}
.git-badge{
  display: inline-block;
  background: #FFFFFF;
  color: var(--a);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.git-title{
  font-size: 1.35rem;
  font-weight: 850;
  margin: 0 0 6px;
  color: #0B1F1C;
}
.git-subtitle{
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.git-form{
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.git-field label{
  display: block;
  font-size: 0.76rem;
  font-weight: 750;
  color: var(--muted);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.git-field input{
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 14px;
  color: #0B1F1C;
  font-size: 0.88rem;
  outline: none;
  transition: all 0.2s;
}
.git-field input:focus{
  border-color: var(--a);
  box-shadow: 0 0 0 3px rgba(15,118,110,0.068);
}
.git-alert{
  font-size: 0.82rem;
  padding: 9px 12px;
  border-radius: 10px;
  display: none;
  margin-top: 4px;
}
.git-alert.err{
  display: block;
  background: rgba(220,38,38,0.15);
  border: 1px solid rgba(220,38,38,0.44);
  color: #DC2626;
}
.git-alert.ok{
  display: block;
  background: rgba(15,118,110,0.15);
  border: 1px solid rgba(15,118,110,0.44);
  color: #0F766E;
}
.btn-git-submit{
  background: linear-gradient(100deg, var(--a), #3B82F6);
  color: #FFFFFF;
  border: 0;
  border-radius: 12px;
  padding: 13px;
  font-weight: 850;
  font-size: 0.92rem;
  cursor: pointer;
  margin-top: 6px;
  transition: all 0.2s;
  box-shadow: 0 6px 18px rgba(15,118,110,0.135);
}
.btn-git-submit:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,118,110,0.203);
}
@media(max-width:550px){
  .get-in-touch-trigger{
    bottom: 18px;
    right: 18px;
    padding: 10px 16px;
    font-size: 0.82rem;
  }
}

/* ========================================================
   SUPPORT HUB & AI COMPANION STYLES (MATCHING UI EXACTLY)
   ======================================================== */
.result-next-step-box {
  background: linear-gradient(145deg, #FFFFFF, #FFFFFF);
  border: 1px solid #DCE7E3;
  border-radius: 18px;
  padding: 22px 20px;
  margin: 22px 0 10px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(18,48,45,0.105);
}
.next-step-kicker {
  font-size: 1.15rem;
  font-weight: 850;
  color: #0B1F1C;
  margin-bottom: 8px;
}
.next-step-desc {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.55;
  margin: 0 0 16px;
}
.btn-support-hub-trigger {
  background: linear-gradient(100deg, var(--a), #3B82F6);
  color: #FFFFFF;
  border: 0;
  border-radius: 14px;
  padding: 13px 22px;
  font-weight: 850;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(15,118,110,0.158);
  transition: all 0.25s ease;
}
.btn-support-hub-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15,118,110,0.225);
}

/* HUB 4 GRID */
.hub-header {
  text-align: left;
  margin-bottom: 22px;
}
.hub-main-title {
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  font-weight: 850;
  margin: 0 0 8px;
  color: #0B1F1C;
}
.hub-subtitle {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.support-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 12px;
}
.hub-card {
  background: linear-gradient(145deg, #FFFFFF, #FFFFFF);
  border: 1px solid #DCE7E3;
  border-radius: 20px;
  padding: 24px 20px;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.hub-card:hover {
  transform: translateY(-4px);
  border-color: var(--a);
  box-shadow: 0 12px 35px rgba(18,48,45,0.12);
}
.hub-card-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.icon-ai { background: rgba(15,118,110,0.15); color: var(--a); }
.icon-online { background: rgba(59,130,246,0.15); color: #2563EB; }
.icon-clinic { background: rgba(15,118,110,0.15); color: #0F766E; }
.icon-emergency { background: rgba(220,38,38,0.15); color: #DC2626; }
.hub-pill {
  display: inline-block;
  align-self: flex-start;
  background: #FFFFFF;
  color: var(--a);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}
.pill-emergency {
  background: rgba(220,38,38,0.18);
  color: #DC2626;
}
.hub-card-title {
  font-size: 1.25rem;
  font-weight: 850;
  color: #0B1F1C;
  margin: 0 0 6px;
}
.hub-card-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 16px;
  flex: 1;
}
.hub-card-link {
  font-size: 0.92rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.text-ai { color: var(--a); }
.text-online { color: #2563EB; }
.text-clinic { color: #0F766E; }
.text-emergency { color: #DC2626; }
.card-emergency:hover {
  border-color: #DC2626;
}

/* AI CHAT INTERFACE */
.ai-chat-window {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 16px;
  height: 380px;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
  scroll-behavior: smooth;
}
.ai-msg {
  display: flex;
  max-width: 85%;
}
.ai-msg.bot {
  align-self: flex-start;
}
.ai-msg.user {
  align-self: flex-end;
}
.ai-msg-bubble {
  padding: 13px 18px;
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.55;
  word-break: break-word;
  white-space: pre-wrap;
}
.ai-msg.bot .ai-msg-bubble {
  background: #FFFFFF;
  color: #0B1F1C;
  border: 1px solid #DCE7E3;
  border-bottom-left-radius: 4px;
}
.ai-msg.user .ai-msg-bubble {
  background: linear-gradient(135deg, #E6F4F1, #E3EEEA);
  color: #0B1F1C;
  border: 1px solid var(--a);
  border-bottom-right-radius: 4px;
}
.ai-chat-input-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.ai-chat-input-bar input {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 16px;
  color: #0B1F1C;
  font-size: 0.92rem;
  outline: none;
  transition: all 0.2s;
}
.ai-chat-input-bar input:focus {
  border-color: var(--a);
  box-shadow: 0 0 0 3px rgba(15,118,110,0.068);
}
.btn-ai-send {
  background: linear-gradient(100deg, var(--a), #3B82F6);
  color: #FFFFFF;
  border: 0;
  border-radius: 14px;
  padding: 0 24px;
  font-weight: 850;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
}
.emergency-banner-alert {
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.385);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 0.82rem;
  color: #DC2626;
  line-height: 1.55;
  text-align: left;
}

/* EXPERT PROFILES & DIRECTORY */
.expert-filters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
  text-align: left;
}
.expert-filters-grid .field label {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 5px;
}
.expert-filters-grid select,
.expert-filters-grid input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  color: #0B1F1C;
  font-size: 0.84rem;
  outline: none;
}
.expert-card {
  background: linear-gradient(145deg, #FFFFFF, #FFFFFF);
  border: 1px solid #DCE7E3;
  border-radius: 18px;
  padding: 20px;
  text-align: left;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(18,48,45,0.075);
  transition: all 0.2s;
}
.expert-card:hover {
  border-color: #3B82F6;
}
.expert-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.expert-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.expert-name {
  font-size: 1.1rem;
  font-weight: 850;
  color: #0B1F1C;
  margin: 0;
}
.expert-badge-verified {
  background: #FFFFFF;
  color: var(--a);
  border-radius: 20px;
  padding: 3px 8px;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.5px;
}
.expert-role {
  font-size: 0.82rem;
  color: #334155;
  margin: 3px 0 6px;
}
.expert-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.expert-tags span {
  background: #FFFFFF;
  color: #2563EB;
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 0.72rem;
}
.expert-bio {
  font-size: 0.84rem;
  color: #334155;
  line-height: 1.5;
  margin: 0 0 14px;
}
.expert-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #DCE7E3;
  flex-wrap: wrap;
  gap: 10px;
}
.fee-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
}
.fee-amount {
  font-size: 1.05rem;
  font-weight: 850;
  color: #0B1F1C;
}
.btn-book-expert {
  background: linear-gradient(100deg, var(--a), #3B82F6);
  color: #FFFFFF;
  border: 0;
  border-radius: 12px;
  padding: 10px 18px;
  font-weight: 850;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-book-expert:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15,118,110,0.18);
}
.external-portals-box {
  background: #FFFFFF;
  border: 1px solid #DCE7E3;
  border-radius: 16px;
  padding: 16px;
  text-align: left;
  margin-top: 16px;
}
.ext-links-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.ext-links-row a {
  color: var(--a);
  font-weight: 750;
  font-size: 0.92rem;
  text-decoration: none;
}
.ext-links-row a:hover {
  text-decoration: underline;
}

/* CLINIC IN-PERSON STYLES */
.clinic-info-banner {
  background: linear-gradient(135deg, #FFFFFF, #FFFFFF);
  border: 1px solid #DCE7E3;
  border-radius: 18px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  text-align: left;
}
.btn-clinic-add {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--a);
  color: #0B1F1C;
  font-size: 1.8rem;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
}
.clinic-details-table {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.clinic-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  gap: 10px;
}
.cl-lbl { color: var(--muted); }
.cl-val { color: #0B1F1C; font-weight: 600; text-align: right; }
.notice-prototype-box {
  background: #FFFFFF;
  border: 1px solid #DCE7E3;
  border-radius: 14px;
  padding: 14px;
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.5;
  text-align: left;
  margin-top: 14px;
}

/* IMMEDIATE EMERGENCY STYLES */
.emergency-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.em-card {
  background: linear-gradient(145deg, #FFFFFF, #FFFFFF);
  border: 1px solid #DCE7E3;
  border-radius: 20px;
  padding: 24px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.em-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(220,38,38,0.15);
  color: #DC2626;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}
.btn-em-call {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: 14px;
  font-weight: 850;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  margin-top: auto;
}
.btn-call-red {
  background: #DC2626;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(220,38,38,0.158);
}
.btn-call-red:hover {
  background: #DC2626;
  transform: translateY(-2px);
}
.btn-call-green {
  background: var(--a);
  color: #0B1F1C;
  box-shadow: 0 6px 18px rgba(15,118,110,0.158);
}
.btn-call-green:hover {
  background: #0F766E;
  transform: translateY(-2px);
}
.safety-steps-box {
  background: #FFFFFF;
  border: 1px solid #DCE7E3;
  border-radius: 18px;
  padding: 20px;
  text-align: left;
}
.safety-list {
  margin: 0;
  padding-left: 20px;
  color: #2563EB;
  font-size: 0.88rem;
  line-height: 1.6;
}
.safety-list li {
  margin-bottom: 6px;
}

/* RESPONSIVE FOR NEW HUB SCREENS */
@media(max-width: 768px) {
  .support-grid-4,
  .emergency-cards-grid,
  .expert-filters-grid {
    grid-template-columns: 1fr;
  }
  .ai-chat-window {
    height: 320px;
  }
}

/* ========================================================
   ANIMATED READY-TO-VIEW RESULT SCREEN (#readyResult)
   ======================================================== */
.ready-card {
  text-align: center;
  padding: clamp(28px, 5vw, 48px) clamp(20px, 4vw, 36px);
}
.ready-orb-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 10px auto 24px;
  display: grid;
  place-items: center;
}
.ready-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 4px;
  background: conic-gradient(from 0deg, var(--a), var(--b), var(--pink), var(--a));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: readySpin 2.6s linear infinite;
}
.ready-orb-core {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(15,118,110,0.22), rgba(59,130,246,0.22));
  border: 1px solid rgba(15,118,110,0.55);
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  color: var(--a);
  box-shadow: 0 0 40px rgba(15,118,110,0.158);
  animation: readyPulse 2s ease-in-out infinite;
}
@keyframes readySpin {
  100% { transform: rotate(360deg); }
}
@keyframes readyPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 32px rgba(15,118,110,0.158); }
  50% { transform: scale(1.06); box-shadow: 0 0 54px rgba(59,130,246,0.248); }
}
.ready-progress-track {
  max-width: 340px;
  height: 8px;
  background: #FFFFFF;
  border-radius: 10px;
  margin: 18px auto 24px;
  overflow: hidden;
}
.ready-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--a), var(--b), var(--pink));
  border-radius: 10px;
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
#readyResult:not(.hide) .ready-progress-fill {
  width: 100%;
}
.btn-ready-glow {
  animation: readyBtnGlow 2.2s ease-in-out infinite;
}
@keyframes readyBtnGlow {
  0%, 100% { box-shadow: 0 8px 24px rgba(15,118,110,0.158); }
  50% { box-shadow: 0 12px 34px rgba(15,118,110,0.25); }
}

/* ========================================================
   4-OPTION RESULT CARDS + TIGHT SPACING + 14-DAY TRACKER
   ======================================================== */
.journey-action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 16px 0 4px;
}
.journey-action-card {
  background: linear-gradient(155deg, #FFFFFF, #FFFFFF);
  border: 1px solid #DCE7E3;
  border-radius: 16px;
  padding: 14px 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  transition: border-color 0.2s, transform 0.2s;
}
.journey-action-card:hover {
  border-color: var(--a);
  transform: translateY(-2px);
}
.journey-action-card.card-em {
  border-color: rgba(220,38,38,0.495);
  background: linear-gradient(155deg, #FFFFFF, #FFFFFF);
}
.journey-action-card.card-em:hover {
  border-color: #DC2626;
}
.journey-action-card h3 {
  font-size: 0.94rem;
  margin: 0 0 5px;
  color: #0B1F1C;
  line-height: 1.3;
}
.journey-action-card p {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
  margin: 0;
}
.btn-card-start {
  width: 100%;
  background: linear-gradient(100deg, var(--a), #3B82F6);
  color: #FFFFFF;
  border: 0;
  border-radius: 11px;
  padding: 9px 12px;
  font-weight: 850;
  font-size: 0.84rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-card-start:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15,118,110,0.158);
}
.btn-card-start.em-btn {
  background: linear-gradient(100deg, #DC2626, #EC4899);
  color: #FFFFFF;
}
.day-grid-14 {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin: 16px 0;
}
.day-pill-14 {
  background: #FFFFFF;
  border: 1px solid #DCE7E3;
  border-radius: 12px;
  padding: 9px 4px;
  text-align: center;
  font-size: 0.74rem;
  color: var(--muted);
}
.day-pill-14 b {
  display: block;
  font-size: 0.85rem;
  color: #0B1F1C;
  margin-bottom: 2px;
}
.day-pill-14.done {
  background: linear-gradient(145deg, #E6F4F1, #FFFFFF);
  border-color: var(--a);
  color: #0B1F1C;
}
.day-pill-14.done b { color: var(--a); }
.day-pill-14.today {
  border: 2px solid #3B82F6;
  box-shadow: 0 0 12px rgba(59,130,246,0.158);
}
@media(max-width: 600px) {
  .wrap { padding: 0 10px 32px !important; }
  .card { padding: 16px 12px !important; }
  .mini { padding: 14px 12px !important; }
  .journey-action-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .journey-action-card { padding: 11px 10px; }
  .journey-action-card h3 { font-size: 0.84rem; }
  .journey-action-card p { font-size: 0.73rem; }
  .day-grid-14 { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .expert-card, .clinic-card { flex-direction: column !important; align-items: stretch !important; gap: 12px !important; }
  .expert-card-btn, .clinic-btn-book { width: 100% !important; text-align: center !important; }
  .chat-msg-row { max-width: 95% !important; }
  .chat-input-bar { gap: 8px !important; padding: 8px 10px !important; }
  .chat-input-bar input { font-size: 0.9rem !important; }
}
@media(max-width: 390px) {
  .journey-action-grid { grid-template-columns: 1fr; }
}

/* HEADER LOGIN / PROFILE BUTTON + PROFILE DASHBOARD */
.hdr-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: #0B1F1C;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.hdr-auth-btn:hover {
  border-color: var(--a);
  color: var(--a);
}
.hdr-auth-btn.logged-in {
  background: linear-gradient(135deg, rgba(15,118,110,0.16), rgba(59,130,246,0.16));
  border-color: rgba(15,118,110,0.55);
  color: var(--a);
}
.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}
.p-stat-box {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
}
.p-stat-box b {
  display: block;
  font-size: 1.15rem;
  color: var(--a);
}
.p-stat-box span {
  font-size: 0.7rem;
  color: var(--muted);
}
.p-scores-list {
  max-height: 150px;
  overflow-y: auto;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 12px;
  margin-bottom: 12px;
  font-size: 0.82rem;
}
.p-score-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid rgba(18,48,45,0.2);
}
.p-score-row:last-child { border-bottom: 0; }
.btn-logout {
  background: rgba(220,38,38,0.14);
  border: 1px solid rgba(220,38,38,0.495);
  color: #DC2626;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
  transition: all 0.2s;
}
.btn-logout:hover {
  background: rgba(220,38,38,0.25);
}
@media(max-width: 580px) {
  .hdr-auth-btn { padding: 6px 9px; font-size: 0.76rem; border-radius: 10px; }
  .header-actions { gap: 7px; }
  .profile-stats-grid { gap: 6px; }
}

/* ===== Get In Touch modal v2 ===== */
.gi-overlay{background:rgba(255,255,255,0.92);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);padding:16px;overflow-y:auto}
.gi-overlay.active{display:grid;animation:giFade .25s ease}
.gi-card{position:relative;width:100%;max-width:560px;margin:auto;border-radius:26px;padding:1px;
  background:linear-gradient(140deg,rgba(15,118,110,0.55),rgba(59,130,246,0.35) 45%,rgba(236,72,153,0.45));
  box-shadow:0 30px 80px rgba(18,48,45,0.12),0 0 0 1px rgba(18,48,45,0.012);animation:giRise .35s cubic-bezier(.2,.9,.3,1.2)}
.gi-card>.gi-body,.gi-card>.gi-success{background:radial-gradient(120% 80% at 0% 0%,rgba(15,118,110,0.1),transparent 55%),
  radial-gradient(100% 80% at 100% 100%,rgba(59,130,246,0.036),transparent 55%),linear-gradient(160deg,#FFFFFF,#FFFFFF);
  border-radius:25px;padding:30px 30px 24px}
.gi-close{position:absolute;top:16px;right:16px;z-index:2;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;cursor:pointer;
  background:rgba(18,48,45,0.033);border:1px solid var(--line);color:#2563EB;transition:transform .2s,background .2s,color .2s}
.gi-close svg{width:18px;height:18px}
.gi-close:hover{background:rgba(220,38,38,0.18);color:#0B1F1C;transform:rotate(90deg)}
.gi-header{display:flex;align-items:center;gap:14px;margin-bottom:10px;padding-right:40px}
.gi-header-icon{flex:0 0 48px;height:48px;border-radius:14px;display:grid;place-items:center;color:#0B1F1C;
  background:linear-gradient(135deg,var(--a),var(--b));box-shadow:0 8px 22px rgba(15,118,110,0.135)}
.gi-header-icon svg{width:24px;height:24px}
.gi-badge{display:inline-flex;align-items:center;gap:6px;font-size:.68rem;font-weight:800;letter-spacing:1px;text-transform:uppercase;
  color:var(--a);background:rgba(15,118,110,0.1);border:1px solid rgba(15,118,110,0.275);padding:3px 10px;border-radius:999px;margin-bottom:6px}
.gi-dot{width:6px;height:6px;border-radius:50%;background:var(--a);box-shadow:0 0 0 0 rgba(15,118,110,0.25);animation:giPing 1.8s infinite}
.gi-title{margin:0;font-size:1.5rem;font-weight:850;line-height:1.2;color:#0B1F1C;letter-spacing:-.3px}
.gi-subtitle{margin:0 0 22px;color:var(--muted);font-size:.88rem;line-height:1.6}
.gi-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 14px}
.gi-field{min-width:0}
.gi-field--full{grid-column:1/-1}
.gi-field label{display:block;margin-bottom:7px;font-size:.74rem;font-weight:750;letter-spacing:.6px;text-transform:uppercase;color:#0B1F1C}
.gi-field label em{color:var(--pink);font-style:normal}
.gi-optional{text-transform:none;letter-spacing:0;font-weight:500;color:var(--muted)}
.gi-input{position:relative;display:flex;align-items:center;background:rgba(255,255,255,0.92);border:1.5px solid var(--line);border-radius:14px;
  transition:border-color .2s,box-shadow .2s,background .2s}
.gi-input>svg{position:absolute;left:14px;width:18px;height:18px;color:#2563EB;pointer-events:none;transition:color .2s}
.gi-input input,.gi-input textarea{width:100%;background:transparent;border:0;outline:none;color:#0B1F1C;font:inherit;font-size:.92rem;
  padding:13px 14px 13px 42px;border-radius:14px}
.gi-input textarea{padding:12px 14px;resize:vertical;min-height:84px;max-height:200px;line-height:1.5}
.gi-input input::placeholder,.gi-input textarea::placeholder{color:#475569}
.gi-input:hover{border-color:var(--line-light)}
.gi-input:focus-within{border-color:var(--a);background:rgba(255,255,255,0.92);box-shadow:0 0 0 4px rgba(15,118,110,0.063)}
.gi-input:focus-within>svg{color:var(--a)}
.gi-input--phone input{padding-left:12px}
.gi-prefix{flex:0 0 auto;padding:0 10px 0 14px;margin:10px 0;border-right:1px solid var(--line);color:#0B1F1C;font-weight:700;font-size:.9rem}
.gi-field.is-invalid .gi-input{border-color:#DC2626;box-shadow:0 0 0 4px rgba(220,38,38,0.054)}
.gi-field.is-invalid .gi-input>svg{color:#DC2626}
.gi-field.is-valid .gi-input{border-color:rgba(15,118,110,0.6)}
.gi-counter{text-align:right;font-size:.7rem;color:var(--muted);margin-top:5px}
.gi-alert{margin-top:16px}
.gi-alert.err,.gi-alert.ok{display:block}
.gi-submit{position:relative;width:100%;margin-top:18px;display:flex;align-items:center;justify-content:center;gap:10px;
  padding:15px 18px;border:0;border-radius:14px;cursor:pointer;font:inherit;font-weight:850;font-size:1rem;color:#0B1F1C;
  background:linear-gradient(100deg,var(--a),var(--b));background-size:160% 100%;background-position:0 0;
  box-shadow:0 10px 26px rgba(15,118,110,0.126);transition:transform .2s,box-shadow .2s,background-position .4s,opacity .2s}
.gi-submit svg{width:18px;height:18px;transition:transform .2s}
.gi-submit:hover{transform:translateY(-2px);background-position:100% 0;box-shadow:0 14px 32px rgba(15,118,110,0.18)}
.gi-submit:hover .gi-submit-arrow svg{transform:translateX(4px)}
.gi-submit:active{transform:translateY(0)}
.gi-submit:focus-visible{outline:3px solid rgba(59,130,246,0.6);outline-offset:3px}
.gi-submit-arrow{display:inline-flex}
.gi-spinner{display:none;width:18px;height:18px;border-radius:50%;border:2.5px solid rgba(18,48,45,0.2);border-top-color:#DCE7E3;animation:giSpin .7s linear infinite}
.gi-submit.is-loading{pointer-events:none;opacity:.85}
.gi-submit.is-loading .gi-spinner{display:inline-block}
.gi-submit.is-loading .gi-submit-arrow{display:none}
.gi-submit--ghost{background:rgba(18,48,45,0.033);color:#0B1F1C;border:1px solid var(--line);box-shadow:none}
.gi-submit--ghost:hover{background:rgba(18,48,45,0.055);box-shadow:none}
.gi-trust{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;margin-top:18px;padding-top:16px;border-top:1px dashed var(--line);
  font-size:.75rem;color:var(--muted)}
.gi-trust span{display:inline-flex;align-items:center;gap:6px}
.gi-trust svg{width:14px;height:14px;color:var(--a)}
.gi-trust a{color:var(--a);font-weight:800;text-decoration:none}
.gi-success{text-align:center;padding:44px 30px 30px!important}
.gi-success-icon{width:76px;height:76px;margin:0 auto 18px;border-radius:50%;display:grid;place-items:center;color:#0B1F1C;
  background:linear-gradient(135deg,var(--a),var(--b));box-shadow:0 0 0 10px rgba(15,118,110,0.045),0 14px 34px rgba(15,118,110,0.158);animation:giRise .45s cubic-bezier(.2,.9,.3,1.4)}
.gi-success-icon svg{width:36px;height:36px;stroke-width:3}
.gi-success h3{margin:0 0 8px;font-size:1.5rem;color:#0B1F1C}
.gi-success p{margin:0 auto;max-width:360px;color:var(--muted);font-size:.9rem;line-height:1.6}
body.gi-lock{overflow:hidden}
@keyframes giFade{from{opacity:0}to{opacity:1}}
@keyframes giRise{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}
@keyframes giSpin{to{transform:rotate(360deg)}}
@keyframes giPing{0%{box-shadow:0 0 0 0 rgba(15,118,110,0.25)}80%,100%{box-shadow:0 0 0 7px rgba(15,118,110,0)}}
@media(max-width:560px){
  .gi-overlay{padding:0;place-items:end center}
  .gi-card{max-width:none;border-radius:24px 24px 0 0;padding:1px 1px 0;animation:giSheet .35s cubic-bezier(.2,.9,.3,1)}
  .gi-card>.gi-body,.gi-card>.gi-success{border-radius:23px 23px 0 0;padding:24px 18px calc(20px + env(safe-area-inset-bottom));max-height:92vh;overflow-y:auto}
  .gi-grid{grid-template-columns:1fr;gap:14px}
  .gi-title{font-size:1.25rem}
  .gi-header-icon{flex-basis:42px;height:42px}
  .gi-input input,.gi-input textarea{font-size:16px}
}
@keyframes giSheet{from{transform:translateY(100%)}to{transform:none}}
@media(prefers-reduced-motion:reduce){.gi-card,.gi-overlay.active,.gi-success-icon,.gi-dot{animation:none}}

/* ===== Dynamic experts ===== */
.expert-empty{text-align:center;padding:34px 20px;margin-bottom:16px;border:1px dashed var(--line);border-radius:18px;background:rgba(18,48,45,0.03);color:var(--muted)}
.expert-empty-ico{width:56px;height:56px;margin:0 auto 12px;border-radius:16px;display:grid;place-items:center;font-size:1.6rem;background:rgba(15,118,110,0.1);border:1px solid rgba(15,118,110,0.275)}
.expert-empty b{display:block;color:#0B1F1C;font-size:1rem;margin-bottom:6px}
.expert-empty p{margin:0 auto;max-width:420px;font-size:.86rem;line-height:1.55}

/* ===== User profile v2 ===== */
.up-overlay{padding:16px;overflow-y:auto}
.up-overlay.active{display:grid;place-items:center}
.up-card{position:relative;width:100%;max-width:620px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);display:flex;flex-direction:column;overflow:hidden;
  border-radius:24px;border:1px solid rgba(15,118,110,0.242);color:var(--ink);
  background:radial-gradient(120% 70% at 0% 0%,rgba(15,118,110,0.1),transparent 55%),radial-gradient(100% 70% at 100% 0%,rgba(59,130,246,0.036),transparent 55%),linear-gradient(165deg,#FFFFFF,#FFFFFF);
  box-shadow:0 30px 80px rgba(18,48,45,0.12);animation:giRise .3s cubic-bezier(.2,.9,.3,1.15)}
.up-close{position:absolute;top:14px;right:14px;z-index:2;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;cursor:pointer;font-size:1.3rem;line-height:1;
  background:rgba(18,48,45,0.033);border:1px solid var(--line);color:#2563EB;transition:transform .2s,background .2s}
.up-close:hover{transform:rotate(90deg);background:rgba(220,38,38,0.2)}
.up-head{display:flex;align-items:center;gap:14px;padding:24px 60px 16px 24px}
.up-avatar{flex:0 0 58px;height:58px;border-radius:18px;display:grid;place-items:center;font-weight:900;font-size:1.25rem;color:#0B1F1C;background:linear-gradient(135deg,var(--a),var(--b));box-shadow:0 10px 24px rgba(15,118,110,0.113)}
.up-head-txt{min-width:0}
.up-badge{display:inline-block;font-size:.66rem;font-weight:800;letter-spacing:1px;color:var(--a);background:rgba(15,118,110,0.1);border:1px solid rgba(15,118,110,0.275);padding:3px 9px;border-radius:999px}
.up-name{margin:6px 0 2px;font-size:1.35rem;font-weight:850;color:#0B1F1C;line-height:1.2;overflow-wrap:anywhere;text-transform:capitalize}
.up-sub{margin:0;font-size:.78rem;color:var(--muted);overflow-wrap:anywhere}
.up-tabs{display:flex;gap:6px;padding:0 20px 12px;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--line)}
.up-tabs::-webkit-scrollbar{display:none}
.up-tab{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;border:1px solid transparent;background:transparent;color:var(--muted);font:inherit;font-size:.84rem;font-weight:750;cursor:pointer;transition:.2s}
.up-tab:hover{color:#0B1F1C;background:rgba(18,48,45,0.03)}
.up-tab.is-active{color:#0B1F1C;background:linear-gradient(100deg,var(--a),var(--b))}
.up-tab-n{min-width:20px;height:20px;padding:0 6px;border-radius:99px;display:inline-grid;place-items:center;font-size:.7rem;background:rgba(18,48,45,0.066)}
.up-tab.is-active .up-tab-n{background:rgba(18,48,45,0.05)}
.up-body{flex:1 1 auto;overflow-y:auto;padding:18px 20px 22px;overscroll-behavior:contain}
.up-pane{display:none}
.up-pane.is-active{display:block;animation:giFade .2s ease}
.up-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.up-stat{padding:14px 10px;text-align:center;border-radius:16px;background:rgba(255,255,255,0.92);border:1px solid var(--line)}
.up-stat b{display:block;font-size:1.3rem;color:var(--a);line-height:1.2}
.up-stat span{font-size:.72rem;color:var(--muted)}
.up-progress{height:8px;margin:12px 0 4px;border-radius:99px;background:rgba(18,48,45,0.039);overflow:hidden}
.up-progress-bar{height:100%;border-radius:99px;background:linear-gradient(90deg,var(--a),var(--b));transition:width .5s ease}
.up-section-title{margin:18px 0 8px;font-size:.74rem;font-weight:800;letter-spacing:.8px;text-transform:uppercase;color:#0B1F1C}
.up-list{border-radius:16px;background:rgba(18,48,45,0.06);border:1px solid var(--line);padding:4px 14px;max-height:220px;overflow-y:auto}
.up-list--cards{background:none;border:0;padding:0;max-height:none;display:flex;flex-direction:column;gap:10px}
.up-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid rgba(59,130,246,0.165);font-size:.86rem}
.up-row:last-child{border-bottom:0}
.up-row small{color:var(--muted);margin-left:6px}
.up-row b{color:var(--a)}
.up-row--activity{align-items:flex-start}
.up-row--activity span{min-width:0;line-height:1.5}
.up-row--activity small{flex:0 0 auto;white-space:nowrap}
.up-empty{padding:16px 6px;text-align:center;color:var(--muted);font-size:.85rem}
.up-list--cards .up-empty{border:1px dashed var(--line);border-radius:16px}
.up-item{padding:14px;border-radius:16px;background:rgba(255,255,255,0.92);border:1px solid var(--line)}
.up-item-top{display:flex;align-items:center;gap:12px}
.up-item-ico{flex:0 0 40px;height:40px;border-radius:12px;display:grid;place-items:center;font-size:1.15rem;background:rgba(59,130,246,0.12)}
.up-item-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
.up-item-main b{color:#0B1F1C;font-size:.92rem;text-transform:capitalize;overflow-wrap:anywhere}
.up-item-main span{color:var(--muted);font-size:.78rem}
.up-item-note{margin:10px 0 0;padding:10px 12px;border-radius:12px;background:rgba(18,48,45,0.03);border-left:3px solid var(--b);font-size:.84rem;color:#2563EB;line-height:1.5;overflow-wrap:anywhere}
.up-item-foot{margin-top:8px;font-size:.72rem;color:var(--muted)}
.up-st{flex:0 0 auto;display:inline-block;padding:3px 10px;border-radius:99px;font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.4px;border:1px solid}
.up-st--yellow{background:rgba(245,158,11,0.12);color:#A16207;border-color:rgba(245,158,11,0.385)}
.up-st--blue{background:rgba(59,130,246,0.12);color:#2563EB;border-color:rgba(59,130,246,0.385)}
.up-st--green{background:rgba(22,163,74,0.12);color:#15803D;border-color:rgba(22,163,74,0.385)}
.up-st--red{background:rgba(220,38,38,0.12);color:#DC2626;border-color:rgba(220,38,38,0.385)}
.up-link{flex:0 0 auto;color:var(--a);font-weight:800;font-size:.82rem;text-decoration:none}
.up-link:hover{text-decoration:underline}
.up-btn{width:100%;margin-top:16px;padding:13px 16px;border-radius:14px;font:inherit;font-weight:850;font-size:.92rem;cursor:pointer;transition:transform .2s,box-shadow .2s,background .2s}
.up-btn:hover{transform:translateY(-1px)}
.up-btn--primary{border:0;color:#0B1F1C;background:linear-gradient(100deg,var(--a),var(--b));box-shadow:0 10px 24px rgba(15,118,110,0.113)}
.up-btn--secondary{border:0;color:#0B1F1C;background:#FFFFFF}
.up-btn--ghost{background:transparent;color:var(--a);border:1.5px dashed rgba(15,118,110,0.495)}
.up-form{display:flex;flex-direction:column;gap:14px}
.up-field label{display:block;margin-bottom:6px;font-size:.74rem;font-weight:750;letter-spacing:.5px;text-transform:uppercase;color:#0B1F1C}
.up-field input{width:100%;padding:12px 14px;border-radius:12px;border:1.5px solid var(--line);background:rgba(255,255,255,0.92);color:#0B1F1C;font:inherit;font-size:.92rem;outline:none;transition:border-color .2s,box-shadow .2s}
.up-field input:focus{border-color:var(--a);box-shadow:0 0 0 4px rgba(15,118,110,0.063)}
.up-field small{display:block;margin-top:5px;font-size:.72rem;color:var(--muted)}
.up-form .up-btn{margin-top:2px}
@media(max-width:560px){
  .up-overlay{padding:0;place-items:end center}
  .up-overlay.active{place-items:end center}
  .up-card{max-width:none;max-height:94vh;max-height:94dvh;border-radius:22px 22px 0 0;animation:giSheet .3s cubic-bezier(.2,.9,.3,1)}
  .up-head{padding:20px 56px 14px 18px}
  .up-avatar{flex-basis:50px;height:50px;font-size:1.1rem}
  .up-name{font-size:1.15rem}
  .up-tabs{padding:0 14px 10px}
  .up-body{padding:16px 14px calc(18px + env(safe-area-inset-bottom))}
  .up-stats{gap:6px}
  .up-stat b{font-size:1.1rem}
  .up-row--activity{flex-direction:column;gap:2px}
  .up-field input{font-size:16px}
}


/* === Wide layout: less empty space on left & right (all pages) === */
.page-header,.header-container,.container,.wrap,.pro-dash-wrap,.footer-inner{max-width:1600px!important}
.wrap,.container{padding-left:20px!important;padding-right:20px!important}
.page-header{padding-left:20px!important;padding-right:20px!important}
@media(max-width:580px){
  .wrap,.container,.page-header{padding-left:12px!important;padding-right:12px!important}
}

/* ===== Mobile polish: compact floating contact button ===== */
@media (max-width: 640px){
  .get-in-touch-trigger{padding:0!important;width:52px!important;height:52px!important;border-radius:50%!important;justify-content:center!important;right:14px!important;bottom:16px!important}
  .get-in-touch-trigger span{display:none!important}
  .get-in-touch-trigger svg{margin:0!important}
}
