/* ==========================================================================
   MANIKTALIA ENT — BASE SITE STYLES (child theme)
   Only things Elementor Free can't set globally go here. All section styling
   lives in Elementor widget/container controls so it stays editor-editable.
   ========================================================================== */

/* Readable default body type if a page uses no Elementor heading widget. */
body { font-family: var(--mt-font-body); color: var(--mt-text); background: var(--mt-bg); }
h1,h2,h3,h4,h5,h6 { font-family: var(--mt-font-head); color: var(--mt-navy); }

/* Accessible focus ring across the site. */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, .elementor-button:focus-visible {
  outline: 3px solid rgba(0,168,204,.5); outline-offset: 2px; border-radius: 4px;
}

/* Keyboard-only skip link. Elementor canvas supplies no landmark of its own. */
.mt-skip{position:absolute;left:-9999px;top:0;z-index:100000;background:var(--mt-navy);color:#fff;padding:12px 18px;font-weight:700;border-radius:0 0 10px 0}
.mt-skip:focus{left:0}
main#mt-main{display:block}

/* Smooth anchor scroll for in-page sections. scroll-padding keeps the target
   clear of the 87px sticky header. */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce){ html { scroll-behavior: auto; } }

/* Floating WhatsApp + Call (desktop). Built with the free Elementor
   "Fixed" position on two Icon widgets, OR this helper if you place them via
   an HTML widget in the footer. z-index keeps them above content. */
