/* ────────────────────────────────────────────────────────────
   Doctor Cutters — Shared layout styles (header, footer, base)
   Used by every page via the shared header/footer.
   ──────────────────────────────────────────────────────────── */
:root{
  --purple-dark:#3a0e50;
  --purple:#5a1e6e;
  --purple-mid:#6e2a85;
  --purple-light:#8b3fa0;
  --purple-glow:#a855c7;
  --accent:#7c3aed;
  --bg-soft:#f8f4fc;
  --bg-hero:#faf7fd;
  --text-dark:#1a1225;
  --text-muted:#6b6479;
  --border-soft:#e8ddf0;
  --white:#fff;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{font-family:'Inter','Segoe UI',Arial,Helvetica,sans-serif;color:var(--text-dark);line-height:1.5;background:#fff;}
a{text-decoration:none;color:inherit;}
ul{list-style:none;}
img{max-width:100%;display:block;}
.container{max-width:1200px;margin:0 auto;padding:0 24px;}

/* ── Topbar ── */
.topbar{
  background:linear-gradient(90deg,var(--purple-dark) 0%,#2a083c 100%);
  color:#e0d0ee;
  font-size:12.5px;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(8px);
}
.topbar .container{display:flex;justify-content:space-between;align-items:center;}
.topbar .left{display:flex;gap:8px;align-items:center;font-weight:600;}
.topbar .right{display:flex;gap:28px;align-items:center;}
.topbar span{
  display:flex;align-items:center;gap:8px;white-space:nowrap;
  transition:color .25s,transform .25s ease;
}
.topbar span:hover{
  color:#fff;
  transform:translateX(2px);
}
.topbar svg{width:14px;height:14px;flex-shrink:0;}

/* ── Header ── */
header.main-header{
  padding:12px 0;
  border-bottom:1px solid var(--border-soft);
  background:var(--white);
  position:sticky;
  top:0;
  z-index:500;
  box-shadow:0 4px 20px rgba(90,30,110,.06);
  transition:all .3s cubic-bezier(.16,.84,.44,1);
}
header.main-header.scrolled{
  box-shadow:0 8px 32px rgba(90,30,110,.12);
  padding:8px 0;
}
header.main-header .container{display:flex;align-items:center;justify-content:space-between;gap:30px;}
.logo{
  display:flex;align-items:center;gap:12px;
  flex-shrink:0;
  transition:transform .25s ease;
}
.logo:hover{transform:scale(1.02);}
.logo img{width:auto;height:52px;object-fit:contain;flex-shrink:0;}
.logo svg{width:42px;height:42px;color:var(--purple);}
.logo .word b{font-size:20px;color:var(--purple);letter-spacing:-.5px;display:block;font-weight:800;}
.logo .word small{font-size:9.5px;color:var(--text-muted);letter-spacing:1px;text-transform:uppercase;font-weight:700;}

/* ── Navigation ── */
nav.mainnav ul{
  display:flex;
  gap:8px;
  align-items:center;
  font-size:14px;
  font-weight:600;
  color:#3a3a3a;
  flex:1;
  justify-content:center;
}
nav.mainnav li{position:relative;}
nav.mainnav li a{
  display:flex;
  align-items:center;
  gap:4px;
  transition:color .2s;
  padding:8px 16px;
  border-radius:6px;
  position:relative;
}
nav.mainnav li a::before{
  content:'';
  position:absolute;
  bottom:6px;
  left:16px;
  right:16px;
  height:3px;
  background:linear-gradient(90deg,var(--purple),var(--purple-glow));
  border-radius:3px;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .3s cubic-bezier(.2,.7,.3,1);
}
nav.mainnav li:hover a{color:var(--purple);}
nav.mainnav li:hover a::before{transform:scaleX(1);}
nav.mainnav li.active a{color:var(--purple);font-weight:700;}
nav.mainnav li.active a::before{transform:scaleX(1);}

/* ── Search Bar ── */
.search-bar{
  display:flex;
  align-items:center;
  gap:8px;
  background:var(--bg-soft);
  border:1px solid var(--border-soft);
  border-radius:10px;
  padding:8px 14px;
  flex-shrink:0;
  transition:all .3s ease;
  max-width:280px;
}
.search-bar:hover{
  border-color:var(--purple-light);
  background:#fff;
  box-shadow:0 4px 16px rgba(138,43,226,.12);
}
.search-bar:focus-within{
  border-color:var(--purple);
  background:#fff;
  box-shadow:0 4px 20px rgba(138,43,226,.16);
}
.search-bar input{
  border:none;
  background:transparent;
  font-size:13px;
  color:var(--text-dark);
  flex:1;
  outline:none;
  font-family:inherit;
}
.search-bar input::placeholder{color:var(--text-muted);}
.search-bar svg{width:18px;height:18px;color:var(--text-muted);flex-shrink:0;}

/* ── Search Icon Button (Mobile) ── */
.search-icon-btn{
  display:none;
  width:40px;
  height:40px;
  border:none;
  background:none;
  cursor:pointer;
  color:var(--text-dark);
  padding:4px;
  border-radius:8px;
  transition:all .3s ease;
  flex-shrink:0;
  align-items:center;
  justify-content:center;
}
.search-icon-btn:hover{
  color:var(--purple);
  background:var(--bg-soft);
  transform:scale(1.08);
}
.search-icon-btn svg{width:24px;height:24px;}

/* ── Header Actions ── */
.header-actions{
  display:flex;
  align-items:center;
  gap:16px;
  flex-shrink:0;
}
.icon-btn{
  width:24px;
  height:24px;
  color:var(--text-dark);
  cursor:pointer;
  position:relative;
  transition:all .3s ease;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  padding:6px;
}
.icon-btn:hover{
  color:var(--purple);
  background:var(--bg-soft);
  transform:scale(1.1);
}

/* ── Buttons ── */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 24px;
  border-radius:8px;
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  border:2px solid transparent;
  transition:all .3s cubic-bezier(.2,.7,.3,1);
  position:relative;
  overflow:hidden;
}
.btn::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(45deg,rgba(255,255,255,.3) 0%,transparent 50%,rgba(0,0,0,.1) 100%);
  transform:translateX(-100%);
  transition:transform .4s ease;
}
.btn:hover::before{transform:translateX(100%);}
.btn-primary{
  background:linear-gradient(135deg,var(--purple) 0%,var(--purple-light) 100%);
  color:#fff;
  border-color:var(--purple-light);
  box-shadow:0 6px 20px rgba(138,43,226,.3);
}
.btn-primary:hover{
  background:linear-gradient(135deg,var(--purple-dark) 0%,var(--purple) 100%);
  border-color:var(--purple-dark);
  transform:translateY(-2px);
  box-shadow:0 10px 30px rgba(138,43,226,.4);
}
.btn-primary:active{transform:translateY(0);}
.btn-outline{
  background:var(--white);
  color:var(--purple);
  border-color:var(--purple);
}
.btn-outline:hover{
  background:var(--bg-soft);
  border-color:var(--purple-light);
}

