/* Responsive corrections layered onto the original PiTaksi theme. */
.mobile-drawer-backdrop,.mobile-drawer{display:none}
.footer-area.has-taxi-background{background-image:linear-gradient(rgba(18,18,18,.86),rgba(18,18,18,.94)),var(--footer-taxi-image);background-position:center 48%;background-size:cover}
.breadcrumb-picture{position:absolute;inset:0;display:block;z-index:-2}
.breadcrumb-bg-image{object-fit:cover;object-position:center 56%}

@media (min-width:992px){
  .mobile-menu-right,.mobile-drawer-backdrop,.mobile-drawer{display:none!important}
  .navbar-collapse#main_nav{display:flex!important}
  .mobile-contact-bar{display:none!important}
}

@media (max-width:991.98px){
  .mobile-menu-right{display:flex!important;margin-left:auto}
  .mobile-menu-toggle{display:grid!important;place-items:center;width:48px;height:48px;background:var(--theme-gradient);color:#fff;border:0;border-radius:15px;box-shadow:0 9px 22px rgba(255,179,0,.18)}
  .mobile-menu-toggle .navbar-toggler-mobile-icon{display:grid;place-items:center;width:100%;height:100%;font-size:22px;color:inherit}
  .mobile-menu-toggle svg,.mobile-drawer-close svg{display:block;flex:0 0 auto}
  .mobile-menu-toggle:focus-visible,.mobile-drawer-close:focus-visible,.mobile-drawer a:focus-visible,.mobile-contact-action:focus-visible{outline:3px solid var(--theme-color2);outline-offset:3px}
  .navbar-collapse#main_nav{display:none!important}

  .mobile-drawer-backdrop{display:block;position:fixed;inset:0;z-index:10020;background:rgba(18,18,18,.55);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);opacity:0;visibility:hidden;transition:opacity .28s ease,visibility .28s ease}
  .mobile-drawer{display:flex;position:fixed;top:0;right:0;z-index:10021;width:min(430px,100vw);height:100vh;height:100dvh;max-height:100dvh;flex-direction:column;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:calc(18px + env(safe-area-inset-top,0px)) 22px calc(18px + env(safe-area-inset-bottom,0px));background:#fff;color:var(--color-dark);box-shadow:-18px 0 48px rgba(18,18,18,.2);transform:translate3d(102%,0,0);visibility:hidden;transition:transform .32s cubic-bezier(.2,.8,.2,1),visibility .32s;isolation:isolate}
  .mobile-drawer::before{position:absolute;inset:0;z-index:-1;content:"";background:radial-gradient(ellipse at 100% 0%,rgba(255,179,0,.09),transparent 43%)}
  .mobile-drawer-open .mobile-drawer{transform:translate3d(0,0,0);visibility:visible}
  .mobile-drawer-open .mobile-drawer-backdrop{opacity:1;visibility:visible}
  .mobile-drawer-open{position:fixed;top:0;left:0;right:0;width:100%;overflow:hidden}
  .mobile-drawer-open .mobile-contact-bar{visibility:hidden!important;opacity:0!important;pointer-events:none!important}
  .mobile-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 0 18px;border-bottom:1px solid rgba(18,18,18,.1)}
  .mobile-drawer-brand{display:inline-flex!important}
  .mobile-drawer-close{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border:0;border-radius:15px;background:var(--theme-gradient);color:#fff;font-size:21px;transition:filter .18s ease,transform .18s ease}
  .mobile-drawer-close:hover{filter:brightness(.94);transform:rotate(4deg)}
  .mobile-drawer-links{display:grid!important;gap:6px;margin:22px 0 0;padding:0;list-style:none}
  .mobile-drawer-links .nav-link{min-height:51px;display:flex!important;align-items:center;gap:12px;padding:6px 12px!important;border:1px solid rgba(18,18,18,.07);border-radius:13px;background:rgba(255,255,255,.82);color:var(--color-dark)!important;text-decoration:none;font-size:14px;font-weight:700;transition:background-color .18s ease,border-color .18s ease,transform .18s ease,color .18s ease}
  .mobile-drawer-links .nav-link:hover,.mobile-drawer-links .nav-link.active{transform:translateX(-2px);border-color:rgba(255,179,0,.24);background:rgba(255,179,0,.08);color:var(--theme-color)!important}
  .mobile-nav-icon{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:11px;background:rgba(255,179,0,.1);color:var(--theme-color);font-size:16px}
  .mobile-drawer-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:auto;padding-top:20px}
  .mobile-drawer-cta{min-height:49px;display:flex;align-items:center;justify-content:center;gap:8px;padding:9px 11px;border:0;border-radius:14px;background:var(--theme-gradient);color:#fff;text-decoration:none;font-size:12px;font-weight:800;transition:filter .18s ease,transform .18s ease,box-shadow .18s ease}
  .mobile-drawer-cta:hover{filter:brightness(.95);transform:translateY(-2px);box-shadow:0 7px 18px rgba(18,18,18,.15);color:#fff}
  .mobile-drawer-whatsapp{background:#20b965}
  .mobile-drawer-actions>.mobile-drawer-cta:only-child{grid-column:1/-1}

  .mobile-contact-bar{display:block!important;position:fixed!important;left:9px!important;right:9px!important;bottom:max(8px,env(safe-area-inset-bottom,0px))!important;z-index:10000!important;width:auto!important;margin:0!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
  .mobile-contact-shell{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;padding:7px;border:1px solid rgba(255,255,255,.78);border-radius:20px;background:rgba(247,248,252,.8);box-shadow:0 8px 28px rgba(18,18,18,.18);-webkit-backdrop-filter:blur(16px) saturate(145%);backdrop-filter:blur(16px) saturate(145%)}
  .mobile-contact-action{min-width:0;min-height:58px;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;padding:6px 11px!important;border:1px solid transparent!important;border-radius:14px!important;color:#fff!important;text-decoration:none!important;transition:transform .16s ease,filter .16s ease,box-shadow .16s ease!important}
  .mobile-contact-phone{background:var(--theme-gradient)!important}
  .mobile-contact-whatsapp{background:linear-gradient(135deg,#169c55,#20c76a)!important}
  .mobile-contact-action:hover{filter:brightness(.94);transform:translateY(-2px);box-shadow:0 6px 15px rgba(18,18,18,.16)!important}
  .mobile-contact-action:active{filter:brightness(.88);transform:scale(.975)}
  .mobile-contact-action:focus-visible{outline:3px solid var(--theme-color2);outline-offset:3px}
  .mobile-contact-icon{width:37px;height:37px;flex:0 0 37px;display:grid!important;place-items:center;border:0!important;border-radius:11px;background:rgba(255,255,255,.17);color:#fff}
  .mobile-contact-icon i{margin:0!important;color:inherit!important;font-size:19px!important;line-height:1!important}
  .mobile-contact-icon svg{display:block;flex:0 0 auto}
  .mobile-contact-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start;text-align:left;white-space:nowrap}
  .mobile-contact-copy small{display:block;margin:0 0 3px;color:rgba(255,255,255,.78)!important;font-size:9px!important;font-weight:700!important;line-height:1!important}
  .mobile-contact-copy strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;color:#fff!important;font-size:12px!important;font-weight:800!important;line-height:1.15!important}
  .mobile-contact-shell>.mobile-contact-action:only-child{grid-column:1/-1}
  .footer-area.has-taxi-background{background-position:center 48%}
  .breadcrumb-bg-image{object-position:center 58%}
  html{scroll-padding-bottom:100px}
  body{padding-bottom:calc(82px + env(safe-area-inset-bottom,0px))!important}
  #scroll-top{bottom:104px!important}
}

@media (max-width:420px){
  .mobile-drawer{padding-left:16px;padding-right:16px}
  .mobile-drawer-links{gap:4px}
  .mobile-drawer-links .nav-link{min-height:47px}
  .mobile-contact-bar{left:6px!important;right:6px!important;bottom:max(5px,env(safe-area-inset-bottom,0px))!important}
  .mobile-contact-shell{gap:5px;padding:5px;border-radius:16px}
  .mobile-contact-action{min-height:54px;gap:6px!important;padding:5px 7px!important}
  .mobile-contact-icon{width:32px;height:32px;flex-basis:32px}
  .mobile-contact-copy small{font-size:8px!important}
  .mobile-contact-copy strong{font-size:10px!important}
}

@media (max-height:560px) and (max-width:991.98px){
  .mobile-drawer{padding-top:calc(9px + env(safe-area-inset-top,0px));padding-bottom:calc(9px + env(safe-area-inset-bottom,0px))}
  .mobile-drawer-head{padding-bottom:10px}
  .mobile-drawer-links{gap:3px;margin-top:11px}
  .mobile-drawer-links .nav-link{min-height:40px;padding-top:3px!important;padding-bottom:3px!important}
  .mobile-nav-icon{width:31px;height:31px;flex-basis:31px}
  .mobile-drawer-actions{padding-top:11px}
}

@media (prefers-reduced-motion:reduce){.mobile-drawer,.mobile-drawer-backdrop,.mobile-drawer-links .nav-link,.mobile-drawer-cta,.mobile-contact-action{transition:none!important}}

.header-top,.header-top a,.header-top span,.theme-btn,.mobile-menu-toggle,.mobile-drawer-close,.mobile-drawer-phone,.doctor-brand-mark{color:#121212}
.mobile-contact-phone,.mobile-contact-phone .mobile-contact-copy strong,.mobile-contact-phone .mobile-contact-copy small{color:#121212!important}
.hero-content .theme-btn2{background:#126c43;color:white}
.site-heading .site-title-tagline,.mobile-nav-icon{color:#815700}
.navbar-nav .nav-link.active{color:#785000}
.footer-area .footer-shape{display:none}
.footer-area .footer-admin-link i,.navbar-nav .nav-link>i{margin-inline-end:.35em}
@media(min-width:992px) and (max-width:1199px){#main_nav .nav-link{padding-inline:6px;font-size:14px}}

.site-heading .site-title-tagline{color:#353535;letter-spacing:.12em}
.site-heading .site-title-tagline::before{content:"";display:inline-block;position:static;width:1.3rem;height:3px;background:#ffc107;margin-right:.55rem;vertical-align:middle;transform:none}
.doctor-hero .hero-btn .theme-btn{display:inline-flex;align-items:center;justify-content:center;gap:.55em}
.hero-btn .theme-btn svg,.mobile-nav-icon svg,.mobile-drawer-cta svg{display:block;flex:none;width:1.15em;height:1.15em;margin:0;transform:none}
.home-contact-list .whatsapp-card .home-contact-list-icon{color:#117744}
@media(max-width:991.98px){
 .mobile-drawer {
   inset: 0 0 auto auto;
   box-sizing: border-box;
   width: min(370px, 86vw);
   height: 100vh;
   height: 100dvh;
   max-height: none;
   overflow-y: auto;
   border-radius: 0;
   padding: calc(16px + env(safe-area-inset-top, 0px)) calc(16px + env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) 16px;
 }
 .mobile-drawer>*{flex-shrink:0}
 .mobile-nav-icon{color:#262626;background:#fff1c8}
 .mobile-drawer .mobile-drawer-links{margin-top:14px}
}

#main_nav .nav-link > svg {
  width: 1em;
  height: 1em;
  vertical-align: -.13em;
  margin-inline-end: .35em;
}
#mobile-drawer .mobile-drawer-links .nav-link:is(:hover, :focus, :active, .active, [aria-current="page"]),
#mobile-drawer .mobile-drawer-links .nav-link:is(:hover, :focus, :active, .active, [aria-current="page"]) > span {
  color: #121212 !important;
}

/* Keep the label and its icon on the same contrast pair. */
.theme-btn:not(.theme-btn2):is(:hover, :focus-visible, :active),
.mobile-drawer-phone:is(:hover, :focus-visible, :active),
.mobile-contact-phone:is(:hover, :focus-visible, :active) {
  background: linear-gradient(105deg, #121212, #343434) !important;
  color: #ffd000 !important;
}
.theme-btn:not(.theme-btn2):is(:hover, :focus-visible, :active)::before {
  background: linear-gradient(105deg, #121212, #343434);
}
.theme-btn2:is(:hover, :focus-visible, :active) { color: #121212 !important; }
.doctor-hero .hero-btn .theme-btn2:is(:hover, :focus-visible, :active),
.doctor-hero .hero-btn .theme-btn2:is(:hover, :focus-visible, :active)::before {
  background: #087443;
  color: #fff !important;
}
.mobile-contact-phone .mobile-contact-icon,
.mobile-contact-phone .mobile-contact-icon svg { color: #121212 !important; }
.mobile-contact-phone:is(:hover, :focus-visible, :active) :is(.mobile-contact-icon, .mobile-contact-icon svg, .mobile-contact-copy small, .mobile-contact-copy strong) {
  color: #ffd000 !important;
}

.home-about-media.studio-taxi { min-height: 0; }
.home-about-media.studio-taxi > img { width: 100%; height: auto; object-fit: contain; border-radius: 0; box-shadow: none; }
.doctor-hero .hero-btn .theme-btn,
.mobile-contact-action,
.mobile-drawer-cta {
  transition: transform .2s ease, box-shadow .2s ease, color .2s ease !important;
}
.doctor-hero .hero-btn .theme-btn:is(:hover,:focus-visible),
.mobile-contact-action:is(:hover,:focus-visible),
.mobile-drawer-cta:is(:hover,:focus-visible) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(18,18,18,.19);
}
.doctor-hero .hero-btn .theme-btn2:is(:hover,:focus-visible,:active),
.doctor-hero .hero-btn .theme-btn2:is(:hover,:focus-visible,:active)::before,
.mobile-contact-whatsapp:is(:hover,:focus-visible,:active),
.mobile-drawer-whatsapp:is(:hover,:focus-visible,:active),
.home-contact-whatsapp:is(:hover,:focus-visible,:active),
.home-contact-list .whatsapp-card:is(:hover,:focus-visible,:active) {
  background: linear-gradient(105deg,#063c29,#087447) !important;
  color: white !important;
}
.whatsapp-card:is(:hover,:focus-visible,:active) :is(strong,small) { color:white !important; }
@media(prefers-reduced-motion:reduce) {
  .doctor-hero .hero-btn .theme-btn,.mobile-contact-action,.mobile-drawer-cta {
    transition:none !important; transform:none !important;
  }
}

.site-breadcrumb.breadcrumb-doctor::before {
  background: linear-gradient(100deg, rgba(0,0,0,.62), rgba(0,0,0,.72) 50%, rgba(0,0,0,.62));
  opacity: 1;
}
.site-breadcrumb .breadcrumb-content { color: white; text-shadow: 0 1px 3px rgba(0,0,0,.75); overflow-wrap: anywhere; }
.site-breadcrumb .breadcrumb-menu a:is(:hover,:focus-visible) { color: white; text-decoration: underline; }

.header-top .header-top-contact a,.header-top .header-top-social a {color:#121212}
.header-top .header-top-contact a i,.header-top .header-top-social a i {color:inherit}
.header-top .top-social-button {display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%}
.header-top .top-social-button:is(:hover,:focus-visible) {background:rgba(18,18,18,.1);color:#121212}
.home-about-section ~ .feature-area .specialty-more,
.feature-area .specialty-card-link .specialty-more {display:inline-flex;align-items:center;gap:.5em;padding:.42em .95em;border:1px solid #585858;border-radius:2em;color:#252525;background:transparent;transition:border-color .18s,color .18s,background-color .18s}
.feature-area .specialty-card-link:is(:hover,:focus-visible) .specialty-more {border-color:#ba8000;color:#624100;background:#fff9e8}
.feature-area .specialty-card-link .specialty-more i {color:inherit;margin:0}

.header-top .header-top-social {display:inline-flex;align-items:center;gap:2px}
.header-top .header-top-social a.top-social-button {margin:0;width:28px}
.header-top .header-top-contact ul {display:flex;align-items:center;flex-wrap:wrap;gap:6px 18px}
.header-top .header-top-contact li {margin:0}
.contact-content a.contact-card-link {display:block;height:100%;color:#121212}
.contact-content .contact-card-link .contact-info-icon i {color:#121212}
.contact-card-link:is(:hover,:focus-visible) h5 {text-decoration:underline}