.mt-fabs{position:fixed;right:20px;bottom:24px;z-index:190;display:grid;gap:12px}
.mt-fab{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;font-size:24px;color:#fff;box-shadow:var(--mt-shadow-lg);transition:transform .18s var(--mt-ease)}
.mt-fab:hover{transform:scale(1.08)}
.mt-fab--wa{background:var(--mt-emerald)} .mt-fab--call{background:var(--mt-navy)}
@media (max-width:767px){ .mt-fabs{display:none} }
/* Scroll-to-top (child theme, Appearance → Customize → Maniktalia Options). Starts hidden
   and is revealed by JS only, so a visitor without JS never sees a button that does nothing.
   Desktop sits above the 2-fab stack (24 + 56 + 12 + 56 = 148), mobile above the action bar. */
.mt-to-top{position:fixed;right:20px;bottom:160px;z-index:190;width:48px;height:48px;padding:0;border:0;border-radius:50%;cursor:pointer;background:var(--mt-navy);color:#fff;font-size:20px;font-weight:800;line-height:1;display:grid;place-items:center;box-shadow:var(--mt-shadow-lg);opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .2s var(--mt-ease),transform .2s var(--mt-ease),visibility 0s .2s}
.mt-to-top.is-visible{opacity:1;visibility:visible;transform:none;transition:opacity .2s var(--mt-ease),transform .2s var(--mt-ease)}
.mt-to-top:hover{background:#1A365D;transform:translateY(-3px)}
.mt-to-top:focus-visible{outline:3px solid var(--mt-cyan);outline-offset:3px}
@media (max-width:767px){ .mt-to-top{bottom:88px;width:44px;height:44px} }
@media (prefers-reduced-motion:reduce){ .mt-to-top{transition:none;transform:none} }

/* ---------- HERO: split copy column + full façade photo card ----------
   Layout, navy gradient, the photo frame (border, radius, glass gradient), the plate
   colours and every text colour live in the "MT Hero" container's Elementor controls.
   Only what Elementor Free cannot set goes here: backdrop blur, the photo-card width
   cap, the animated background washes, the keyframe motion, the gradient headline word
   and the button glow.
   Class names match mockups/assets/layout.css 1:1. */

/* Frosted glass — there is no editor control for backdrop-filter. The button
   classes sit on the widget wrapper, so button rules target the <a> inside. */
.mt-hero-chip, .mt-btn-glass .elementor-button {
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.mt-hero-chip { box-shadow: 0 14px 34px rgba(4,16,34,.30); }
.mt-btn-glass .elementor-button {
  border: 1px solid rgba(255,255,255,.28); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.mt-btn-glass .elementor-button:hover { background-color: rgba(255,255,255,.20); color: #fff; }

/* Photo card. The façade is 3:4 and is shown at natural aspect — never a cover crop —
   with the signage plate as the lower half of the same frame, so nothing overlaps the
   picture. Only the width cap is here; the frame and plate colours are Elementor
   controls (per-element CSS beats this file on specificity). */
.mt-hero__frame { box-shadow: 0 28px 70px rgba(4,16,34,.45); }
@media (max-width:1023px){
  /* Stacked layout: cap the portrait so it cannot dominate the fold. */
  .mt-hero__media { width:100%; max-width:400px; margin-inline:auto; }
}

/* ---------- Animated hero background ----------
   Elementor paints the static 135° navy gradient (a container control). The movement is
   two soft colour washes on pseudo-elements of the same .mt-hero container: no extra DOM
   the editor has to maintain, no filter:blur (a radial gradient is already feathered, so
   it composites cheaply), and the section's own overflow:hidden clips them. Only
   transform animates, so the H1 and the photo still paint in the very first frame —
   animating background-position or opacity would repaint/ramp the LCP element instead.
   .e-con is position:relative by default and ::before is only given a transition rule by
   Elementor (no content), so both pseudo-elements are free to use here. */
.mt-hero::before,
.mt-hero::after {
  content: ""; position: absolute; top: -22%; left: -12%; width: 72%; height: 150%;
  z-index: 0; pointer-events: none; border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0,168,204,.30) 0%, rgba(0,168,204,0) 70%);
  animation: mt-drift-a 22s ease-in-out infinite alternate;
}
.mt-hero::after {
  left: auto; right: -14%; width: 64%; height: 138%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(13,148,136,.30) 0%, rgba(13,148,136,0) 70%);
  animation: mt-drift-b 29s ease-in-out infinite alternate;
}
@keyframes mt-drift-a {
  from { transform: translate3d(0, -6%, 0) scale(1);    }
  to   { transform: translate3d(40%, 12%, 0) scale(1.32); }
}
@keyframes mt-drift-b {
  from { transform: translate3d(0, 10%, 0) scale(1.28);  }
  to   { transform: translate3d(-36%, -10%, 0) scale(1); }
}
/* Keep the real content above the washes: a positioned ::after with z-index:0 would
   otherwise paint over the columns that follow it in tree order. A boxed container
   holds its children inside .e-con-inner (which Elementor leaves position:static),
   so the lift has to go on that wrapper — the plain "> .e-con" form only matches
   when the container is set to full width. */
.mt-hero > .e-con,
.mt-hero > .e-con-inner { position: relative; z-index: 1; }

/* About page: elevation photo in a narrow track, hospital facts beside it.
   Only the stacked cap lives here — the 340px grid track is an Elementor control.
   Centre with justify-self, not margin-inline:auto: .e-con sets the margin longhands
   from its own CSS variables at the same specificity, so a margin rule loses. */
@media (max-width:1023px){
  .mt-about-frame { width:100%; max-width:340px; justify-self:center; }
}

/* Primary CTA lift + amber glow. */
.mt-btn-glow .elementor-button { box-shadow: 0 12px 30px rgba(217,119,6,.38); transition: transform .2s var(--mt-ease), box-shadow .2s var(--mt-ease); }
.mt-btn-glow .elementor-button:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(217,119,6,.48); }

/* "Live" dot in the hero pill. */
.mt-live-dot { box-shadow: 0 0 0 0 rgba(34,224,160,.6); animation: mt-pulse 2.2s ease-out infinite; }
@keyframes mt-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,224,160,.6); }
  70%  { box-shadow: 0 0 0 12px rgba(34,224,160,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,224,160,0); }
}

/* Animated gradient headline word; falls back to solid cyan where clip is unsupported. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .mt-hl { background-image: linear-gradient(90deg,#00A8CC,#5EEAD4,#22E0A0,#00A8CC); background-size: 260% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
    animation: mt-shimmer 8s linear infinite; }
}
@keyframes mt-shimmer { to { background-position: -260% 0; } }

/* Ambient float on the trust chips (staggered). */
.mt-hero-chip { animation: mt-float 6s ease-in-out infinite; }
.mt-hero-chip:nth-child(2) { animation-delay: 1.4s; }
.mt-hero-chip:nth-child(3) { animation-delay: 2.8s; }
@keyframes mt-float { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-9px); } }