/* ── Mobile Menu ── */
.mobile-menu-btn{
  display:none;
  width:40px;
  height:40px;
  border:none;
  background:none;
  cursor:pointer;
  color:var(--purple);
  padding:4px;
  border-radius:8px;
  transition:all .3s ease;
  flex-shrink:0;
}
.mobile-menu-btn:hover{
  background:var(--bg-soft);
  color:var(--purple-dark);
  transform:scale(1.08);
}
.mobile-menu-btn svg{width:100%;height:100%;}
.mobile-overlay{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(20,5,30,.6);
  z-index:998;
  backdrop-filter:blur(4px);
  opacity:0;
  transition:opacity .3s cubic-bezier(.2,.7,.3,1);
}
.mobile-overlay.open{display:block;opacity:1;}
.mobile-drawer{
  display:block;
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  width:320px;
  background:#fff;
  z-index:999;
  padding:28px;
  box-shadow:-8px 0 32px rgba(0,0,0,.18);
  overflow-y:auto;
  transform:translateX(100%);
  transition:transform .4s cubic-bezier(.2,.7,.3,1);
}
.mobile-drawer.open{transform:translateX(0);}
.mobile-drawer .close-btn{
  width:36px;
  height:36px;
  border:none;
  background:var(--bg-soft);
  cursor:pointer;
  color:var(--text-dark);
  margin-bottom:24px;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all .2s;
}
.mobile-drawer .close-btn:hover{
  background:var(--border-soft);
  color:var(--purple);
}
.mobile-drawer nav ul{display:flex;flex-direction:column;gap:0;}
.mobile-drawer nav li{border-bottom:1px solid var(--border-soft);}
.mobile-drawer nav li a{
  display:block;
  padding:16px 0;
  font-size:15px;
  font-weight:600;
  color:var(--text-dark);
  transition:color .2s;
}
.mobile-drawer nav li:hover a{color:var(--purple);}
.mobile-drawer nav li.active a{
  color:var(--purple);
  font-weight:700;
}
.mobile-drawer .mobile-cta{margin-top:28px;}
.mobile-drawer .mobile-cta .btn{width:100%;justify-content:center;}

