:root{
  --teal:#0a8f86;--teal-d:#077a72;--blue:#123c8c;--navy:#0d3466;--foot:#0e3c6b;--foot-d:#0a2f56;
  --green:#2e8b2e;--ink:#22324a;--muted:#55657d;--pale:#eef6f8;--line:#dde6ee;
  --shadow:0 10px 30px rgba(13,52,102,.10);--radius:12px
}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);font:17px/1.6 'Lato',Arial,sans-serif;background:#fff}
h1,h2,h3{color:var(--navy);line-height:1.2;margin:.2em 0 .5em}
a{color:var(--blue)}img{max-width:100%;display:block}
.wrap{width:min(1300px,calc(100% - 40px));margin:auto}
.skip{position:absolute;left:-9999px}.skip:focus{left:10px;top:10px;background:#fff;padding:10px;z-index:99}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.ic{flex:none}

/* ================= HEADER ================= */
.site-header{background:#fff;position:relative;z-index:30}
.brandbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0}
.brand{display:flex;align-items:center;gap:14px;text-decoration:none}
.brand-text{display:flex;flex-direction:column;line-height:1.05}
.b-ta{font-family:'Noto Serif Tamil','Noto Sans Tamil',serif;font-weight:800;color:var(--blue);font-size:26px}
.b-en{font-family:'Libre Baskerville',Georgia,serif;font-weight:700;color:var(--blue);font-size:31px;letter-spacing:.01em;margin-top:2px}
.b-tag{color:var(--blue);font-size:15px;margin-top:5px}
.head-actions{display:flex;align-items:center;gap:14px}
.hbtn{display:inline-flex;align-items:center;gap:10px;padding:11px 18px;border-radius:6px;color:#fff;text-decoration:none;font-weight:700;font-size:16px;box-shadow:0 3px 8px rgba(0,0,0,.12)}
.hbtn.book{background:var(--blue)}.hbtn.book:hover{background:#0c2f72}
.hbtn.wa{background:var(--green)}.hbtn.wa:hover{background:#246f24}
.menu{display:none;background:none;border:1px solid var(--line);border-radius:8px;color:var(--navy);width:48px;height:48px;cursor:pointer;align-items:center;justify-content:center}

/* Language switch */
.lang-toggle{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:4px 12px;border-radius:999px;border:1px solid var(--line);color:var(--navy);text-decoration:none;font-weight:700;font-size:14px;background:#fff}
.lang-toggle:hover{border-color:var(--teal)}
.lang-toggle:focus-visible{outline:3px solid #9fd8d3;outline-offset:2px}
.lang-toggle .track{position:relative;width:44px;height:24px;border-radius:999px;background:#c9d4e2;transition:background .25s}
.lang-toggle .knob{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:transform .25s}
.lang-toggle .opt-en,.lang-toggle .opt-ta{opacity:.55}.lang-toggle .opt-ta{font-family:'Noto Sans Tamil',sans-serif}
html[lang=en] .lang-toggle .opt-en,html[lang=ta] .lang-toggle .opt-ta{opacity:1}
html[lang=ta] .lang-toggle .track{background:var(--teal)}html[lang=ta] .lang-toggle .knob{transform:translateX(20px)}

/* Main navigation */
.mainnav{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}
.navrow{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:58px}
.links{display:flex;align-items:stretch;justify-content:space-between;flex:1;max-width:1130px}
.links>a,.dd>button{display:flex;align-items:center;gap:6px;padding:0 14px;min-height:58px;color:var(--navy);text-decoration:none;font:500 16.5px 'Lato',sans-serif;border:0;background:none;border-bottom:3px solid transparent;cursor:pointer}
.links>a:hover,.dd>button:hover{color:var(--teal)}
.links>a[aria-current=page]{color:var(--teal);border-bottom-color:var(--teal);font-weight:700}
.dd{position:relative;display:flex}
.dd-menu{display:none;position:absolute;top:100%;left:0;min-width:250px;background:#fff;border:1px solid var(--line);border-radius:0 0 10px 10px;box-shadow:var(--shadow);padding:8px 0;z-index:40}
.dd:hover .dd-menu,.dd.open .dd-menu,.dd:focus-within .dd-menu{display:block}
.dd-menu a{display:block;padding:10px 18px;color:var(--navy);text-decoration:none}.dd-menu a:hover{background:var(--pale);color:var(--teal)}
.dd-menu .dd-all{border-top:1px solid var(--line);font-weight:700;color:var(--teal)}
.navphone{display:inline-flex;align-items:center;gap:10px;border:1.5px solid var(--teal);color:var(--teal);border-radius:6px;padding:7px 18px;font-weight:700;font-size:18px;text-decoration:none;white-space:nowrap}
.navphone:hover{background:var(--teal);color:#fff}

/* ================= HOME HERO ================= */
.hero2{position:relative;overflow:hidden;padding:34px 0 150px;
  background:
   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cg fill='none' stroke='%23b7d3e3' stroke-width='1' opacity='.4'%3E%3Cpath d='M30 2l28 16v32L30 66 2 50V18z'/%3E%3Cpath d='M90 54l28 16v32L90 118 62 102V70z'/%3E%3C/g%3E%3Cg fill='%2399c2d8' opacity='.6'%3E%3Ccircle cx='58' cy='18' r='2.5'/%3E%3Ccircle cx='62' cy='70' r='2.5'/%3E%3C/g%3E%3C/svg%3E") right top/240px auto repeat,
   linear-gradient(100deg,#f6fafd 0%,#eef5fa 45%,#e4eff7 100%)}
.hero2::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f6fafd 0%,rgba(246,250,253,.92) 38%,rgba(246,250,253,0) 70%);pointer-events:none}
.hero2-grid{position:relative;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:30px}
.hero2 h1{margin:0;font-family:'Libre Baskerville',Georgia,serif;line-height:1}
.h-leya{display:block;color:var(--teal);font-size:clamp(3.4rem,7.4vw,6.4rem);letter-spacing:.02em}
.h-poly{display:block;color:var(--blue);font-size:clamp(2.2rem,4.8vw,4.15rem);margin-top:.12em}
.h-tamil{font-family:'Noto Serif Tamil',serif;font-weight:800;color:var(--teal);font-size:1.6rem;margin:.4em 0 0}
.h-divider{display:flex;align-items:center;gap:14px;max-width:470px;margin:18px 0 22px}
.h-divider span{flex:1;height:2px;background:var(--teal)}
.h-tag{margin:0;color:var(--blue);font-size:clamp(1.4rem,2.4vw,1.9rem);line-height:1.3}

/* Hexagon icon cluster */
.hexes{position:relative;height:320px;max-width:300px;margin-left:auto;margin-right:60px;width:100%}
.hex{position:absolute;width:118px;height:104px;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);
  background:var(--teal);display:flex;align-items:center;justify-content:center}
.hex::before{content:"";position:absolute;inset:2px;clip-path:inherit;background:#f3f9fc}
.hex .ic{position:relative;color:var(--teal);stroke-width:1.5}
.hex.solid::before{background:#eaf4f9}.hex.solid .ic{color:var(--teal)}
.hexes .h1{left:0;top:0}
.hexes .h2{left:100px;top:52px;width:130px;height:114px}
.hexes .h3{left:0;top:110px}
.hexes .h4{left:100px;top:170px}
.hexes .h5{left:0;top:220px;opacity:.85}

/* Patient journey card */
.journey-wrap{position:relative;margin-top:-125px;z-index:2}
.journey{list-style:none;margin:0;padding:22px 24px;display:grid;grid-template-columns:repeat(5,1fr);gap:8px;background:#fff;border-radius:16px;box-shadow:var(--shadow);max-width:1280px}
.journey li{position:relative;text-align:center}
.journey li>a{display:flex;flex-direction:column;align-items:center;text-decoration:none;color:var(--ink);padding:4px 10px;border-radius:12px}
.journey li>a:hover .jcircle{border-color:var(--teal);transform:translateY(-3px)}
.jcircle{display:flex;align-items:center;justify-content:center;width:104px;height:104px;border-radius:50%;border:2px solid #b9dcd9;background:radial-gradient(circle at 35% 30%,#ffffff,#e7f4f6);color:var(--blue);transition:.2s;margin-bottom:10px}
.jcircle .ic{stroke-width:1.5}
.journey li:nth-child(2) .jcircle,.journey li:nth-child(5) .jcircle{color:var(--teal)}
.jtitle{color:var(--blue);font-weight:700;font-size:15.5px;letter-spacing:.02em;line-height:1.25}
.jdesc{margin-top:10px;font-size:14px;line-height:1.5;color:#2c3a4f;max-width:200px}
.jarrow{position:absolute;right:-17px;top:38px;color:var(--teal)}

/* Feature strip */
.features{display:grid;grid-template-columns:repeat(6,1fr);margin:16px auto 0;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 4px 14px rgba(13,52,102,.06);max-width:1280px}
.feat{display:flex;align-items:center;gap:14px;padding:14px 18px;border-right:1px solid var(--line);color:var(--blue)}
.feat:last-child{border-right:0}
.feat .ic{color:var(--blue);stroke-width:1.5}
.feat b{font-weight:700;color:var(--blue);font-size:14.5px;line-height:1.3}
.feat small{display:block;color:#3b4b62;font-size:12.5px;margin-top:6px}

/* ================= FOOTER ================= */
.site-footer{background:var(--foot);color:#fff;margin-top:26px}
.fgrid{display:grid;grid-template-columns:1.05fr 1fr 1.55fr .9fr;gap:30px;padding:14px 0 14px}
.fcol h2{color:#fff;font:700 15px 'Lato',sans-serif;margin:0 0 10px}
.fphone{display:inline-flex;align-items:center;gap:8px;background:var(--teal);color:#fff;padding:5px 14px;border-radius:4px;font-weight:700;text-decoration:none;font-size:14px;margin-bottom:8px}
.fline{display:flex;gap:8px;align-items:flex-start;margin:4px 0;font-size:13px;line-height:1.45}
.fline .ic{margin-top:2px}.fline a{color:#fff;text-decoration:none}
.timings{border-left:1px solid rgba(255,255,255,.25);padding-left:28px}
.trow{white-space:nowrap;display:grid;grid-template-columns:22px 70px 14px 1fr;align-items:center;gap:6px;margin:10px 0;font-size:14px}
.fbtns{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.sbtn{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border-radius:4px;color:#fff;text-decoration:none;font-size:12.5px;font-weight:700}
.sbtn.book{background:#173f8f}.sbtn.wa{background:var(--green)}
.fmap{border-radius:4px;overflow:hidden;background:#dfe6ea;min-height:150px}
.fmap iframe{width:100%;height:100%;min-height:150px;border:0;display:block}
.follow{padding-left:20px}
.socials{display:flex;gap:12px}
.soc{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#fff}
.soc.fb{color:#1877f2}.soc.ig{color:#d62976}.soc.yt{color:#e62117}
.fbottom{background:var(--foot-d);border-top:1px solid rgba(255,255,255,.18)}
.fbrow{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:56px;font-size:14px}
.motto{display:inline-flex;align-items:center;gap:12px;font-size:18px}
.motto b{font-weight:400}
.motto .emblem path{stroke:#cfe0ee}.motto .emblem path[fill]{fill:#cfe0ee}

/* ================= INNER PAGES ================= */
.pagehero{padding:56px 0 30px;background:linear-gradient(100deg,#f6fafd,#eaf3f9)}
.pagehero .wrap,.pagehero{}
.pagehero h1{font-family:'Libre Baskerville',Georgia,serif;font-size:clamp(2rem,4.5vw,3.2rem)}
.pagehero p{max-width:760px}
.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-weight:700;font-size:13px;color:var(--teal)}
.section{padding:56px 0}
.three,.cards,.activity-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.cards{grid-template-columns:repeat(2,1fr)}
.three article,.package,.activity,.location,form,.admin details{padding:26px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:var(--radius)}
.three span{color:var(--teal);font-weight:900}
.package{display:flex;flex-direction:column;justify-content:space-between;scroll-margin-top:20px}
.package:target{outline:3px solid var(--teal)}
.price{border-top:1px solid var(--line);padding-top:18px;margin-top:20px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}.price strong{font-size:2rem;color:var(--navy)}
.btn{display:inline-flex;min-height:50px;align-items:center;justify-content:center;text-align:center;padding:10px 22px;border-radius:7px;text-decoration:none;border:1.5px solid var(--blue);cursor:pointer;font:700 17px 'Lato',sans-serif}
.primary{background:var(--blue);color:#fff}.secondary{background:#fff;color:var(--blue)}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.promise-box{margin-top:26px;padding:22px;border-left:4px solid var(--teal);background:var(--pale);border-radius:8px}
details{border-top:1px solid var(--line);padding-top:14px;margin-top:14px}summary{font-weight:700;color:var(--navy);cursor:pointer}
.note{background:var(--pale);border-left:3px solid var(--teal);padding:15px;border-radius:4px}
.doctor{display:grid;grid-template-columns:.7fr 1.3fr;gap:50px}.doctor li{margin-bottom:8px}
.portrait{background:#fff;padding:14px;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:var(--radius);align-self:start}
.empty{text-align:center;background:var(--pale);padding:60px;border:1px dashed #9aaac0;border-radius:var(--radius)}
.gallery{columns:3 260px;column-gap:18px}.gallery figure{break-inside:avoid;margin:0 0 18px;border:1px solid var(--line);background:#fff;border-radius:8px;overflow:hidden}.gallery figcaption{padding:14px}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:34px}.location{margin-bottom:18px}.direct{display:grid;gap:10px;font-size:1.1rem}
form#enquiry{scroll-margin-top:20px}
label{display:grid;gap:6px;margin-bottom:15px;font-weight:700}label.check{display:flex;align-items:center}label.check input{width:auto}
input,select,textarea{width:100%;font:inherit;font-weight:400;padding:12px;border:1px solid #aab6c7;border-radius:6px}
input:focus,select:focus,textarea:focus{outline:3px solid #bfe3df;border-color:var(--teal)}
.trap{position:absolute;left:-9999px}
.alert{padding:12px 16px;margin-top:14px;border-radius:6px}.success{background:#e4f5f2}.error{background:#fff0f0}
.narrow{max-width:560px;margin:auto}
.admin details{margin-bottom:18px}.admin form{box-shadow:none;border:0;padding:12px 0 0}
.pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.admin-row{display:flex;justify-content:space-between;align-items:center;padding:10px;border-bottom:1px solid var(--line)}
.admin-row form{padding:0}.admin-row button{color:#a00;background:none;border:1px solid #a00;border-radius:5px;padding:6px 12px;cursor:pointer}
.mobilebar{display:none}

/* ================= TAMIL MODE ================= */
html[lang=ta] body{font-family:'Noto Sans Tamil','Lato',Arial,sans-serif;line-height:1.75}
html[lang=ta] .links>a,html[lang=ta] .dd>button{font-family:'Noto Sans Tamil',sans-serif;font-size:14.5px;padding:0 9px}
html[lang=ta] .hbtn{font-size:14.5px}
html[lang=ta] .b-tag{font-size:13px}
html[lang=ta] .h-tag{font-size:clamp(1.15rem,2vw,1.5rem);line-height:1.5}
html[lang=ta] .jtitle{font-size:14px;letter-spacing:0}
html[lang=ta] .jdesc{font-size:13.5px}
html[lang=ta] .feat b{font-size:13px}
html[lang=ta] .pagehero h1,html[lang=ta] h2,html[lang=ta] h3{font-family:'Noto Sans Tamil',serif;line-height:1.45}
html[lang=ta] .pagehero h1{font-size:clamp(1.7rem,3.8vw,2.7rem)}
html[lang=ta] .eyebrow{text-transform:none;letter-spacing:.02em;font-size:14px}
html[lang=ta] .trow{grid-template-columns:22px 120px 14px 1fr}

/* ================= RESPONSIVE ================= */
@media(max-width:1200px){
  .links>a,.dd>button{padding:0 9px;font-size:15.5px}
  html[lang=ta] .links>a,html[lang=ta] .dd>button{font-size:13px;padding:0 6px}
  .features{grid-template-columns:repeat(3,1fr)}.feat:nth-child(3){border-right:0}.feat:nth-child(-n+3){border-bottom:1px solid var(--line)}
  .fgrid{grid-template-columns:1fr 1fr}.fmap{order:4;grid-column:1/-1;min-height:220px}.fmap iframe{min-height:220px}.follow{padding-left:0}
}
@media(max-width:1020px){
  .hbtn span{display:none}.hbtn{padding:11px 13px}
  .menu{display:flex}
  .mainnav{display:none}.mainnav.open{display:block}
  .navrow{flex-direction:column;align-items:stretch;padding:8px 0 16px}
  .links{flex-direction:column}
  .links>a,.dd>button,html[lang=ta] .links>a,html[lang=ta] .dd>button{min-height:52px;padding:0 6px;font-size:18px;border-bottom:1px solid var(--line)}
  .links>a[aria-current=page]{border-bottom-color:var(--teal)}
  .dd{flex-direction:column}.dd-menu{position:static;box-shadow:none;border:0;padding-left:16px;display:none}
  .dd:hover .dd-menu{display:none}.dd.open .dd-menu{display:block}
  .navphone{justify-content:center;margin-top:14px}
  .hero2-grid{grid-template-columns:1fr}
  .hexes{display:none}
  .hero2{padding:36px 0 130px}
  .journey{grid-template-columns:repeat(3,1fr);row-gap:26px}
  .journey li:nth-child(3) .jarrow{display:none}
  .three,.activity-grid{grid-template-columns:1fr 1fr}.doctor,.contact-grid{grid-template-columns:1fr}
}
@media(max-width:680px){
  body{font-size:17px;padding-bottom:70px}
  .wrap{width:calc(100% - 28px)}
  .brandbar{padding:10px 0;gap:10px}
  .brand{gap:9px}.brand .emblem{width:44px;height:44px}
  .b-ta{font-size:17px}.b-en{font-size:19px}.b-tag{display:none}
  .head-actions .hbtn{display:none}
  .lang-toggle{padding:4px 8px;gap:6px;font-size:13px}.lang-toggle .track{width:38px;height:22px}.lang-toggle .knob{width:16px;height:16px}
  html[lang=ta] .lang-toggle .knob{transform:translateX(16px)}
  .hero2{padding:28px 0 110px}
  .h-leya{font-size:3.4rem}.h-poly{font-size:2.1rem}
  .h-divider{margin:14px 0 16px}
  .journey-wrap{margin-top:-90px}
  .journey{grid-template-columns:1fr;padding:10px 14px;gap:0}
  .journey li{border-bottom:1px solid var(--line)}.journey li:last-child{border-bottom:0}
  .journey li>a{display:grid;grid-template-columns:76px 1fr;grid-template-areas:"c t" "c d";column-gap:16px;text-align:left;align-items:center;padding:14px 0}
  .jcircle{grid-area:c;width:72px;height:72px;margin:0}.jcircle .ic{width:36px;height:36px}
  .jtitle{grid-area:t;font-size:15.5px}.jtitle br{display:none}
  .jdesc{grid-area:d;margin-top:2px;max-width:none;font-size:15px}
  .jarrow{display:none}
  .features{grid-template-columns:1fr 1fr}
  .feat{border-right:0!important;border-bottom:1px solid var(--line)}.feat:nth-child(odd){border-right:1px solid var(--line)!important}.feat:nth-last-child(-n+2){border-bottom:0}
  .feat{padding:14px 12px;gap:10px}.feat .ic{width:32px;height:32px}
  .fgrid{grid-template-columns:1fr;padding:22px 0}.timings{border-left:0;padding-left:0;border-top:1px solid rgba(255,255,255,.2);padding-top:14px}
  .fline{font-size:15px}.trow{font-size:15px}
  .fbrow{flex-direction:column;justify-content:center;text-align:center;padding:14px 0;gap:8px}
  .three,.cards,.activity-grid,.pair{grid-template-columns:1fr}
  .btn{width:100%}
  .pagehero{padding:34px 0 22px}.section{padding:36px 0}
  .mobilebar{display:grid;grid-template-columns:repeat(3,1fr);position:fixed;left:0;right:0;bottom:0;z-index:50;background:#fff;border-top:1px solid var(--line);box-shadow:0 -4px 14px rgba(0,0,0,.08)}
  .mobilebar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:62px;color:var(--blue);text-decoration:none;font-weight:700;font-size:14px}
  .mobilebar a.wa{background:var(--green);color:#fff}
  .mobilebar a:nth-child(2){background:var(--blue);color:#fff}
}

/* ===== KNOW YOUR DOCTOR (template layout) ===== */
.kyd-page{--teal:#0a9b8f;--kblue:#0b3a8c;background:#f6fafd;border-top:12px solid var(--teal);padding:36px 18px 50px}
.kyd-card{max-width:1180px;margin:auto;background:#fff;border:1px solid #dbe7f1;border-radius:22px;padding:26px;display:grid;grid-template-columns:300px 1fr;gap:26px}
.kyd-left{display:flex;flex-direction:column;gap:18px}
.kyd-photo{background:#eef5fa;border:1px solid #d6e6f0;border-radius:16px;padding:40px 12px;display:flex;align-items:center;justify-content:center;flex:1}
.kyd-photo img{width:100%;max-width:270px;border-radius:6px;object-fit:cover}
.kyd-id p{margin:0}
.kyd-id-name{color:var(--kblue);font-weight:700;letter-spacing:.02em}
.kyd-id-deg{color:var(--teal);font-weight:700;font-size:1.3rem;letter-spacing:.04em}
.kyd-id-role{color:#5d6b7c;font-size:.95rem}
.kyd-tag{background:#edf5fa;border-radius:12px;padding:16px 22px;color:var(--teal);font-weight:700;letter-spacing:.04em}
.kyd-name{font-family:Georgia,'Playfair Display',serif;color:var(--kblue);font-size:clamp(1.9rem,3.6vw,2.7rem);margin:22px 0 6px}
.kyd-exp{color:var(--teal);font-weight:700;font-size:1.15rem;letter-spacing:.03em;margin:0}
.kyd-tracks{margin:6px 0 0;color:#2b3a4f}
.kyd-tracks span:not(:last-child)::after{content:"  |  ";white-space:pre;color:#8a97a8}
.kyd-h2{font-family:'Source Sans 3',Arial,sans-serif;color:var(--kblue);font-size:1.3rem;margin:26px 0 8px}
.kyd-summary{margin:0;color:#2b3a4f}
.kyd-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}
.kyd-stat{background:#f4f9fc;border:1px solid #d6e6f0;border-radius:12px;padding:16px 18px;display:flex;align-items:center;gap:14px}
.kyd-stat strong{font-family:Georgia,serif;font-size:2.1rem;color:var(--kblue);line-height:1}
.kyd-stat span{font-weight:700;color:#1d2f4a}
.kyd-lead{list-style:none;padding:0;margin:0}
.kyd-lead li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 0 9px 32px;position:relative;border-bottom:1px solid #eef3f7}
.kyd-lead li::before{content:"";position:absolute;left:4px;width:16px;height:16px;border-radius:50%;background:var(--teal)}
.kyd-lead b{color:var(--kblue)}
.kyd-lead span{color:#5d6b7c;font-size:.95rem;text-align:right}
.kyd-areas{grid-column:1/-1;background:var(--kblue);color:#fff;border-radius:10px;padding:10px 20px;font-size:.98rem}
.kyd-areas b{margin-right:8px}
.kyd-areas span:not(:last-child)::after{content:"  •  ";white-space:pre}
.kyd-cta{max-width:1180px;margin:24px auto 0;display:flex;gap:12px;flex-wrap:wrap;justify-content:center}

/* Tablet */
@media(max-width:900px){
  .kyd-card{grid-template-columns:1fr}
  .kyd-left{flex-direction:row;align-items:center}
  .kyd-photo{flex:0 0 220px;padding:16px}
}
/* Mobile */
@media(max-width:600px){
  .kyd-page{padding:20px 10px 40px;border-top-width:8px}
  .kyd-card{padding:16px;border-radius:16px}
  .kyd-left{flex-direction:column;text-align:center}
  .kyd-photo{flex:none;width:100%;padding:16px}
  .kyd-stats{grid-template-columns:1fr}
  .kyd-stat{padding:12px 16px}
  .kyd-tracks span{display:block}
  .kyd-tracks span::after{content:""!important}
  .kyd-lead li{flex-direction:column;align-items:flex-start;gap:2px}
  .kyd-lead li::before{top:14px}
  .kyd-lead span{text-align:left}
  .kyd-areas span{display:inline-block}
}

/* ===== LOGO ===== */
.site-logo{width:72px;height:72px;object-fit:contain;flex-shrink:0;margin-right:10px}
.divider-logo{width:48px;height:48px;object-fit:contain;background:#fff;padding:4px}

@media(max-width:600px){
  .site-logo{width:52px;height:52px;margin-right:8px}
  .divider-logo{width:40px;height:40px}
}

/* ===== Mobile header: show only the selected language, smaller text ===== */
@media (max-width: 680px) {
  html[lang="en"] .b-ta { display: none; }
  html[lang="ta"] .b-en { display: none; }

  .brand { flex: 1; min-width: 0; gap: 8px; }
  .brand-text { min-width: 0; }
  .b-ta, .b-en { font-size: 14px; line-height: 1.25; margin: 0; }
  .b-en { letter-spacing: 0; }

  .brand .emblem, .brand img { width: 40px; height: 40px; }
  .brandbar { gap: 8px; }

  /* slightly smaller language switch so the name gets more room */
  .lang-toggle { padding: 4px 8px; gap: 5px; font-size: 12px; }
  .lang-toggle .track { width: 34px; height: 20px; }
  .lang-toggle .knob { width: 14px; height: 14px; top: 3px; left: 3px; }
  html[lang="ta"] .lang-toggle .knob { transform: translateX(14px); }
  .menu { width: 44px; height: 44px; }
}
/* =====================================================================
   COMPACT LAYOUT  (smaller text, tighter gaps - all screen sizes)
   To make it bigger/smaller, change only the two "zoom" numbers below.
   ===================================================================== */
html { zoom: 0.86; }                       /* desktop + tablet */
@media (max-width: 680px) { html { zoom: 0.85; } }   /* phones */

/* ---- tighter vertical gaps ---- */
.brandbar { padding-top: 8px; padding-bottom: 8px; }
.navrow { min-height: 50px; }
.links > a, .dd > button { min-height: 50px; }
.section { padding: 34px 0; }
.pagehero { padding: 32px 0 18px; }
.site-footer { margin-top: 18px; }

/* ---- smaller headings ---- */
.h-leya { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
.h-poly { font-size: clamp(1.6rem, 3.5vw, 3rem); }
.h-divider { margin: 12px 0 14px; }
.h-tag { font-size: clamp(1.1rem, 1.9vw, 1.5rem); }
.pagehero h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h2 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
h3 { font-size: 1.1rem; }

/* ---- smaller body text ---- */
body { font-size: 15.5px; line-height: 1.55; }
.jtitle { font-size: 14px; }
.jdesc { font-size: 13px; line-height: 1.45; }
.three article p, .package p, .activity p, .location p { font-size: 15px; }

/* ---- home page blocks ---- */
.hero2 { padding: 22px 0 112px; }
.hexes { transform: scale(.85); transform-origin: top right; }
.journey-wrap { margin-top: -92px; }
.journey { padding: 16px 18px; }
.jcircle { width: 84px; height: 84px; margin-bottom: 6px; }
.jcircle .ic { width: 42px; height: 42px; }
.jdesc { margin-top: 6px; }
.jarrow { top: 30px; }
.features { margin-top: 12px; }
.feat { padding: 10px 14px; gap: 10px; }
.feat .ic { width: 32px; height: 32px; }

/* ---- footer ---- */
.fgrid { padding: 12px 0; gap: 22px; }
.fbrow { min-height: 44px; }
.footer-logo { width: 72px; height: 72px; }

/* ---- cards / forms on inner pages ---- */
.three article, .package, .activity, .location, form, .admin details { padding: 18px; }
.btn { min-height: 42px; padding: 8px 18px; font-size: 15px; }
input, select, textarea { padding: 9px 10px; }
label { margin-bottom: 11px; }

/* ---- phones: extra tightening ---- */
@media (max-width: 680px) {
  body { font-size: 15px; padding-bottom: 60px; }
  .section { padding: 24px 0; }
  .pagehero { padding: 22px 0 12px; }
  .hero2 { padding: 18px 0 92px; }
  .h-leya { font-size: 2.7rem; }
  .h-poly { font-size: 1.6rem; }
  .journey-wrap { margin-top: -72px; }
  .journey li > a { padding: 10px 0; column-gap: 12px; grid-template-columns: 60px 1fr; }
  .jcircle { width: 58px; height: 58px; }
  .jcircle .ic { width: 28px; height: 28px; }
  .jtitle { font-size: 14px; }
  .jdesc { font-size: 13.5px; }
  .feat { padding: 10px; }
  .fgrid { padding: 16px 0; gap: 14px; }
  .mobilebar a { min-height: 52px; font-size: 13px; }
  .journey li > a { align-content: center; }
  .jtitle { align-self: end; }
  .jdesc { align-self: start; }
}

/* ---- Lab Tests page: stop sideways wobble on narrow phones ---- */
.lt-name, .lt-sel li span { overflow-wrap: anywhere; }
@media (max-width: 1000px) { .lt-grid { grid-template-columns: minmax(0, 1fr) !important; } }
@media (max-width: 680px) {
  .lt-row label { grid-template-columns: 28px minmax(0, 1fr) !important; }
  .lt-price { white-space: normal !important; }
}