/* Entrance. Deliberately CSS, not Elementor's "Entrance Animation": that feature
   paints the element hidden until its JS fires, which pushes the H1 (our LCP
   element) out of the first frame. The copy column and the photo column slide
   WITHOUT fading: on desktop the elevation is bigger than the headline, so it can
   itself become the LCP element, and an opacity ramp would delay its paint. */
.mt-hero__copy,
.mt-hero__media       { animation: mt-slide .8s cubic-bezier(.16,.84,.44,1) both; }
.mt-hero__media       { animation-delay: .12s; }
.mt-hero__chips       { animation: mt-rise .8s cubic-bezier(.16,.84,.44,1) both; }
.mt-hero__chips       { animation-delay: .3s; }
@keyframes mt-rise  { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes mt-slide { from { transform: translateY(22px); } to { transform: none; } }

@media (prefers-reduced-motion: reduce){
  .mt-hero__copy,.mt-hero__media,.mt-hero__chips,
  .mt-hero-chip,.mt-live-dot,.mt-hl { animation: none !important; }
  /* The washes stay — they are the hero's depth — they simply stop drifting. */
  .mt-hero::before,.mt-hero::after { animation: none !important; }
  .mt-hl { color: var(--mt-cyan); -webkit-text-fill-color: currentColor; }
}

/* Mobile sticky action bar (Call / WhatsApp / Email). Hide on desktop. */
.mt-mobilebar{display:none;position:fixed;left:0;right:0;bottom:0;z-index:200;background:#fff;border-top:1px solid var(--mt-border);box-shadow:0 -8px 24px rgba(15,44,89,.12)}
.mt-mobilebar a{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 6px;font-size:12px;font-weight:700;color:var(--mt-navy)}
.mt-mobilebar .is-cta{background:var(--mt-amber);color:#fff}
@media (max-width:767px){ .mt-mobilebar{display:flex} body{padding-bottom:72px} }

/* Responsive nav: the Elementor header holds logo / links / CTA / burger as
   widgets; below the tablet breakpoint the links collapse behind the burger. */
/* WordPress' global-styles link colour (#CC3366) would otherwise leak in; the
   mockup uses the body text colour with a teal hover. */
.mt-nav-menu a{color:var(--mt-text)}
.mt-nav-menu a:hover,.mt-nav-menu a:focus-visible{color:var(--mt-teal)}
.mt-nav-burger{display:none}
.mt-nav__burger{border:1px solid var(--mt-border);background:#fff;color:var(--mt-navy);
  width:44px;height:44px;border-radius:var(--mt-radius-inner);font-size:20px;line-height:1;cursor:pointer}
@media (max-width:991px){
  .mt-nav-menu{order:4;flex-basis:100%;display:none}
  .mt-nav-menu.is-open{display:block}
  .mt-nav-menu.is-open nav{flex-direction:column;gap:14px;padding:8px 0 4px}
  .mt-nav-burger{order:3;display:block}
}

/* Social tiles — top bar and footer. Each <a> carries --mt-social-brand (the
   platform's own colour) plus its size; the official glyph is the white mark on
   top, so the negative shapes (YouTube triangle, WhatsApp handset) read correctly. */
.mt-social__item{display:inline-flex;align-items:center;justify-content:center;
  background:var(--mt-social-brand);color:#fff;text-decoration:none;
  box-shadow:0 2px 6px rgba(11,33,69,.28);
  transition:transform .18s var(--mt-ease),box-shadow .18s var(--mt-ease),filter .18s ease}
.mt-social__item svg{display:block;flex:none}
.mt-social__item:hover,.mt-social__item:focus-visible{transform:translateY(-2px);filter:brightness(1.08);box-shadow:0 6px 16px rgba(11,33,69,.34)}
.mt-social__item:focus-visible{outline:2px solid var(--mt-cyan);outline-offset:2px}
@media (prefers-reduced-motion: reduce){ .mt-social__item{transition:none} .mt-social__item:hover{transform:none} }

/* ==========================================================================
   FOOTER — four columns + below-footer bar (mockups .mt-footer).
   Elementor puts .mt-footer on the grid container; the columns are inner
   containers. Links carry no inline colour so the hover state can work.
   ========================================================================== */
.mt-footer{color:#AFC1D9;font-size:14px}
.mt-footer a{color:#AFC1D9;text-decoration:none;transition:color .16s ease}
.mt-footer a:hover,.mt-footer a:focus-visible{color:var(--mt-cyan)}
.mt-footer__logo{display:block;font-family:var(--mt-font-head);font-weight:800;font-size:1.2rem;color:#fff;letter-spacing:-.01em}
.mt-footer__kicker{display:block;margin-top:4px;font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:#7F97B8}
.mt-footer__lede{margin:0;font-size:14px;line-height:1.75;color:#AFC1D9}
.mt-footer__list{list-style:none;margin:0;padding:0;display:grid;gap:10px;font-size:14px;line-height:1.6}
.mt-footer__hours{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.mt-footer__hours li{display:flex;justify-content:space-between;gap:14px;padding-bottom:7px;
  border-bottom:1px dashed rgba(255,255,255,.16);font-size:13px}
.mt-footer__hours li:last-child{border-bottom:0;padding-bottom:0}
.mt-footer__hours span{color:#7F97B8}
.mt-footer__hours strong{color:#fff;font-weight:700}
.mt-footer__bottom{border-top:1px solid rgba(255,255,255,.12);font-size:12.5px;line-height:1.65}
.mt-footer__legal{display:inline-flex;align-items:center;flex-wrap:wrap;gap:10px}

/* ==========================================================================
   SPECIALTY CARE DETAIL PAGES — article lists + consult rail.
   Same shapes mockups/service-detail.html uses; layout.css holds the mockup
   copy of these rules.
   ========================================================================== */
.elementor-widget-heading .mt-art-subhead{margin-top:26px;font-size:1.35rem;line-height:1.3}
.mt-checklist{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.mt-checklist li{position:relative;padding-left:30px;color:var(--mt-text-muted);line-height:1.55}
.mt-checklist li::before{content:"✓";position:absolute;left:0;top:1px;width:20px;height:20px;border-radius:50%;
  background:var(--mt-teal-soft);color:var(--mt-teal);font-weight:800;font-size:12px;display:grid;place-items:center}
/* Warning variant inside the amber "seek care sooner" box — a dot, not a tick. */
.mt-checklist--flat li{padding-left:18px}
.mt-checklist--flat li::before{content:"";top:8px;width:8px;height:8px;background:var(--mt-amber)}
.mt-steps{list-style:none;margin:0;padding:0;display:grid;gap:14px;counter-reset:mtstep}
.mt-steps li{position:relative;padding:16px 20px 16px 60px;background:#fff;border:1px solid var(--mt-border);
  border-radius:var(--mt-radius-inner);box-shadow:var(--mt-shadow-sm)}
.mt-steps li::before{counter-increment:mtstep;content:counter(mtstep);position:absolute;left:14px;top:50%;
  transform:translateY(-50%);width:34px;height:34px;border-radius:50%;background:var(--mt-cyan-soft);
  color:var(--mt-teal);font-weight:800;font-family:var(--mt-font-head);display:grid;place-items:center}
.mt-steps li strong{display:block;color:var(--mt-navy);margin-bottom:2px}
.mt-steps li span{color:var(--mt-text-muted);font-size:var(--mt-small)}
.e-con.mt-svc-side{position:sticky;top:96px}
.mt-sidecta .elementor-button{width:100%;justify-content:center}
@media (max-width:1023px){ .e-con.mt-svc-side{position:static} }

/* Specialist portrait: mockup .mt-split__photo crops the 800x874 photo to a 4:4.8
   frame. The radius is also set on the Elementor widget so editors see it in the panel. */
.mt-doctor-photo img{display:block;width:100%;height:auto;aspect-ratio:4/4.8;object-fit:cover;object-position:center;
  box-shadow:var(--mt-shadow-md)}

/* Facility cards: photo flush with the card's top edge, cropped to the mockup's 16:10 frame. */
.mt-facility-card{overflow:hidden}
.mt-facility-photo img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}