/* ── Footer (light background, dark text — reversed) ── */
footer{
  background:linear-gradient(180deg,#ffffff 0%,#f4ecfb 100%);
  color:#4a3560;
  font-size:13px;
  margin-top:0;
  border-top:1px solid rgba(120,40,150,.14);
  position:relative;
}
footer::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--purple-glow),transparent);
}
.footer-inner{display:flex;flex-direction:column;gap:40px;padding-top:56px;padding-bottom:20px;}
.footer-cols{
  display:grid;
  grid-template-columns:1.8fr 1fr 1fr 1fr;
  gap:50px;
  text-align:left;
}
.fcol h4{
  color:#5c1f80;
  font-size:14px;
  font-weight:800;
  letter-spacing:.8px;
  text-transform:uppercase;
  margin-bottom:18px;
  position:relative;
  padding-bottom:12px;
}
.fcol h4::after{
  content:'';
  position:absolute;
  left:0;
  bottom:0;
  width:40px;
  height:3px;
  border-radius:2px;
  background:linear-gradient(90deg,var(--purple-glow),transparent);
  transition:width .3s ease;
}
.fcol:hover h4::after{width:60px;}
.fcol p{color:#4a3560;font-size:13px;line-height:1.9;}
.fcol ul{display:flex;flex-direction:column;gap:12px;}
.fcol ul li a{
  color:#4a3560;
  transition:color .2s,padding-left .2s;
  position:relative;
  padding-left:0;
  display:inline-flex;
  align-items:center;
}
.fcol ul li a::before{
  content:'›';
  opacity:0;
  transform:translateX(-8px);
  transition:all .2s;
  margin-right:4px;
}
.fcol ul li a:hover{
  color:var(--purple-light);
  padding-left:8px;
}
.fcol ul li a:hover::before{opacity:1;transform:translateX(0);}
.fcol ul li{color:#4a3560;line-height:1.8;}
.fcol .footer-admin{font-weight:700;color:#7a2fa0;}
.fcol .footer-admin:hover{color:var(--purple-light);}
.flogo{margin-bottom:18px;}
.flogo img{width:auto;height:48px;object-fit:contain;}
.footer-bottom{
  border-top:1px solid rgba(120,40,150,.14);
  padding-top:24px;
  text-align:center;
  color:#4a3560;
  font-size:12.5px;
  transition:color .3s ease;
}
.footer-bottom a{
  color:#7a2fa0;
  text-decoration:underline;
  transition:color .2s;
}
.footer-bottom a:hover{
  color:var(--purple-light);
}

/* ── Footer Media & Certifications strip ── */
.footer-media{
  margin-bottom:18px;
  text-align:center;
  padding:16px 14px;
  border:1px dashed rgba(120,40,150,.22);
  border-radius:14px;
  background:rgba(255,255,255,.7);
}
.footer-media .fm-title{
  color:#5c1f80;
  font-size:12px;
  font-weight:800;
  letter-spacing:2px;
  text-transform:uppercase;
  margin-bottom:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
}
.footer-media .fm-title::before,
.footer-media .fm-title::after{
  content:'';
  height:1px;
  width:60px;
  background:linear-gradient(90deg,transparent,rgba(120,40,150,.3));
}
.footer-media .fm-title::after{
  background:linear-gradient(90deg,rgba(120,40,150,.3),transparent);
}
.footer-media img{
  display:block;
  margin:0 auto;
  max-width:100%;
  width:auto;
  max-height:200px;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 6px 20px rgba(120,40,150,.16));
}

/* ── WhatsApp floating button ── */
.whatsapp-float{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:950;
  width:56px;
  height:56px;
  border-radius:50%;
  background:#25D366;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 24px rgba(37,211,102,.45);
  transition:transform .25s ease,box-shadow .25s ease,background .25s ease;
}
.whatsapp-float::before{
  content:'';
  position:absolute;
  inset:0;
  border-radius:50%;
  background:rgba(37,211,102,.55);
  animation:waPulse 2s cubic-bezier(.2,.6,.3,1) infinite;
  z-index:-1;
}
@keyframes waPulse{
  0%{transform:scale(1);opacity:.8;}
  70%{transform:scale(1.6);opacity:0;}
  100%{transform:scale(1.6);opacity:0;}
}
.whatsapp-float:hover{
  transform:scale(1.1) translateY(-2px);
  background:#1eb857;
  box-shadow:0 12px 30px rgba(37,211,102,.6);
}
.whatsapp-float svg{width:30px;height:30px;flex-shrink:0;}

/* ── Hero load animation ── */
.hero-anim{opacity:0;transform:translateY(28px);animation:heroIn .9s cubic-bezier(.16,.84,.44,1) forwards;}
.hero-anim.n1{animation-delay:.05s;}
.hero-anim.n2{animation-delay:.18s;}
.hero-anim.n3{animation-delay:.3s;}
.hero-anim.n4{animation-delay:.42s;}
.hero-anim.n5{animation-delay:.6s;}
@keyframes heroIn{to{opacity:1;transform:none;}}

/* ── Scroll reveal ── */
.reveal{opacity:0;transform:translateY(34px);transition:opacity .7s cubic-bezier(.16,.84,.44,1),transform .7s cubic-bezier(.16,.84,.44,1);will-change:opacity,transform;}
.reveal.revealed{opacity:1;transform:none;}
.reveal-left{transform:translateX(-40px);}
.reveal-right{transform:translateX(40px);}
.reveal-zoom{transform:scale(.9);}
.reveal-left.revealed,.reveal-right.revealed,.reveal-zoom.revealed{transform:none;}
.delay-1{transition-delay:.08s;}
.delay-2{transition-delay:.16s;}
.delay-3{transition-delay:.24s;}
.delay-4{transition-delay:.32s;}
.delay-5{transition-delay:.4s;}
.delay-6{transition-delay:.48s;}

/* ── Responsive (shared) ── */
@media(max-width:1024px){
  nav.mainnav{display:none;}
  .mobile-menu-btn{display:flex;}
  .search-icon-btn{display:flex;}
  .search-bar{display:none;position:absolute;top:100%;left:0;right:0;max-width:none;background:#fff;border:1px solid var(--border-soft);border-top:none;border-radius:0 0 10px 10px;margin:0;z-index:1000;}
  .search-bar.active{display:flex;}
  .topbar .right span:not(:last-child){display:none;}
  .header-actions{gap:8px;}
  .header-actions .btn{display:none;}
  .footer-cols{grid-template-columns:repeat(2,1fr);gap:36px;}
}
@media(max-width:768px){
  header.main-header .container{gap:12px;}
  .footer-media img{max-height:150px;}
  .logo img{height:48px;}
  .logo .word b{font-size:18px;}
  .header-actions{gap:8px;}
  .header-actions .icon-btn{width:20px;height:20px;}
  .search-icon-btn{width:36px;height:36px;}
  .footer-cols{grid-template-columns:1fr;gap:28px;text-align:center;}
  .fcol h4::after{margin-left:auto;margin-right:auto;}
  .fcol ul li a::before{display:none;}
  .fcol ul li a:hover{padding-left:0;}
}
@media(max-width:640px){
  html,body{overflow-x:hidden;}
  .container{padding:0 16px;}
  .topbar{padding:8px 0;font-size:11px;}
  .topbar .right{gap:12px;}
  .topbar span{font-size:11px;}
  header.main-header{padding:10px 0;position:relative;}
  header.main-header .container{gap:8px;}
  .logo{gap:6px;}
  .logo img{height:44px;}
  .logo .word b{font-size:15px;}
  .logo .word small{font-size:8px;}
  .mobile-menu-btn{width:36px;height:36px;}
  .search-icon-btn{width:36px;height:36px;padding:6px;}
  .header-actions{gap:4px;}
  .header-actions .icon-btn{width:18px;height:18px;}
  .search-bar{padding:10px 14px;border-radius:8px;position:static;border:1px solid var(--border-soft);}
  .search-bar.active{width:calc(100% - 88px);}
  .search-bar input{font-size:12px;}
  .footer-inner{padding-top:40px;gap:28px;}
  .footer-bottom{line-height:1.8;font-size:11px;}
  .footer-media .fm-title{font-size:10px;letter-spacing:1.5px;flex-wrap:wrap;}
  .footer-media img{max-width:100%;max-height:110px;}
  .whatsapp-float{right:16px;bottom:16px;width:50px;height:50px;}
  .whatsapp-float svg{width:26px;height:26px;}
}
@media(max-width:400px){
  .logo .word small{display:none;}
  .logo img{height:40px;}
  .logo .word b{font-size:14px;}
  .mobile-drawer{width:280px;}
  .header-actions{gap:2px;}
}
